Revert "Improved stability for undo/redo tests (#4158)" (#4160)

This reverts commit 186d17cfbf.
This commit is contained in:
Antonin Delpeuch 2021-09-17 12:21:54 +02:00 committed by GitHub
parent 186d17cfbf
commit dc180faf30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,6 @@ describe(__filename, function () {
cy.loadAndVisitProject('food.mini'); cy.loadAndVisitProject('food.mini');
cy.get('#or-proj-undoRedo').should('to.exist').should('be.visible').click(); cy.get('#or-proj-undoRedo').should('to.exist').should('be.visible').click();
cy.get('#refine-tabs-history').should('be.visible');
cy.get('#refine-tabs-history .history-panel-controls') cy.get('#refine-tabs-history .history-panel-controls')
.contains('Apply') .contains('Apply')
.click(); .click();

View File

@ -4,8 +4,7 @@ describe(__filename, function () {
cy.deleteColumn('NDB_No'); cy.deleteColumn('NDB_No');
cy.deleteColumn('Shrt_Desc'); cy.deleteColumn('Shrt_Desc');
cy.get('#or-proj-undoRedo').should('to.exist').should('be.visible').click(); cy.get('#or-proj-undoRedo').click();
cy.get('#refine-tabs-history').should('be.visible');
cy.get('#refine-tabs-history .history-panel-controls') cy.get('#refine-tabs-history .history-panel-controls')
.contains('Extract') .contains('Extract')
.click(); .click();
@ -55,7 +54,6 @@ describe(__filename, function () {
cy.deleteColumn('NDB_No'); cy.deleteColumn('NDB_No');
cy.deleteColumn('Shrt_Desc'); cy.deleteColumn('Shrt_Desc');
cy.get('#or-proj-undoRedo').click(); cy.get('#or-proj-undoRedo').click();
cy.get('#refine-tabs-history').should('be.visible');
cy.get('#refine-tabs-history .history-panel-controls') cy.get('#refine-tabs-history .history-panel-controls')
.contains('Extract') .contains('Extract')
.click(); .click();
@ -124,7 +122,6 @@ describe(__filename, function () {
cy.loadAndVisitProject('food.mini'); cy.loadAndVisitProject('food.mini');
cy.deleteColumn('NDB_No'); cy.deleteColumn('NDB_No');
cy.get('#or-proj-undoRedo').click(); cy.get('#or-proj-undoRedo').click();
cy.get('#refine-tabs-history').should('be.visible');
cy.get('#refine-tabs-history .history-panel-controls') cy.get('#refine-tabs-history .history-panel-controls')
.contains('Extract') .contains('Extract')
.click(); .click();
@ -140,7 +137,7 @@ describe(__filename, function () {
cy.deleteColumn('Shrt_Desc'); cy.deleteColumn('Shrt_Desc');
cy.get('#or-proj-undoRedo').click(); cy.get('#or-proj-undoRedo').click();
cy.get('#refine-tabs-history').should('be.visible');
cy.get('#refine-tabs-history .history-panel-controls') cy.get('#refine-tabs-history .history-panel-controls')
.contains('Extract') .contains('Extract')
.click(); .click();