E2E: try to fix one weird flaky test (#1401)

This commit is contained in:
Adina Parpalita
2020-04-07 01:53:44 -07:00
committed by GitHub
parent 5a88c8c852
commit 2816e5fe11
3 changed files with 28 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ describe('Viewer - password protected file', () => {
await dataTable.waitForHeader();
await dataTable.doubleClickOnRowByName(protectedFile.name);
await viewer.waitForViewerToOpen();
await page.waitForDialog();
await passwordDialog.waitForDialogToOpen();
});
afterEach(async () => {