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

* [ACS-9297] [E2E] Authentication and List Views updated

* [ACS-9297] navigation tests IDs updated

* [ACS-9297] updated pagination IDs

* [ACS-9297] updated download actions ids

* [ACS-9297] Updated upload-download actions IDs & changed the location of viewer-version-actions tests to match XRAY

* [ACS-9297] updated copy-move-actions IDs

* [ACS-9297] Updated delete-actions IDs

* [ACS-9297] updated create-actions IDs

* [ACS-9297] Updated library-actions IDs

* [ACS_9297] Updated share IDs

* [ACS-9297] Special Permissions Updated IDs

* [ACS-9297] Updated viewer IDs

* [ACS-9297] Updated comments IDs

* [ACS-9297] Updated Search IDs

* [ACS-9297] Updated the remaning IDs

* [ACS-9297] one tests excluded one duplicated deleted

* [ACS-9297] fixing rebase mistakes 1
This commit is contained in:
Adam Świderski
2025-03-19 10:20:24 +01:00
committed by GitHub
parent 8fffe98e01
commit 9d22bf0efe
65 changed files with 562 additions and 526 deletions

View File

@@ -35,7 +35,7 @@ export function favoritesTests(username: string) {
await favoritePage.waitForPageLoad();
});
test('[C280113] Pagination control default values', async ({ favoritePage }) => {
test('[XAT-4575] Pagination control default items', async ({ favoritePage }) => {
expect(await favoritePage.pagination.getRange()).toContain('1-25 of 51');
expect(await favoritePage.pagination.getMaxItems()).toContain('25');
expect(await favoritePage.pagination.getCurrentPage()).toContain('Page 1');
@@ -44,7 +44,7 @@ export function favoritesTests(username: string) {
expect(await favoritePage.pagination.isNextEnabled()).toBe(true);
});
test('[C280115] current page menu items', async ({ favoritePage }) => {
test('[XAT-4576] Items per page values', async ({ favoritePage }) => {
await favoritePage.pagination.openMaxItemsMenu();
expect(await favoritePage.pagination.getItemsCount()).toBe(3);
await favoritePage.pagination.clickMenuItem('25');
@@ -67,7 +67,7 @@ export function favoritesTests(username: string) {
await favoritePage.pagination.resetToDefaultPageSize();
});
test('[C280116] change the current page from menu', async ({ favoritePage }) => {
test('[XAT-4578] Change the current page from the page selector', async ({ favoritePage }) => {
await favoritePage.pagination.clickOnNextPage();
expect(await favoritePage.pagination.getRange()).toContain('Showing 26-50 of 51');
expect(await favoritePage.pagination.getCurrentPage()).toContain('Page 2');
@@ -76,7 +76,7 @@ export function favoritesTests(username: string) {
await favoritePage.pagination.resetToDefaultPageSize();
});
test('[C280119] navigate to next and previous pages', async ({ favoritePage }) => {
test('[XAT-4580] Next and Previous buttons navigation', async ({ favoritePage }) => {
await favoritePage.pagination.openMaxItemsMenu();
await favoritePage.pagination.clickMenuItem('25');
expect(await favoritePage.pagination.getMaxItems()).toContain('25');
@@ -88,7 +88,7 @@ export function favoritesTests(username: string) {
expect(await favoritePage.pagination.getRange()).toContain('Showing 1-25 of 51');
});
test('[C280118] Next button is disabled on last page', async ({ favoritePage }) => {
test('[XAT-4579] Next button is disabled on last page', async ({ favoritePage }) => {
await favoritePage.pagination.openMaxItemsMenu();
await favoritePage.pagination.clickNthItem(3);
expect(await favoritePage.pagination.getCurrentPage()).toContain('Page 1');

View File

@@ -35,7 +35,7 @@ export function personalFilesTests(userName: string, parentName: string) {
await page.waitForTimeout(timeouts.tiny);
});
test('[C280077] Pagination control default values', async ({ personalFiles }) => {
test('[XAT-4530] Pagination control default items', async ({ personalFiles }) => {
expect(await personalFiles.pagination.getRange()).toContain('Showing 1-25 of 51');
expect(await personalFiles.pagination.getMaxItems()).toContain('25');
expect(await personalFiles.pagination.getCurrentPage()).toContain('Page 1');
@@ -44,7 +44,7 @@ export function personalFilesTests(userName: string, parentName: string) {
expect(await personalFiles.pagination.isNextEnabled()).toBe(true);
});
test('[C280079] current page menu items', async ({ personalFiles }) => {
test('[XAT-4531] Items per page values', async ({ personalFiles }) => {
await personalFiles.pagination.openMaxItemsMenu();
expect(await personalFiles.pagination.getItemsCount()).toBe(3);
await personalFiles.pagination.clickMenuItem('25');
@@ -65,7 +65,7 @@ export function personalFilesTests(userName: string, parentName: string) {
await personalFiles.pagination.resetToDefaultPageSize();
});
test('[C280080] change the current page from menu', async ({ personalFiles }) => {
test('[XAT-4533] Change the current page from the page selector', async ({ personalFiles }) => {
await personalFiles.pagination.clickOnNextPage();
expect(await personalFiles.pagination.getRange()).toContain('Showing 26-50 of 51');
expect(await personalFiles.pagination.getCurrentPage()).toContain('Page 2');
@@ -74,7 +74,7 @@ export function personalFilesTests(userName: string, parentName: string) {
await personalFiles.pagination.resetToDefaultPageSize();
});
test('[C280083] navigate to next and previous pages', async ({ personalFiles }) => {
test('[XAT-4536] Next and Previous buttons navigation', async ({ personalFiles }) => {
await personalFiles.pagination.openMaxItemsMenu();
await personalFiles.pagination.clickMenuItem('25');
expect(await personalFiles.pagination.getMaxItems()).toContain('25');
@@ -86,12 +86,12 @@ export function personalFilesTests(userName: string, parentName: string) {
expect(await personalFiles.pagination.getRange()).toContain('Showing 1-25 of 51');
});
test('[C280081] Previous button is disabled on first page', async ({ personalFiles }) => {
test('[XAT-4534] Previous button is disabled on first page', async ({ personalFiles }) => {
expect(await personalFiles.pagination.getCurrentPage()).toContain('Page 1');
expect(await personalFiles.pagination.isPreviousEnabled()).toBe(false);
});
test('[C280082] Next button is disabled on last page', async ({ personalFiles }) => {
test('[XAT-4535] Next button is disabled on last page', async ({ personalFiles }) => {
await personalFiles.pagination.openMaxItemsMenu();
await personalFiles.pagination.clickNthItem(3);
expect(await personalFiles.pagination.getCurrentPage()).toContain('Page 1');