Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACS-9297] [ACA] [E2E] Update test IDs to match the XRAY test cases IDs #4429

Draft
wants to merge 14 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/playwright/authentication/exclude.tests.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"C213097" : "https://hyland.atlassian.net/browse/ACS-5479"
"XAT-4370" : "https://hyland.atlassian.net/browse/ACS-5479"
}
8 changes: 4 additions & 4 deletions e2e/playwright/authentication/src/tests/login.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ test.describe('viewer file', () => {
});

test.describe('general tests', () => {
test('[C213089] login page layout', async ({ loginPage }) => {
test('[XAT-4366] login page layout', async ({ loginPage }) => {
await loginPage.navigate();
await expect(loginPage.username, 'username input is not enabled').toBeEnabled();
await expect(loginPage.password, 'password input is not enabled').toBeEnabled();
Expand All @@ -72,14 +72,14 @@ test.describe('viewer file', () => {
});

test.describe('with invalid credentials', () => {
test('[C213106] unauthenticated user is redirected to Login page', async ({ personalFiles }) => {
test('[XAT-4378] unauthenticated user is redirected to Login page', async ({ personalFiles }) => {
await personalFiles.navigate();
expect(personalFiles.page.url()).toContain('login');
});
});

test.describe('with valid credentials', () => {
test('[C213097] logs in with user with non-latin characters', async ({ loginPage }) => {
test('[XAT-4370] Login with a user that contains non-Latin characters in username or password', async ({ loginPage }) => {
await loginPage.navigate();
await loginPage.loginUser({ username: otherLanguageUser.username, password: otherLanguageUser.password });
expect(loginPage.page.url()).toContain('personal-files');
Expand All @@ -95,7 +95,7 @@ test.describe('viewer file', () => {
expect(loginPage.page.url()).toContain('personal-files');
});

test('[C213104] user is able to login after changing his password', async ({ loginPage }) => {
test('[XAT-4372] Login with a user that has changed its password', async ({ loginPage }) => {
await apiClientFactory.changePassword(testUser2.username, newPassword);
await loginPage.navigate();
await loginPage.loginUser({ username: testUser2.username, password: newPassword });
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright/authentication/src/tests/logout.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test.describe('viewer file', () => {
await apiClientFactory.createUser(testUser);
});

test('[C213145] redirects to Login page when pressing browser Back after logout', async ({ loginPage }) => {
test('[XAT-4382] User is not signed back in when pressing browser Back button after sign out', async ({ loginPage }) => {
await loginPage.navigate();
await loginPage.loginUser({ username: testUser.username, password: testUser.password });
await loginPage.logoutUser();
Expand Down
22 changes: 11 additions & 11 deletions e2e/playwright/copy-move-actions/src/tests/copy.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test.describe('Copy actions', () => {
}
};

test('[C217135] Copy a file', async ({ personalFiles }) => {
test('[XAT-4941] Copy a file', async ({ personalFiles }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
await copyContentInPersonalFiles(personalFiles, [sourceFile], destinationFolder);
expect.soft(await personalFiles.dataTable.isItemPresent(sourceFile)).toBeTruthy();
Expand All @@ -91,7 +91,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(sourceFile)).toBeTruthy();
});

test('[C291888] Copy a folder with content', async ({ personalFiles }) => {
test('[XAT-4942] Copy a folder with content', async ({ personalFiles }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFolder);
await copyContentInPersonalFiles(personalFiles, [sourceFolder], destinationFolder);
expect.soft(await personalFiles.dataTable.isItemPresent(sourceFolder)).toBeTruthy();
Expand All @@ -103,7 +103,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(sourceFileInsideFolder)).toBeTruthy();
});

test('[C291889] Copy multiple items', async ({ personalFiles }) => {
test('[XAT-4943] Copy multiple items', async ({ personalFiles }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFolder);
await copyContentInPersonalFiles(personalFiles, [sourceFolder, sourceFile], destinationFolder);
expect.soft(await personalFiles.dataTable.isItemPresent(sourceFolder)).toBeTruthy();
Expand All @@ -115,7 +115,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(sourceFile)).toBeTruthy();
});

test('[C217137] Copy a file with a name that already exists on the destination', async ({ personalFiles }) => {
test('[XAT-4944] Copy a file with a name that already exists on the destination', async ({ personalFiles }) => {
await nodesApi.createFile(sourceFile, destinationFolderId);
const expectedNameForCopiedFile = sourceFile.replace('.', '-1.');
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
Expand All @@ -127,7 +127,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(expectedNameForCopiedFile)).toBeTruthy();
});

test('[C217138] Copy a folder with a name that already exists on the destination', async ({ personalFiles }) => {
test('[XAT-4945] Copy a folder with a name that already exists on the destination', async ({ personalFiles }) => {
const existingFolderId = (await nodesApi.createFolder(sourceFolder, destinationFolderId)).entry.id;
await nodesApi.createFile(sourceFileInsideFolder, existingFolderId);
const expectedNameForCopiedFile = sourceFileInsideFolder.replace('.', '-1.');
Expand All @@ -143,7 +143,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(expectedNameForCopiedFile)).toBeTruthy();
});

test('[C217139] Copy locked file', async ({ personalFiles }) => {
test('[XAT-4947] Copy locked file', async ({ personalFiles }) => {
const lockType = 'ALLOW_OWNER_CHANGES';
await nodesApi.lockNodes([sourceFileId], lockType);
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
Expand All @@ -154,7 +154,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(sourceFile)).toBeTruthy();
});

test('[C217140] Copy folder that contains locked file', async ({ personalFiles }) => {
test('[XAT-4948] Copy folder that contains locked file', async ({ personalFiles }) => {
const lockType = 'ALLOW_OWNER_CHANGES';
await nodesApi.lockNodes([sourceFileInsideFolderId], lockType);
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFolder);
Expand All @@ -168,7 +168,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(sourceFileInsideFolder)).toBeTruthy();
});

test('[C217171] Undo copy of files', async ({ personalFiles }) => {
test('[XAT-4949] Undo copy of files', async ({ personalFiles }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
await copyContentInPersonalFiles(personalFiles, [sourceFile], destinationFolder);
await personalFiles.snackBar.actionButton.click();
Expand All @@ -178,7 +178,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(sourceFile)).toBeFalsy();
});

test('[C217172] Undo copy of folders', async ({ personalFiles }) => {
test('[XAT-4950] Undo copy of folders', async ({ personalFiles }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFolder);
await copyContentInPersonalFiles(personalFiles, [sourceFolder], destinationFolder);
await personalFiles.snackBar.actionButton.click();
Expand All @@ -188,7 +188,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(sourceFolder)).toBeFalsy();
});

test('[C217173] Undo copy of a file when a file with same name already exists on the destination', async ({ personalFiles }) => {
test('[XAT-4951] Undo copy of a file when a file with same name already exists on the destination', async ({ personalFiles }) => {
await nodesApi.createFile(sourceFile, destinationFolderId);
const expectedNameForCopiedFile = sourceFile.replace('.', '-1.');
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
Expand All @@ -201,7 +201,7 @@ test.describe('Copy actions', () => {
expect(await personalFiles.dataTable.isItemPresent(expectedNameForCopiedFile)).toBeFalsy();
});

test('[C217174] Undo copy of a folder when a folder with same name already exists on the destination', async ({ personalFiles }) => {
test('[XAT-4952] Undo copy of a folder when a folder with same name already exists on the destination', async ({ personalFiles }) => {
const existingFolderId = (await nodesApi.createFolder(sourceFolder, destinationFolderId)).entry.id;
await nodesApi.createFile(sourceFileInsideFolder, existingFolderId);
const expectedNameForCopiedFile = sourceFileInsideFolder.replace('.', '-1.');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*!

Check failure on line 1 in e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts

View workflow job for this annotation

GitHub Actions / E2E Playwright - copy-move-actions

[Copy Move Actions] › e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [XAT-4923] Contributor user can select the folder as destination

1) [Copy Move Actions] › e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [XAT-4923] Contributor user can select the folder as destination Test timeout of 150000ms exceeded.
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
Expand Down Expand Up @@ -79,21 +79,21 @@
await myLibrariesPage.contentNodeSelector.selectDestination(destinationFolder);
};

test('[C263876] Consumer user cannot select the folder as destination', async ({ loginPage, myLibrariesPage }) => {
test('[XAT-4922] Consumer user cannot select the folder as destination', async ({ loginPage, myLibrariesPage }) => {
await loginPage.loginUser({ username: consumerUser, password: consumerUser }, { withNavigation: true, waitForLoading: true });
await myLibrariesPage.navigate();
await copyContentInMyLibraries(myLibrariesPage);
await expect(myLibrariesPage.contentNodeSelector.actionButton).toBeDisabled();
});

test('[C263877] Contributor user can select the folder as destination', async ({ loginPage, myLibrariesPage }) => {
test('[XAT-4923] Contributor user can select the folder as destination', async ({ loginPage, myLibrariesPage }) => {
await loginPage.loginUser({ username: contributorUser, password: contributorUser }, { withNavigation: true, waitForLoading: true });
await myLibrariesPage.navigate();
await copyContentInMyLibraries(myLibrariesPage);
await expect(myLibrariesPage.contentNodeSelector.actionButton).toBeEnabled();
});

test('[C263878] Collaborator user can select the folder as destination', async ({ loginPage, myLibrariesPage }) => {
test('[XAT-4924] Collaborator user can select the folder as destination', async ({ loginPage, myLibrariesPage }) => {
await loginPage.loginUser({ username: collaboratorUser, password: collaboratorUser }, { withNavigation: true, waitForLoading: true });
await myLibrariesPage.navigate();
await copyContentInMyLibraries(myLibrariesPage);
Expand Down
18 changes: 9 additions & 9 deletions e2e/playwright/copy-move-actions/src/tests/move.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test.describe('Move actions', () => {
await personalFilesPage.spinner.waitForReload();
};

test('[C217316] Move a file', async ({ personalFiles }) => {
test('[XAT-4996] Move a file', async ({ personalFiles }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
await moveContentInPersonalFiles(personalFiles, [sourceFile], destinationFolder);
const msg = await personalFiles.snackBar.message.innerText();
Expand All @@ -85,7 +85,7 @@ test.describe('Move actions', () => {
expect(await personalFiles.dataTable.isItemPresent(sourceFile)).toBeTruthy();
});

test('[C291958] Move multiple items', async ({ personalFiles }) => {
test('[XAT-4998] Move multiple items', async ({ personalFiles }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFolder);
await moveContentInPersonalFiles(personalFiles, [sourceFolder, sourceFile], destinationFolder);
const msg = await personalFiles.snackBar.message.innerText();
Expand All @@ -98,7 +98,7 @@ test.describe('Move actions', () => {
expect.soft(await personalFiles.dataTable.isItemPresent(sourceFile)).toBeTruthy();
});

test('[C217318] Move a file with a name that already exists on the destination', async ({ personalFiles }) => {
test('[XAT-4999] Move a file with a name that already exists on the destination', async ({ personalFiles }) => {
await nodesApi.createFile(sourceFile, destinationFolderId);
const expectedNameForCopiedFile = sourceFile.replace('.', '-1.');
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
Expand All @@ -112,7 +112,7 @@ test.describe('Move actions', () => {
expect(await personalFiles.dataTable.isItemPresent(expectedNameForCopiedFile)).toBeFalsy();
});

test('[C217319] Move a folder with a name that already exists on the destination', async ({ personalFiles }) => {
test('[XAT-5000] Move a folder with a name that already exists on the destination', async ({ personalFiles }) => {
const existingFolderId = (await nodesApi.createFolder(sourceFolder, destinationFolderId)).entry.id;
await nodesApi.createFile(sourceFileInsideFolder, existingFolderId);
const expectedNameForCopiedFile = sourceFileInsideFolder.replace('.', '-1.');
Expand All @@ -129,7 +129,7 @@ test.describe('Move actions', () => {
expect(await personalFiles.dataTable.isItemPresent(expectedNameForCopiedFile)).toBeFalsy();
});

test('[C217320] Move locked file', async ({ personalFiles }) => {
test('[XAT-4989] Move locked file', async ({ personalFiles }) => {
const lockType = 'ALLOW_OWNER_CHANGES';
await nodesApi.lockNodes([sourceFileId], lockType);
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
Expand All @@ -142,7 +142,7 @@ test.describe('Move actions', () => {
expect.soft(await personalFiles.dataTable.isItemPresent(sourceFile)).toBeTruthy();
});

test('[C217324] Undo move files', async ({ personalFiles, trashPage }) => {
test('[XAT-4992] Undo move files', async ({ personalFiles, trashPage }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFile);
await moveContentInPersonalFiles(personalFiles, [sourceFile], destinationFolder);
await personalFiles.snackBar.actionButton.click();
Expand All @@ -154,7 +154,7 @@ test.describe('Move actions', () => {
expect(await trashPage.dataTable.isItemPresent(sourceFile)).toBeFalsy();
});

test('[C217325] Undo move of folders', async ({ personalFiles, trashPage }) => {
test('[XAT-4993] Undo move folder', async ({ personalFiles, trashPage }) => {
await Utils.reloadPageIfRowNotVisible(personalFiles, sourceFolder);
await moveContentInPersonalFiles(personalFiles, [sourceFolder], destinationFolder);
await personalFiles.snackBar.actionButton.click();
Expand Down Expand Up @@ -185,12 +185,12 @@ test.describe('Move actions', () => {

[
{
id: 'C217317',
id: 'XAT-4997',
testTitle: `Move a folder with content`,
lockedFile: false
},
{
id: 'C217321',
id: 'XAT-4990',
testTitle: 'Move folder that contains locked file',
lockedFile: true
}
Expand Down
88 changes: 44 additions & 44 deletions e2e/playwright/create-actions/exclude.tests.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
{
"C325043": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325044": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325045": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325047": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325031": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325032": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325033": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325030": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325026": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325042": "https://alfresco.atlassian.net/browse/ACS-6412",
"XAT-5229": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5231": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5232": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5233": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5238": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5239": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5240": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5244": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5245": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5248": "https://hyland.atlassian.net/browse/ACS-6412",

"C325147": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325148": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325149": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325150": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325153": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325151": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325139": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325143": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325144": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325145": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325146": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325157": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325154": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325158": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325161": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325142": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325141": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325140": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325156": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325155": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325162": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325163": "https://alfresco.atlassian.net/browse/ACS-6412",
"XAT-5252": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5253": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5254": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5255": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5257": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5258": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5256": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5260": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5261": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5262": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5263": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5266": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5267": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5270": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5271": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5259": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5265": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5264": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5268": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5269": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5272": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5273": "https://hyland.atlassian.net/browse/ACS-6412",

"C325050": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325048": "https://alfresco.atlassian.net/browse/ACS-6412",
"C216339": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325020": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325034": "https://alfresco.atlassian.net/browse/ACS-6412",
"C290146": "https://alfresco.atlassian.net/browse/ACS-6412",
"C290142": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325028": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325027": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325023": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325024": "https://alfresco.atlassian.net/browse/ACS-6412",
"C325025": "https://alfresco.atlassian.net/browse/ACS-6412"
"XAT-5235": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5236": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5234": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5237": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5241": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5243": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5242": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5246": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5247": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5249": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5250": "https://hyland.atlassian.net/browse/ACS-6412",
"XAT-5251": "https://hyland.atlassian.net/browse/ACS-6412"
}
Loading
Loading