Skip to content

Commit

Permalink
fix fail test and exclude one test
Browse files Browse the repository at this point in the history
  • Loading branch information
akashrathod28 committed Oct 3, 2023
1 parent fd0e5f4 commit 20d0b2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion e2e/playwright/viewer/exclude.tests.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"C286379": "https://alfresco.atlassian.net/browse/ACS-5601"
}
2 changes: 0 additions & 2 deletions e2e/playwright/viewer/src/tests/viewer-action.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ test.describe('viewer action file', () => {
const download = await downloadPromise;
expect(download.suggestedFilename(), 'File should found in download location').toBe(fileForEditOffline);
expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is closed after pressing Full screen').toBe(true);
await personalFiles.reload({ waitUntil: 'domcontentloaded' });
await personalFiles.acaHeader.clickViewerMoreActions();
expect(await personalFiles.matMenu.isMenuItemVisible('Cancel Editing'), 'Cancel Editing menu should be visible').toBe(true);
});
Expand All @@ -112,7 +111,6 @@ test.describe('viewer action file', () => {
await personalFiles.viewer.waitForViewerToOpen();
await personalFiles.acaHeader.clickViewerMoreActions();
await personalFiles.matMenu.clickMenuItem('Cancel Editing');
await personalFiles.reload({ waitUntil: 'domcontentloaded' });
await personalFiles.acaHeader.clickViewerMoreActions();
expect(await personalFiles.matMenu.isMenuItemVisible('Edit Offline'), 'Edit offline menu should be visible').toBe(true);
});
Expand Down

0 comments on commit 20d0b2f

Please sign in to comment.