Skip to content

Commit 3601e71

Browse files
authored
Merge pull request #9614 from asirvadAbrahamVarghese/enhance-form-element-selectors
Fixed error message typo in button selector command
2 parents 105e909 + 44b38cb commit 3601e71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/support/commands/element_selectors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Cypress.Commands.add(
1515
'getFormFooterButtonByTypeWithText',
1616
({ buttonType = 'button', buttonText } = {}) => {
1717
if (!buttonText) {
18-
cy.logAndThrowError('buttonName is required');
18+
cy.logAndThrowError('buttonText is required');
1919
}
2020
return cy.contains(
2121
`#main-content .bx--btn-set button[type="${buttonType}"]`,

0 commit comments

Comments
 (0)