mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-8561] [E2E] Merge-selectItem-and-selectMultiItem-into-one-method (#4011)
* [ACS-8561] [E2E] Merge-selectItem-and-selectMultiItem-into-one-method * [ACS-8561] method fixes 1 * [ACS-8561] review fixes 1
This commit is contained in:
@@ -115,7 +115,7 @@ test.describe('Info Drawer - Comments', () => {
|
||||
await fileActionsApi.waitForNodes(recentFile, { expect: 1 });
|
||||
await recentFilesPage.navigate();
|
||||
await expect(recentFilesPage.dataTable.getRowByName(recentFile)).toBeVisible();
|
||||
await recentFilesPage.dataTable.selectItem(recentFile);
|
||||
await recentFilesPage.dataTable.selectItems(recentFile);
|
||||
await recentFilesPage.acaHeader.viewDetails.click();
|
||||
await recentFilesPage.infoDrawer.commentsTab.click();
|
||||
await expect(recentFilesPage.infoDrawer.commentInputField).toBeVisible();
|
||||
|
@@ -66,13 +66,13 @@ test.describe('Info Drawer - General', () => {
|
||||
await Utils.reloadPageIfRowNotVisible(personalFiles, parentFolder);
|
||||
await expect(personalFiles.dataTable.getRowByName(parentFolder)).toBeVisible();
|
||||
await personalFiles.dataTable.performClickFolderOrFileToOpen(parentFolder);
|
||||
await personalFiles.dataTable.selectItem(file1);
|
||||
await personalFiles.dataTable.selectItems(file1);
|
||||
await personalFiles.acaHeader.viewDetails.click();
|
||||
await expect(personalFiles.infoDrawer.infoDrawerPanel).toBeVisible();
|
||||
|
||||
await personalFiles.reload({ waitUntil: 'load' });
|
||||
await expect(personalFiles.infoDrawer.infoDrawerPanel).toBeHidden();
|
||||
await personalFiles.dataTable.selectItem(file1);
|
||||
await personalFiles.dataTable.selectItems(file1);
|
||||
await personalFiles.acaHeader.viewDetails.click();
|
||||
await expect(personalFiles.infoDrawer.infoDrawerPanel).toBeVisible();
|
||||
|
||||
|
Reference in New Issue
Block a user