mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2330] fix document-list styling (#1062)
* [ACA-2330] fix DL display - enable single click tests * [ACA-2330] fix locked-by item display * [ACA-2330] set text color and padding on DL * [ACA-2330] fix ellipsis on name column text * [ACA-2330] apply fix to library-name-column also - fixes failing test on libraries DL * [ACA-2330] set scss variables * [ACA-2330] fix wrong variable names * [ACA-2330] decrease thumbnail width * [ACA-2330] enable related tests
This commit is contained in:
committed by
Denys Vuika
parent
35c84bdd0c
commit
8d02203a54
@@ -98,11 +98,10 @@ describe('Single click on item name', () => {
|
||||
});
|
||||
|
||||
it('Hyperlink appears when mouse over a file/folder - [C280032]', async () => {
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
// TODO: investigate
|
||||
xit('File preview opens when clicking the hyperlink - [C280033]', async () => {
|
||||
it('File preview opens when clicking the hyperlink - [C280033]', async () => {
|
||||
await dataTable.clickNameLink(file1);
|
||||
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
@@ -110,8 +109,7 @@ describe('Single click on item name', () => {
|
||||
await Utils.pressEscape();
|
||||
});
|
||||
|
||||
// TODO: investigate
|
||||
xit('Navigate inside the folder when clicking the hyperlink - [C280034]', async () => {
|
||||
it('Navigate inside the folder when clicking the hyperlink - [C280034]', async () => {
|
||||
await dataTable.clickNameLink(folder1);
|
||||
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe(folder1);
|
||||
@@ -128,8 +126,7 @@ describe('Single click on item name', () => {
|
||||
expect(await dataTable.hasLinkOnName(siteName)).toBe(true, 'Link on site name is missing');
|
||||
});
|
||||
|
||||
// TODO: enable this when ACA-2330 is done
|
||||
xit('Navigate inside the library when clicking the hyperlink - [C284902]', async () => {
|
||||
it('Navigate inside the library when clicking the hyperlink - [C284902]', async () => {
|
||||
await dataTable.clickNameLink(siteName);
|
||||
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe(siteName);
|
||||
@@ -147,8 +144,7 @@ describe('Single click on item name', () => {
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
// TODO: enable this when ACA-2330 is done
|
||||
xit('File preview opens when clicking the hyperlink - [C284906]', async () => {
|
||||
it('File preview opens when clicking the hyperlink - [C284906]', async () => {
|
||||
await dataTable.clickNameLink(file1);
|
||||
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
@@ -167,8 +163,7 @@ describe('Single click on item name', () => {
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
// TODO: enable this when ACA-2330 is done
|
||||
xit('File preview opens when clicking the hyperlink - [C284908]', async () => {
|
||||
it('File preview opens when clicking the hyperlink - [C284908]', async () => {
|
||||
await dataTable.clickNameLink(file1);
|
||||
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
@@ -187,8 +182,7 @@ describe('Single click on item name', () => {
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
// TODO: enable this when ACA-2330 is done
|
||||
xit('File preview opens when clicking the hyperlink - [C284910]', async () => {
|
||||
it('File preview opens when clicking the hyperlink - [C284910]', async () => {
|
||||
await dataTable.clickNameLink(file1);
|
||||
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
@@ -196,8 +190,7 @@ describe('Single click on item name', () => {
|
||||
await Utils.pressEscape();
|
||||
});
|
||||
|
||||
// TODO: enable this when ACA-2330 is done
|
||||
xit('Navigate inside the folder when clicking the hyperlink - [C284911]', async () => {
|
||||
it('Navigate inside the folder when clicking the hyperlink - [C284911]', async () => {
|
||||
await dataTable.clickNameLink(folder1);
|
||||
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe(folder1);
|
||||
|
Reference in New Issue
Block a user