[ADF-4089] Refactoring ContentListPage (#4162)

* [ADF-NO-ISSUE] Refactoring ContentListPage

* Applying changes

* [ADF-4089] contentListPage refactoring

* Fixing missing dependencies

* Fixing core and search failing tests

* Fix tooltip document-list tests

* no message
This commit is contained in:
Marouan Bentaleb
2019-03-08 10:49:23 +00:00
committed by Eugenio Romano
parent 88ef01011e
commit 27c6e18a10
93 changed files with 3410 additions and 3841 deletions

View File

@@ -101,7 +101,7 @@ describe('Task Details - Form', () => {
});
it('[C280018] Should be able to change the form in a task', () => {
tasksListPage.getDataTable().selectRowByContentName(task.name);
tasksListPage.selectRow(task.name);
taskDetailsPage.checkEditFormButtonIsDisplayed();
taskDetailsPage.clickEditFormButton();
@@ -135,7 +135,7 @@ describe('Task Details - Form', () => {
});
it('[C280019] Should be able to remove the form form a task', () => {
tasksListPage.getDataTable().selectRowByContentName(task.name);
tasksListPage.selectRow(task.name);
taskDetailsPage.checkEditFormButtonIsDisplayed();
taskDetailsPage.clickEditFormButton();
@@ -149,14 +149,14 @@ describe('Task Details - Form', () => {
});
it('[C280557] Should display task details when selecting another task while the Attach Form dialog is displayed', () => {
tasksListPage.getDataTable().selectRowByContentName(task.name);
tasksListPage.selectRow(task.name);
taskDetailsPage.checkEditFormButtonIsDisplayed();
taskDetailsPage.clickEditFormButton();
taskDetailsPage.checkRemoveAttachFormIsDisplayed();
tasksListPage.getDataTable().selectRowByContentName(otherTask.name);
tasksListPage.selectRow(otherTask.name);
taskDetailsPage.checkFormIsAttached(otherAttachedForm.name);
});
});