mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-7451] playwright eslint plugin introduced (#3746)
This commit is contained in:
@@ -135,7 +135,7 @@ test.describe('Favorites Files', () => {
|
||||
test('[C213230] Navigate into folder from Favorites', async ({ favoritePage }) => {
|
||||
await favoritePage.dataTable.performClickFolderOrFileToOpen(favFolderName);
|
||||
await favoritePage.dataTable.spinnerWaitForReload();
|
||||
expect(await favoritePage.breadcrumb.currentItem.innerText()).toBe(favFolderName);
|
||||
await expect(favoritePage.breadcrumb.currentItem).toHaveText(favFolderName);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -67,7 +67,7 @@ test.describe('Generic errors', () => {
|
||||
await actionUser.deleteNodeById(file1Id, false);
|
||||
await personalFiles.navigate({ remoteUrl: `#/personal-files/${file1Id}` });
|
||||
|
||||
expect(await personalFiles.errorDialog.genericError.isVisible(), 'Generic error page not displayed').toBe(true);
|
||||
await expect(personalFiles.errorDialog.genericError, 'Generic error page not displayed').toBeVisible();
|
||||
expect(await personalFiles.errorDialog.genericErrorTitle.innerText()).toContain(
|
||||
`This item no longer exists or you don't have permission to view it.`
|
||||
);
|
||||
@@ -84,7 +84,7 @@ test.describe('Generic errors', () => {
|
||||
);
|
||||
await personalFiles.navigate({ remoteUrl: `#/personal-files/${file2Id}` });
|
||||
|
||||
expect(await personalFiles.errorDialog.genericError.isVisible(), 'Generic error page not displayed').toBe(true);
|
||||
await expect(personalFiles.errorDialog.genericError, 'Generic error page not displayed').toBeVisible();
|
||||
expect(await personalFiles.errorDialog.genericErrorTitle.innerText()).toContain(
|
||||
`This item no longer exists or you don't have permission to view it.`
|
||||
);
|
||||
|
Reference in New Issue
Block a user