-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added test to verify login & signup flags are set after plugin install
- Loading branch information
1 parent
36ee2b5
commit f0023d7
Showing
4 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
tests/Cypress/cypress/e2e/administration/settings/login-signup.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
describe('Log-in & sign-up flags are set', () => { | ||
it('successfully set login & signup flags', () => { | ||
cy.loginAsAdmin().goToSettings(); | ||
|
||
// Go to Log-in & Sign-up | ||
cy.get('[data-testid="sw-icon__regular-sign-in"]').click(); | ||
|
||
cy.get('[name="core.loginRegistration.showPhoneNumberField"]').siblings().first().should('have.css', 'background', 'rgb(24, 158, 255)'); | ||
cy.get('[name="core.loginRegistration.showAccountTypeSelection"]').siblings().first().should('have.css', 'background', 'rgb(24, 158, 255)'); | ||
}); | ||
}); |