-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vitalij Mik
committed
Mar 14, 2024
1 parent
042b5a1
commit 03be2b3
Showing
2 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -70,13 +70,13 @@ context("Plugin Config", () => { | |
cy.get('.sw-button-process').should('be.disabled'); | ||
|
||
// now fill in our data | ||
cy.get('input[data-testid="name"]').type('John'); | ||
cy.get('[data-testid="email"] input').type('[email protected]'); | ||
cy.get('input[data-testid="subject"]').type('Cypress Test Request'); | ||
cy.get('[data-testid="message"] [contenteditable="true"]').type('This is an automated request by Cypress and should not be sent.'); | ||
cy.get('.input-name input').type('John'); | ||
cy.get('.input-email input').type('[email protected]'); | ||
cy.get('.input-subject input').type('Cypress Test Request'); | ||
cy.get('.input-message [contenteditable="true"]').type('This is an automated request by Cypress and should not be sent.'); | ||
|
||
// now click somewhere else | ||
cy.get('input[data-testid="name"]').click(); | ||
cy.get('.input-name input').click(); | ||
|
||
// the send button should be enabled now | ||
cy.get('.sw-button-process').should('not.be.disabled'); | ||
|