mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
ADF 3.7.0-bab49 (#1324)
* adf 3.7.0-1754 * fix header name selector * fix more / less state * click correct button * check correct button * remove Thumbnail column from headers list * 3.7.0-0256a update * remove Thumbnail. from headers list * remove Thumbnail * header cell value selector * adf 3.7.0-bab49 * change selector after accessibility fixes Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
This commit is contained in:
@@ -38,10 +38,6 @@ describe('Extensions - DocumentList presets', () => {
|
||||
id: 'app.files.name',
|
||||
label: 'Name'
|
||||
},
|
||||
{
|
||||
id: 'app.files.thumbnail',
|
||||
label: 'Thumbnail'
|
||||
},
|
||||
{
|
||||
id: 'app.files.size',
|
||||
label: 'Size',
|
||||
|
@@ -140,7 +140,7 @@ describe('File / Folder properties', () => {
|
||||
expect(await propertiesTab.getVisiblePropertiesLabels()).toEqual(expectedPropLabels, 'Incorrect properties displayed');
|
||||
expect(await propertiesTab.getVisiblePropertiesValues()).toEqual(expectedPropValues, 'Incorrect properties values');
|
||||
expect(await propertiesTab.isEditPropertiesButtonEnabled()).toBe(true, 'Edit button not enabled');
|
||||
expect(await propertiesTab.isLessInfoButtonEnabled()).toBe(true, 'Less information button not enabled');
|
||||
expect(await propertiesTab.isMoreInfoButtonEnabled()).toBe(true, 'More information button not enabled');
|
||||
});
|
||||
|
||||
it('Folder properties - [C307106]', async () => {
|
||||
@@ -174,7 +174,7 @@ describe('File / Folder properties', () => {
|
||||
expect(await propertiesTab.getVisiblePropertiesLabels()).toEqual(expectedPropLabels, 'Incorrect properties displayed');
|
||||
expect(await propertiesTab.getVisiblePropertiesValues()).toEqual(expectedPropValues, 'Incorrect properties values');
|
||||
expect(await propertiesTab.isEditPropertiesButtonEnabled()).toBe(true, 'Edit button not enabled');
|
||||
expect(await propertiesTab.isLessInfoButtonEnabled()).toBe(true, 'Less information button not enabled');
|
||||
expect(await propertiesTab.isMoreInfoButtonEnabled()).toBe(true, 'More information button not enabled');
|
||||
});
|
||||
|
||||
it('Less / More information buttons - [C269004]', async () => {
|
||||
@@ -182,19 +182,19 @@ describe('File / Folder properties', () => {
|
||||
await page.toolbar.clickViewDetails();
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
||||
expect(await propertiesTab.isLessInfoButtonEnabled()).toBe(true, 'Less information button not enabled');
|
||||
expect(await propertiesTab.isPropertiesListExpanded()).toBe(true, 'Properties list not expanded');
|
||||
|
||||
await propertiesTab.clickLessInformationButton();
|
||||
|
||||
expect(await propertiesTab.isLessInfoButtonDisplayed()).toBe(false, 'Less information button displayed');
|
||||
expect(await propertiesTab.isMoreInfoButtonEnabled()).toBe(true, 'More information button not enabled');
|
||||
expect(await propertiesTab.isPropertiesListExpanded()).toBe(false, 'Properties list expanded');
|
||||
expect(await propertiesTab.isPropertiesListExpanded()).toBe(true, 'Properties list not expanded');
|
||||
|
||||
await propertiesTab.clickMoreInformationButton();
|
||||
|
||||
expect(await propertiesTab.isMoreInfoButtonDisplayed()).toBe(false, 'More information button displayed');
|
||||
expect(await propertiesTab.isLessInfoButtonEnabled()).toBe(true, 'Less information button not enabled');
|
||||
expect(await propertiesTab.isPropertiesListExpanded()).toBe(false, 'Properties list expanded');
|
||||
|
||||
await propertiesTab.clickLessInformationButton();
|
||||
|
||||
expect(await propertiesTab.isMoreInfoButtonDisplayed()).toBe(true, 'More information button not displayed');
|
||||
expect(await propertiesTab.isLessInfoButtonEnabled()).toBe(false, 'Less information button enabled');
|
||||
expect(await propertiesTab.isPropertiesListExpanded()).toBe(true, 'Properties list not expanded');
|
||||
});
|
||||
|
||||
@@ -234,7 +234,7 @@ describe('File / Folder properties', () => {
|
||||
await page.toolbar.clickViewDetails();
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
||||
await propertiesTab.clickLessInformationButton();
|
||||
await propertiesTab.clickMoreInformationButton();
|
||||
await propertiesTab.clickImagePropertiesPanel();
|
||||
await propertiesTab.waitForImagePropertiesPanelToExpand();
|
||||
|
||||
@@ -242,7 +242,7 @@ describe('File / Folder properties', () => {
|
||||
expect(await propertiesTab.getVisiblePropertiesLabels()).toEqual(expectedPropLabels, 'Incorrect properties displayed');
|
||||
expect(await propertiesTab.getVisiblePropertiesValues()).toEqual(expectedPropValues, 'Incorrect properties values');
|
||||
expect(await propertiesTab.isEditPropertiesButtonEnabled()).toBe(true, 'Edit button not enabled');
|
||||
expect(await propertiesTab.isMoreInfoButtonEnabled()).toBe(true, 'More information button not enabled');
|
||||
expect(await propertiesTab.isLessInfoButtonEnabled()).toBe(true, 'Less information button not enabled');
|
||||
});
|
||||
});
|
||||
|
||||
|
@@ -88,7 +88,7 @@ describe('Favorites', () => {
|
||||
});
|
||||
|
||||
it('has the correct columns - [C280482]', async () => {
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'Location', 'Size', 'Modified', 'Modified by' ];
|
||||
const expectedColumns = [ 'Name', 'Location', 'Size', 'Modified', 'Modified by' ];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
|
@@ -103,7 +103,7 @@ describe('File Libraries', () => {
|
||||
});
|
||||
|
||||
it('has the correct columns - [C217095]', async () => {
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'My Role', 'Visibility' ];
|
||||
const expectedColumns = [ 'Name', 'My Role', 'Visibility' ];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
@@ -172,7 +172,7 @@ describe('File Libraries', () => {
|
||||
});
|
||||
|
||||
it('has the correct columns - [C289893]', async () => {
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'My Role', 'Visibility' ];
|
||||
const expectedColumns = [ 'Name', 'My Role', 'Visibility' ];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
|
@@ -94,7 +94,7 @@ describe('Personal Files', () => {
|
||||
});
|
||||
|
||||
it('has the correct columns - [C217142]', async () => {
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'Size', 'Modified', 'Modified by' ];
|
||||
const expectedColumns = [ 'Name', 'Size', 'Modified', 'Modified by' ];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
|
@@ -81,7 +81,7 @@ describe('Recent Files', () => {
|
||||
});
|
||||
|
||||
it('has the correct columns - [C213168]', async () => {
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'Location', 'Size', 'Modified' ];
|
||||
const expectedColumns = [ 'Name', 'Location', 'Size', 'Modified' ];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
|
@@ -87,7 +87,7 @@ describe('Shared Files', () => {
|
||||
});
|
||||
|
||||
it('has the correct columns - [C213113]', async () => {
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'Location', 'Size', 'Modified', 'Modified by', 'Shared by' ];
|
||||
const expectedColumns = [ 'Name', 'Location', 'Size', 'Modified', 'Modified by', 'Shared by' ];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
|
@@ -99,7 +99,7 @@ describe('Trash', () => {
|
||||
});
|
||||
|
||||
it('has the correct columns - [C213217]', async () => {
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'Location', 'Size', 'Deleted', 'Deleted by' ];
|
||||
const expectedColumns = [ 'Name', 'Location', 'Size', 'Deleted', 'Deleted by' ];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
@@ -128,7 +128,7 @@ describe('Trash', () => {
|
||||
});
|
||||
|
||||
it('has the correct columns - [C280494]', async () => {
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'Location', 'Size', 'Deleted'];
|
||||
const expectedColumns = [ 'Name', 'Location', 'Size', 'Deleted'];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
|
@@ -172,7 +172,7 @@ describe('Search results - libraries', () => {
|
||||
await searchInput.searchFor(site1.name);
|
||||
await dataTable.waitForBody();
|
||||
|
||||
const expectedColumns = [ 'Thumbnail', 'Name', 'My Role', 'Visibility' ];
|
||||
const expectedColumns = [ 'Name', 'My Role', 'Visibility' ];
|
||||
const actualColumns = await dataTable.getColumnHeadersText();
|
||||
|
||||
expect(actualColumns).toEqual(expectedColumns);
|
||||
|
Reference in New Issue
Block a user