mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.42.1 (#3682)
* Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.42.1 Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.37.1 to 1.42.1. - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.37.1...v1.42.1) --- updated-dependencies: - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Playwright 1.42.1 upstream - fixed info-drawer tests * Playwright 1.42.1 upstream - fixed copy-move-actions tests * @datguychen Playwright 1.42.1 upstream - fixed library-actions tests * Playwright 1.42.1 upstream - SonarCloud fix 1 * Playwright 1.42.1 upstream - review fix 1 * Playwright 1.42.1 upstream - review fix 2 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: datguychen <adam.swiderski@hyland.com>
This commit is contained in:
co-authored by
datguychen
parent
5adaf35e79
commit
76f83da505
@@ -60,6 +60,7 @@ test.describe('Info Drawer - Comments', () => {
|
||||
await nodesApi.createFolder(personalFolderName);
|
||||
await fileActionsApi.waitForNodes(personalFolderName, { expect: 1 });
|
||||
await personalFiles.navigate();
|
||||
await Utils.reloadPageIfRowNotVisible(personalFiles, personalFolderName);
|
||||
await expect(personalFiles.dataTable.getRowByName(personalFolderName)).toBeVisible();
|
||||
await personalFiles.dataTable.getRowByName(personalFolderName).click();
|
||||
await personalFiles.acaHeader.viewDetails.click();
|
||||
|
||||
@@ -57,6 +57,7 @@ test.describe('Info Drawer - File Folder Properties', () => {
|
||||
await nodesApi.createFolder(defaultTabsFolderName);
|
||||
await fileActionsApi.waitForNodes(defaultTabsFolderName, { expect: 1 });
|
||||
await personalFiles.navigate();
|
||||
await Utils.reloadPageIfRowNotVisible(personalFiles, defaultTabsFolderName);
|
||||
await expect(personalFiles.dataTable.getRowByName(defaultTabsFolderName)).toBeVisible();
|
||||
await personalFiles.dataTable.getRowByName(defaultTabsFolderName).click();
|
||||
await personalFiles.acaHeader.viewDetails.click();
|
||||
@@ -72,6 +73,7 @@ test.describe('Info Drawer - File Folder Properties', () => {
|
||||
await nodesApi.createFolder(expandDetailsFolderName);
|
||||
await fileActionsApi.waitForNodes(expandDetailsFolderName, { expect: 1 });
|
||||
await personalFiles.navigate();
|
||||
await Utils.reloadPageIfRowNotVisible(personalFiles, expandDetailsFolderName);
|
||||
await expect(personalFiles.dataTable.getRowByName(expandDetailsFolderName)).toBeVisible();
|
||||
await personalFiles.dataTable.getRowByName(expandDetailsFolderName).click();
|
||||
await personalFiles.acaHeader.viewDetails.click();
|
||||
|
||||
@@ -70,6 +70,7 @@ test.describe('File preview', () => {
|
||||
await fileActionsApi.uploadFileWithRename(TEST_FILES.PDF.path, fileName, '-my-');
|
||||
await fileActionsApi.waitForNodes(fileName, { expect: 1 });
|
||||
await personalFiles.navigate();
|
||||
await Utils.reloadPageIfRowNotVisible(personalFiles, fileName);
|
||||
await personalFiles.dataTable.getRowByName(fileName).click();
|
||||
await personalFiles.acaHeader.viewButton.click();
|
||||
await checkFileContent(personalFiles.page, 1, 'This is a small demonstration');
|
||||
|
||||
@@ -63,6 +63,7 @@ test.describe('Info Drawer - General', () => {
|
||||
await nodesApi.createFolder(folder1, parentId);
|
||||
await fileActionsApi.waitForNodes(file1, { expect: 1 });
|
||||
await personalFiles.navigate();
|
||||
await Utils.reloadPageIfRowNotVisible(personalFiles, parentFolder);
|
||||
await expect(personalFiles.dataTable.getRowByName(parentFolder)).toBeVisible();
|
||||
await personalFiles.dataTable.performClickFolderOrFileToOpen(parentFolder);
|
||||
await personalFiles.dataTable.selectItem(file1);
|
||||
|
||||
@@ -182,6 +182,7 @@ test.describe('Library properties', () => {
|
||||
});
|
||||
|
||||
test('[C289343] Site description too long', async ({ myLibrariesPage }) => {
|
||||
await Utils.reloadPageIfRowNotVisible(myLibrariesPage, site.name);
|
||||
await myLibrariesPage.dataTable.getRowByName(site.name).click();
|
||||
await myLibrariesPage.acaHeader.viewDetails.click();
|
||||
await expect(myLibrariesPage.libraryDetails.infoDrawerPanel).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user