Improved stability for undo/redo tests (#4158)
This commit is contained in:
parent
d177c63bed
commit
186d17cfbf
@ -3,6 +3,7 @@ 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();
|
||||||
|
@ -4,7 +4,8 @@ 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').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('Extract')
|
.contains('Extract')
|
||||||
.click();
|
.click();
|
||||||
@ -54,6 +55,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').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();
|
||||||
@ -122,6 +124,7 @@ 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();
|
||||||
@ -137,7 +140,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();
|
||||||
|
Loading…
Reference in New Issue
Block a user