mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACS-9301] Updated IDs with the new test cases (#4483)
This commit is contained in:
parent
d88bf8ce3e
commit
ec3d88829f
@ -43,7 +43,7 @@ test.describe('Create folders', () => {
|
||||
await apiClientFactory.loginUser(sessionTestUser);
|
||||
});
|
||||
|
||||
test('[C286473] should close opened dialogs on session expire', async ({ loginPage, personalFiles }) => {
|
||||
test('[XAT-17773] Should close opened dialogs on session expire', async ({ loginPage, personalFiles }) => {
|
||||
await loginPage.navigate();
|
||||
await loginPage.loginUser({ username: sessionTestUser.username, password: sessionTestUser.password });
|
||||
const folderDialog = personalFiles.folderDialog;
|
||||
|
@ -85,7 +85,7 @@ test.describe('viewer file', () => {
|
||||
expect(loginPage.page.url()).toContain('personal-files');
|
||||
});
|
||||
|
||||
test('[C213107] redirects to Home Page when navigating to the Login page while already logged in', async ({ loginPage }) => {
|
||||
test('[XAT-17774] Redirects to Home Page when navigating to the Login page while already logged in', async ({ loginPage }) => {
|
||||
const { username } = johnDoe;
|
||||
await loginPage.navigate();
|
||||
await loginPage.loginUser({ username: username, password: username });
|
||||
|
@ -1,3 +1 @@
|
||||
{
|
||||
"C595967": "https://hyland.atlassian.net/browse/ACS-9424"
|
||||
}
|
||||
{}
|
||||
|
@ -56,7 +56,7 @@ test.describe('File preview', () => {
|
||||
await Utils.deleteNodesSitesEmptyTrashcan(nodesApi, trashcanApi, 'afterAll failed');
|
||||
});
|
||||
|
||||
test('[C595967] Should preview document from the info drawer', async ({ personalFiles }) => {
|
||||
test('[XAT-17780] Can open viewer while the info drawer is opened', async ({ personalFiles }) => {
|
||||
await personalFiles.navigate();
|
||||
await Utils.reloadPageIfRowNotVisible(personalFiles, fileName);
|
||||
await personalFiles.dataTable.getRowByName(fileName).click();
|
||||
|
@ -119,7 +119,7 @@ test.describe('Special permissions', () => {
|
||||
await expect(sharedPage.dataTable.getRowByName(sitePrivate)).toHaveCount(0);
|
||||
});
|
||||
|
||||
test('[C290122] on Search Results', async ({ personalFiles, searchPage }) => {
|
||||
test('[XAT-17775] Search - File is not displayed if the user no longer has permissions on it', async ({ personalFiles, searchPage }) => {
|
||||
await personalFiles.acaHeader.searchButton.click();
|
||||
await searchPage.clickSearchButton();
|
||||
await searchPage.searchOverlay.checkFilesAndFolders();
|
||||
|
@ -196,7 +196,7 @@ test.describe('Upload new version', () => {
|
||||
await personalFiles.dataTable.performClickFolderOrFileToOpen(parentUnsupported);
|
||||
});
|
||||
|
||||
test('[C587084] Should display unknown format the preview for an unsupported file', async ({ personalFiles }) => {
|
||||
test('[XAT-17776] Should display the unknown format preview for an unsupported file in the viewer', async ({ personalFiles }) => {
|
||||
await uploadNewVersion(personalFiles, TEST_FILES.JPG_FILE.name, TEST_FILES.FILE_UNSUPPORTED.path);
|
||||
await personalFiles.uploadNewVersionDialog.uploadButton.click();
|
||||
await previewUnsupportedFile(personalFiles, TEST_FILES.FILE_UNSUPPORTED.name);
|
||||
|
@ -63,13 +63,13 @@ test.describe('Upload files', () => {
|
||||
expect(uploadedFiles, 'Uploaded file was not present in data table').toBe(true);
|
||||
});
|
||||
|
||||
test('[T14752064] Close the upload dialog', async ({ personalFiles }) => {
|
||||
test('[XAT-17778] The upload dialog can be closed', async ({ personalFiles }) => {
|
||||
await expect(personalFiles.uploadDialog.closeButton, 'Close button was not visible').toBeVisible();
|
||||
await personalFiles.uploadDialog.closeButton.click();
|
||||
await expect(personalFiles.uploadDialog.uploadDialog, 'Upload Dialog was visible').toBeHidden();
|
||||
});
|
||||
|
||||
test('[T14752051] Minimize / maximize the upload dialog', async ({ personalFiles }) => {
|
||||
test('[XAT-17779] The upload dialog can be minimized and maximized', async ({ personalFiles }) => {
|
||||
await personalFiles.uploadDialog.minimizeButton.click();
|
||||
await expect(personalFiles.uploadDialog.uploadDialogMinimized, 'Upload Dialog was not minimized').toBeVisible();
|
||||
await personalFiles.uploadDialog.minimizeButton.click();
|
||||
@ -83,7 +83,7 @@ test.describe('Upload files', () => {
|
||||
await expect(personalFiles.acaHeader.uploadButton, 'Upload button in Personal Files was not visible').toBeVisible();
|
||||
});
|
||||
|
||||
test('[T14752052] Upload dialog remains fixed in the browser when user performs other actions in parallel', async ({
|
||||
test('[XAT-17777] Upload dialog remains fixed in the browser when user performs other actions in parallel', async ({
|
||||
personalFiles,
|
||||
myLibrariesPage
|
||||
}) => {
|
||||
|
@ -198,7 +198,7 @@ test.describe('viewer action file', () => {
|
||||
expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionLabel'), 'File has incorrect version label').toEqual('2.0');
|
||||
});
|
||||
|
||||
test('[MNT-21058] Upload new version action when node is locked', async ({ personalFiles }) => {
|
||||
test('[XAT-17781] Upload new version action when node is locked', async ({ personalFiles }) => {
|
||||
await personalFiles.dataTable.performClickFolderOrFileToOpen(fileForUploadNewVersion2);
|
||||
await personalFiles.viewer.waitForViewerToOpen('wait for viewer content');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user