disable w3c due getValue problem (#7067)

* [ci:force]disable w3c due getValue problem

* unify get Input value

* [ci:force]fix

* [ci:force] remove

* [ci:force]remove all getAttribute

* fix lint

* fix lint

* fix

* fix

* fix

* fix

* different fix try

* rewrite wait for for value

* fix lint

* remove e2e already covered by unit

* fix lint

* fix
This commit is contained in:
Eugenio Romano
2021-05-28 18:08:49 +01:00
committed by GitHub
parent 200cfb8dba
commit 9e0000a307
54 changed files with 34465 additions and 932 deletions

View File

@@ -170,7 +170,7 @@ describe('Delete Directive', () => {
await contentServicesPage.chooseSelectionMode('None');
await contentListPage.selectRow(txtFileModel.name);
await contentListPage.dataTable.checkRowIsNotSelected('Display name', txtFileModel.name);
await contentServicesPage.checkToolbarDeleteIsDisabled();
await expect(await contentServicesPage.checkToolbarDeleteIsDisabled()).toEqual(true);
await contentServicesPage.chooseSelectionMode('Single');
await contentListPage.selectRow(txtFileModel.name);
@@ -278,16 +278,16 @@ describe('Delete Directive', () => {
it('[C216426] Delete file without delete permissions', async () => {
await contentListPage.selectRowWithKeyboard(filePdf.entry.name);
await contentListPage.dataTable.checkRowIsSelected('Display name', filePdf.entry.name);
await contentServicesPage.checkToolbarDeleteIsDisabled();
await expect(await contentServicesPage.checkToolbarDeleteIsDisabled()).toEqual(true);
await contentListPage.selectRowWithKeyboard(folderB.entry.name);
await contentListPage.dataTable.checkRowIsSelected('Display name', folderB.entry.name);
await contentServicesPage.checkToolbarDeleteIsDisabled();
await expect(await contentServicesPage.checkToolbarDeleteIsDisabled()).toEqual(true);
await contentListPage.selectRowWithKeyboard(folderA.entry.name);
await contentListPage.dataTable.checkRowIsSelected('Display name', folderA.entry.name);
await contentServicesPage.checkToolbarDeleteIsDisabled();
await expect(await contentServicesPage.checkToolbarDeleteIsDisabled()).toEqual(true);
await contentListPage.selectRowWithKeyboard(fileTxt.entry.name);
await contentListPage.dataTable.checkRowIsSelected('Display name', fileTxt.entry.name);
await contentServicesPage.checkToolbarDeleteIsDisabled();
await expect(await contentServicesPage.checkToolbarDeleteIsDisabled()).toEqual(true);
});
});
});