mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Manual dependencies update (#4298)
* Manual dependencies update * Manual dependencies update - e2es fix --------- Co-authored-by: datguychen <adam.swiderski@hyland.com>
This commit is contained in:
co-authored by
datguychen
parent
079f362c5d
commit
7fcc0af5bd
@@ -92,7 +92,7 @@ test.describe('Favorites Files', () => {
|
||||
|
||||
test('[C280482] has the correct columns', async ({ favoritePage }) => {
|
||||
const expectedColumns = ['Name', 'Location', 'Size', 'Modified', 'Modified by', 'Tags'];
|
||||
const actualColumns = await favoritePage.dataTable.getColumnHeaders();
|
||||
const actualColumns = Utils.trimArrayElements(await favoritePage.dataTable.getColumnHeaders());
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
});
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ test.describe('File Libraries', () => {
|
||||
|
||||
test('[C217095] has the correct columns', async ({ myLibrariesPage }) => {
|
||||
const expectedColumns = ['Name', 'Description', 'My Role', 'Visibility'];
|
||||
const actualColumns = await myLibrariesPage.dataTable.getColumnHeaders();
|
||||
const actualColumns = Utils.trimArrayElements(await myLibrariesPage.dataTable.getColumnHeaders());
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
});
|
||||
|
||||
@@ -142,7 +142,7 @@ test.describe('File Libraries', () => {
|
||||
|
||||
test('[C289893] has the correct columns', async ({ favoritesLibrariesPage }) => {
|
||||
const expectedColumns = ['Name', 'Description', 'My Role', 'Visibility'];
|
||||
const actualColumns = await favoritesLibrariesPage.dataTable.getColumnHeaders();
|
||||
const actualColumns = Utils.trimArrayElements(await favoritesLibrariesPage.dataTable.getColumnHeaders());
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
});
|
||||
|
||||
@@ -55,7 +55,7 @@ test.describe('Personal Files', () => {
|
||||
|
||||
test('[C217142] has the correct columns', async ({ personalFiles }) => {
|
||||
const expectedColumns = ['Name', 'Size', 'Modified', 'Modified by', 'Tags'];
|
||||
const actualColumns = await personalFiles.dataTable.getColumnHeaders();
|
||||
const actualColumns = Utils.trimArrayElements(await personalFiles.dataTable.getColumnHeaders());
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
});
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ test.describe('Recent Files', () => {
|
||||
|
||||
test('[C213168] has the correct columns', async ({ recentFilesPage }) => {
|
||||
const expectedColumns = ['Name', 'Location', 'Size', 'Modified', 'Tags'];
|
||||
const actualColumns = await recentFilesPage.dataTable.getColumnHeaders();
|
||||
const actualColumns = Utils.trimArrayElements(await recentFilesPage.dataTable.getColumnHeaders());
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
});
|
||||
|
||||
@@ -86,7 +86,7 @@ test.describe('Shared Files', () => {
|
||||
|
||||
test('[C213113] has the correct columns', async ({ sharedPage }) => {
|
||||
const expectedColumns = ['Name', 'Location', 'Size', 'Modified', 'Modified by', 'Shared by', 'Tags'];
|
||||
const actualColumns = await sharedPage.dataTable.getColumnHeaders();
|
||||
const actualColumns = Utils.trimArrayElements(await sharedPage.dataTable.getColumnHeaders());
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
});
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ test.describe('Trash admin', () => {
|
||||
test('[C213217] has the correct columns', async ({ trashPage }) => {
|
||||
await trashPage.navigate();
|
||||
const expectedColumns = ['Name', 'Location', 'Size', 'Deleted', 'Deleted by'];
|
||||
const actualColumns = await trashPage.dataTable.getColumnHeaders();
|
||||
const actualColumns = Utils.trimArrayElements(await trashPage.dataTable.getColumnHeaders());
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
});
|
||||
|
||||
@@ -79,7 +79,7 @@ test.describe('Trash', () => {
|
||||
|
||||
test('[C280494] has the correct columns', async ({ trashPage }) => {
|
||||
const expectedColumns = ['Name', 'Location', 'Size', 'Deleted'];
|
||||
const actualColumns = await trashPage.dataTable.getColumnHeaders();
|
||||
const actualColumns = Utils.trimArrayElements(await trashPage.dataTable.getColumnHeaders());
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user