mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-19 17:14:45 +00:00
fix toolbar test
This commit is contained in:
parent
f30bb86a6e
commit
1bf897639c
@ -260,7 +260,7 @@ describe('Toolbar actions - single selection : ', () => {
|
||||
.then(() => dataTable.waitForHeader())
|
||||
.then(() => dataTable.selectMultipleItems([ file1, file2 ]))
|
||||
.then(() => {
|
||||
expect(toolbar.actions.isButtonPresent('View')).toBe(false, `View is displayed for selected files`);
|
||||
expect(toolbar.actions.isButtonPresent('View')).toBe(true, `View is not displayed for selected files`);
|
||||
expect(toolbar.actions.isButtonPresent('Download')).toBe(true, `Download is not displayed for selected files`);
|
||||
expect(toolbar.actions.isButtonPresent('Edit')).toBe(false, `Edit is displayed for selected files`);
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user