[ACS-8993] [E2E] fixed expect in sorting order for C261147 (#4262)

This commit is contained in:
Adam Świderski 2024-11-28 09:50:18 +01:00 committed by GitHub
parent b2c1f2733b
commit 4cb6e56911
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,3 @@
{
"C261153": "https://alfresco.atlassian.net/browse/AAE-7517",
"C261147": "https://hyland.atlassian.net/browse/ACS-8993"
"C261153": "https://alfresco.atlassian.net/browse/AAE-7517"
}

View File

@ -167,8 +167,8 @@ test.describe('Remember sorting', () => {
});
test('[C261147] Sort order is retained when user changes the page from pagination', async ({ personalFiles }) => {
const lastFileInArray = testData.user1.files.jpg.slice(-1).pop();
const firstFileInArray = testData.user1.files.pdf[1];
const lastFileInArray = testData.user1.files.jpg.slice(-2)[0];
const firstFileInArray = testData.user1.files.pdf[0];
await personalFiles.pagination.clickOnNextPage();
await personalFiles.dataTable.spinnerWaitForReload();