mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
enable prefer-const rule for tslint, fix issues (#4409)
* enable prefer-const rule for tslint, fix issues * Update content-node-selector.component.spec.ts * Update content-node-selector.component.spec.ts * fix const * fix lint issues * update tests * update tests * update tests * fix code * fix page class
This commit is contained in:
committed by
Eugenio Romano
parent
26c5982a1a
commit
a7a48e8b2b
@@ -33,17 +33,17 @@ import { by } from 'protractor';
|
||||
|
||||
describe('Attach Form Component', () => {
|
||||
|
||||
let loginPage = new LoginPage();
|
||||
let taskPage = new TasksPage();
|
||||
let attachFormPage = new AttachFormPage();
|
||||
let formFields = new FormFields();
|
||||
let navigationBarPage = new NavigationBarPage();
|
||||
const loginPage = new LoginPage();
|
||||
const taskPage = new TasksPage();
|
||||
const attachFormPage = new AttachFormPage();
|
||||
const formFields = new FormFields();
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
|
||||
let app = resources.Files.SIMPLE_APP_WITH_USER_FORM;
|
||||
let formTextField = app.form_fields.form_fieldId;
|
||||
const app = resources.Files.SIMPLE_APP_WITH_USER_FORM;
|
||||
const formTextField = app.form_fields.form_fieldId;
|
||||
let user, tenantId, appId;
|
||||
|
||||
let testNames = {
|
||||
const testNames = {
|
||||
taskName: 'Test Task',
|
||||
formTitle: 'Select Form To Attach',
|
||||
formName: 'Simple form',
|
||||
@@ -62,8 +62,8 @@ describe('Attach Form Component', () => {
|
||||
});
|
||||
|
||||
beforeEach(async (done) => {
|
||||
let users = new UsersActions();
|
||||
let appsActions = new AppsActions();
|
||||
const users = new UsersActions();
|
||||
const appsActions = new AppsActions();
|
||||
|
||||
await this.alfrescoJsApi.login(TestConfig.adf.adminEmail, TestConfig.adf.adminPassword);
|
||||
|
||||
@@ -73,7 +73,7 @@ describe('Attach Form Component', () => {
|
||||
|
||||
await this.alfrescoJsApi.login(user.email, user.password);
|
||||
|
||||
let appModel = await appsActions.importPublishDeployApp(this.alfrescoJsApi, app.file_location);
|
||||
const appModel = await appsActions.importPublishDeployApp(this.alfrescoJsApi, app.file_location);
|
||||
|
||||
appId = appModel.id;
|
||||
|
||||
|
Reference in New Issue
Block a user