We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e9800 commit cb7439fCopy full SHA for cb7439f
tests/cypress/e2e/logout.test.js
@@ -7,6 +7,12 @@ describe('Logout tests', () => {
7
it('Admin can logout', () => {
8
cy.visit('/wp-admin/admin.php?page=mailchimp_sf_options');
9
cy.get('#mailchimp_sf_oauth_connect').should('not.exist');
10
+
11
+ cy.on('window:confirm', (text) => {
12
+ expect(text).to.contains('Are you sure you want to log out?');
13
+ return true;
14
+ });
15
16
cy.get('input[value="Logout"]').click();
17
18
// connect to "Mailchimp" Account button should be visible.
0 commit comments