[ACS-5761] Demo Shell Cleanup (part 2) (#8807)

cleanup demo shell
This commit is contained in:
Denys Vuika
2023-08-10 22:18:21 +01:00
committed by GitHub
parent ca60b392d4
commit f201efd56a
203 changed files with 1005 additions and 10703 deletions

View File

@@ -15,11 +15,10 @@
* limitations under the License.
*/
import { createApiService, FormPage, LoginPage, UsersActions, Widget } from '@alfresco/adf-testing';
import { createApiService, FormPage, LoginPage, UserModel, UsersActions, Widget } from '@alfresco/adf-testing';
import { NavigationBarPage } from '../../core/pages/navigation-bar.page';
describe('Form Component', () => {
const loginPage = new LoginPage();
const navigationBarPage = new NavigationBarPage();
const formPage = new FormPage();
@@ -28,7 +27,8 @@ describe('Form Component', () => {
const apiService = createApiService();
const usersActions = new UsersActions(apiService);
let tenantId; let user;
let tenantId: number;
let user: UserModel;
const fields = {
dateWidgetId: 'label7',
@@ -92,5 +92,5 @@ describe('Form Component', () => {
await formPage.checkErrorMessageForWidgetIsNotDisplayed(message.warningDate);
await formPage.checkErrorMessageIsNotDisplayed(message.errorLogDate);
await formPage.checkErrorLogMessage(message.errorLabel);
});
});
});