mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +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
@@ -20,7 +20,7 @@ import { element, by } from 'protractor';
|
||||
import { DataTableComponentPage } from '../dataTableComponentPage';
|
||||
import { NavigationBarPage } from '../navigationBarPage';
|
||||
|
||||
let source = {
|
||||
const source = {
|
||||
favorites: 'Favorites',
|
||||
recent: 'Recent',
|
||||
sharedLinks: 'Shared Links',
|
||||
@@ -32,7 +32,7 @@ let source = {
|
||||
shared: 'Shared'
|
||||
};
|
||||
|
||||
let column = {
|
||||
const column = {
|
||||
status: 'Status'
|
||||
};
|
||||
|
||||
@@ -71,7 +71,7 @@ export class CustomSources {
|
||||
}
|
||||
|
||||
getStatusCell(rowName) {
|
||||
let cell = this.dataTable.getCellByRowAndColumn('Name', rowName, column.status);
|
||||
const cell = this.dataTable.getCellByRowAndColumn('Name', rowName, column.status);
|
||||
Util.waitUntilElementIsVisible(cell);
|
||||
return cell.getText();
|
||||
}
|
||||
|
Reference in New Issue
Block a user