[AAE-1880] e2e document-list selection mode (#5518)

* [AAE-1880] e2e document-list selection mode, open file/folder

* resolved comments: backtick, refactoring names, using dropdownPage, removing comments, wrapping the API

* added a new try-catch for beforeAll, fixed the error message

* changed the name of a method from clickDropdownWithOption to selectDropdownOption

* changed the method name from clickDropdown... to selectDropdownOption

* added the variable type for some methods, delete the let list and refactor accordingly
This commit is contained in:
Alexandra Abrudan
2020-03-03 18:50:36 +00:00
committed by GitHub
parent 2b1a321baf
commit 24c728a8f5
9 changed files with 252 additions and 78 deletions

View File

@@ -99,7 +99,7 @@ describe('Viewer - properties', () => {
});
it('[C260079] Should Show/Hide download button when allowDownload is true/false', async () => {
await viewerPage.checkDownloadButtonDisplayed();
await viewerPage.checkDownloadButtonIsDisplayed();
await viewerPage.disableDownload();
await viewerPage.checkDownloadButtonIsNotDisplayed();
await viewerPage.enableDownload();