mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
split toolbar and breadcrumb e2e components (#626)
This commit is contained in:
committed by
Denys Vuika
parent
28a4fb7ba7
commit
aafa606ceb
@@ -101,7 +101,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
|
||||
it('Add a new tab with icon and title - [C284646]', async () => {
|
||||
await page.dataTable.selectItem(file);
|
||||
await page.toolbar.actions.getButtonByTitleAttribute('View details').click();
|
||||
await page.toolbar.getButtonByTitleAttribute('View details').click();
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
||||
expect(await infoDrawer.isTabPresent(custom_tab.title)).toBe(true, `${custom_tab.title} tab is not present`);
|
||||
@@ -110,7 +110,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
|
||||
it('Remove existing tab - [C284647]', async () => {
|
||||
await page.dataTable.selectItem(file);
|
||||
await page.toolbar.actions.getButtonByTitleAttribute('View details').click();
|
||||
await page.toolbar.getButtonByTitleAttribute('View details').click();
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
||||
expect(await infoDrawer.isTabPresent(comments_tab.title)).toBe(false, `${comments_tab.title} tab should not be present!`);
|
||||
@@ -118,7 +118,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
|
||||
it('Change tab title - [C284648]', async () => {
|
||||
await page.dataTable.selectItem(file);
|
||||
await page.toolbar.actions.getButtonByTitleAttribute('View details').click();
|
||||
await page.toolbar.getButtonByTitleAttribute('View details').click();
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
||||
expect(await infoDrawer.isTabPresent(properties_tab.title)).toBe(true, `${properties_tab.title} tab is not present`);
|
||||
@@ -127,7 +127,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
|
||||
it('Tab with icon and no title - [C284649]', async () => {
|
||||
await page.dataTable.selectItem(file);
|
||||
await page.toolbar.actions.getButtonByTitleAttribute('View details').click();
|
||||
await page.toolbar.getButtonByTitleAttribute('View details').click();
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
||||
expect(await infoDrawer.isTabPresent(no_title_tab.title)).toBe(true, `${no_title_tab.title} tab is not present`);
|
||||
@@ -136,7 +136,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
|
||||
it('Insert new component in tab - [C284651]', async () => {
|
||||
await page.dataTable.selectItem(file);
|
||||
await page.toolbar.actions.getButtonByTitleAttribute('View details').click();
|
||||
await page.toolbar.getButtonByTitleAttribute('View details').click();
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
||||
expect(await infoDrawer.isTabDisplayed(custom_tab.title)).toBe(true, `${custom_tab.title} tab is not displayed`);
|
||||
@@ -162,7 +162,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
|
||||
it('Remove all tabs - [C284650]', async () => {
|
||||
await page.dataTable.selectItem(file);
|
||||
await page.toolbar.actions.getButtonByTitleAttribute('View details').click();
|
||||
await page.toolbar.getButtonByTitleAttribute('View details').click();
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
||||
expect(await infoDrawer.isEmpty()).toBe(true, 'Info Drawer is not empty');
|
||||
|
Reference in New Issue
Block a user