From ddcd97ca37a9704c9ea5a77f47abec8ce6d1a72e Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Thu, 9 Dec 2021 17:13:19 +0100 Subject: [PATCH] [ADF-5228] Remove duplicate E2E os Unit (#7413) --- .../datatable/data-table-component.e2e.ts | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/e2e/core/datatable/data-table-component.e2e.ts b/e2e/core/datatable/data-table-component.e2e.ts index 4094705e72..c963a3a4a7 100644 --- a/e2e/core/datatable/data-table-component.e2e.ts +++ b/e2e/core/datatable/data-table-component.e2e.ts @@ -62,27 +62,6 @@ describe('Datatable component', () => { await dataTablePage.dataTable.waitForTableBody(); }); - it('[C307037] A tooltip is displayed when mouseOver a column with copyContent set to true', async () => { - await dataTablePage.mouseOverIdColumn('1'); - await expect(await dataTablePage.getCopyContentTooltip()).toEqual('Click to copy'); - await dataTablePage.mouseOverNameColumn('Name 2'); - await dataTablePage.dataTable.copyContentTooltipIsNotDisplayed(); - }); - - it('[C307045] No tooltip is displayed when hover over a column with copyContent set to false', async () => { - await dataTablePage.mouseOverNameColumn('Name 2'); - await dataTablePage.dataTable.copyContentTooltipIsNotDisplayed(); - await dataTablePage.clickOnNameColumn('Name 2'); - await notificationHistoryPage.checkNotifyNotContains('Name 2'); - }); - - it('[C307046] No tooltip is displayed when hover over a column that has default value for copyContent property', async () => { - await dataTablePage.mouseOverCreatedByColumn('Created One'); - await dataTablePage.dataTable.copyContentTooltipIsNotDisplayed(); - await dataTablePage.clickOnCreatedByColumn('Created One'); - await notificationHistoryPage.checkNotifyNotContains('Created One'); - }); - it('[C307040] A column value with copyContent set to true is copied when clicking on it', async () => { await dataTablePage.mouseOverIdColumn('1'); await expect(await dataTablePage.getCopyContentTooltip()).toEqual('Click to copy'); @@ -94,27 +73,6 @@ describe('Datatable component', () => { await expect(await dataTablePage.getClipboardInputText()).toEqual('2'); }); - it('[C307072] A tooltip is displayed when mouseOver a column with copyContent set to true', async () => { - await copyContentDataTablePage.mouseOverIdColumn('1'); - await expect(await copyContentDataTablePage.getCopyContentTooltip()).toEqual('Click to copy'); - await copyContentDataTablePage.mouseOverNameColumn('First'); - await copyContentDataTablePage.dataTable.copyContentTooltipIsNotDisplayed(); - }); - - it('[C307074] No tooltip is displayed when hover over a column with copyContent set to false', async () => { - await copyContentDataTablePage.mouseOverNameColumn('Second'); - await copyContentDataTablePage.dataTable.copyContentTooltipIsNotDisplayed(); - await copyContentDataTablePage.clickOnNameColumn('Second'); - await notificationHistoryPage.checkNotifyNotContains('Second'); - }); - - it('[C307075] No tooltip is displayed when hover over a column that has default value for copyContent property', async () => { - await copyContentDataTablePage.mouseOverCreatedByColumn('Created one'); - await copyContentDataTablePage.dataTable.copyContentTooltipIsNotDisplayed(); - await copyContentDataTablePage.clickOnCreatedByColumn('Created one'); - await notificationHistoryPage.checkNotifyNotContains('Created One'); - }); - it('[C307073] A column value with copyContent set to true is copied when clicking on it', async () => { await copyContentDataTablePage.mouseOverIdColumn('1'); await expect(await copyContentDataTablePage.getCopyContentTooltip()).toEqual('Click to copy');