Fix lists test to accommodate new UI yes/no campaign prompts.

This commit is contained in:
Kailash Nadh 2022-02-05 18:51:22 +05:30
parent 8fb459dc48
commit 02eaa661aa

View file

@ -16,6 +16,7 @@ describe('Lists', () => {
cy.get('.list-tags .tag').contains('Default list');
cy.clickMenu('lists', 'all-lists');
cy.get('.modal button.is-primary').click();
});
@ -23,7 +24,6 @@ describe('Lists', () => {
cy.get('tbody a[data-cy=btn-send-optin-campaign]').click();
cy.get('.modal button.is-primary').click();
cy.location('pathname').should('contain', '/campaigns/2');
cy.clickMenu('lists', 'all-lists');
});