Attempt to fix flaky reconciliation tests (#4091)
Attempt to fix flaky reconciliation tests
This commit is contained in:
parent
005e8b77a7
commit
b7652e9036
@ -89,7 +89,7 @@ describe('Base reconciliation tests', () => {
|
||||
.siblings('input')
|
||||
.uncheck();
|
||||
cy.get('.dialog-container button').contains('Start Reconciling...').click();
|
||||
cy.assertNotificationContainingText('Reconcile cells in column species');
|
||||
cy.wait(10000); // eslint-disable-line
|
||||
cy.assertColumnIsReconciled('species');
|
||||
|
||||
// "Choose new match" appear when there is a match, if it's not there it means nothing is matched
|
||||
@ -110,7 +110,7 @@ describe('Base reconciliation tests', () => {
|
||||
.siblings('input')
|
||||
.check();
|
||||
cy.get('.dialog-container button').contains('Start Reconciling...').click();
|
||||
cy.assertNotificationContainingText('Reconcile cells in column species');
|
||||
cy.wait(10000); // eslint-disable-line
|
||||
cy.assertColumnIsReconciled('species');
|
||||
|
||||
// 4 rows should have been automatched
|
||||
@ -130,6 +130,7 @@ describe('Base reconciliation tests', () => {
|
||||
cy.get('.recon-dialog-service-panel.recon-dialog-standard-service-panel').should('be.visible');
|
||||
cy.get('.dialog-container input[bind="maxCandidates"]').type(2);
|
||||
cy.get('.dialog-container button').contains('Start Reconciling...').click();
|
||||
cy.wait(10000); // eslint-disable-line
|
||||
cy.assertColumnIsReconciled('species');
|
||||
cy.get('.data-table-cell-content .data-table-recon-topic').should(
|
||||
'have.length',
|
||||
|
@ -349,7 +349,7 @@ Cypress.Commands.add(
|
||||
);
|
||||
|
||||
Cypress.Commands.add('assertNotificationContainingText', (text) => {
|
||||
cy.get('#notification-container');
|
||||
cy.get('#notification-container').should('be.visible');
|
||||
cy.get('#notification').should('be.visible').should('to.contain', text);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user