Improved stability for undo/redo tests (#4158)

This commit is contained in:
Florian Giroud 2021-09-17 12:07:52 +02:00 committed by GitHub
parent d177c63bed
commit 186d17cfbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,7 @@ describe(__filename, function () {
cy.loadAndVisitProject('food.mini');
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')
.contains('Apply')
.click();

View File

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