Skip to content

Commit

Permalink
Fix lists test to accommodate new UI yes/no campaign prompts.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Feb 5, 2022
1 parent 8fb459d commit 02eaa66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/cypress/integration/lists.js
Expand Up @@ -16,14 +16,14 @@ describe('Lists', () => {
cy.get('.list-tags .tag').contains('Default list');

cy.clickMenu('lists', 'all-lists');
cy.get('.modal button.is-primary').click();
});


it('Creates opt-in campaign for list', () => {
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');
});

Expand Down

0 comments on commit 02eaa66

Please sign in to comment.