Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmoses committed Aug 8, 2019
1 parent b091b50 commit 3821f8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/functional/pages/Article.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ module.exports = {
authorPage: locate('a')
.withText('4')
.as('Page 4'),
nevermindButton: locate('a')
nevermindButton: locate('button')
.withText('Nevermind, back to document')
.as('Back to document'),
boldButton: locate('button')
Expand Down
2 changes: 1 addition & 1 deletion test/functional/pages/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ module.exports = {
pdf: locate('p[class*="MediaGridCard__filename"]')
.withText('DADI_Publish.pdf')
.as('PDF Document'),
nevermindButton: locate('a')
nevermindButton: locate('button')
.withText('Nevermind, back to document')
.as('Back to document'),
boolYes: locate('span[class*="FieldBoolean__enabled"]')
Expand Down
2 changes: 1 addition & 1 deletion test/functional/pages/Media.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module.exports = {
deleteButton: locate('button')
.withText('Yes, delete it.')
.as('Delete Button'),
nevermindButton: locate('a')
nevermindButton: locate('button')
.withText('Nevermind, back to document')
.as('Back to document'),
filterButton: locate('button[class*="DocumentFilters__button"]').as(
Expand Down

0 comments on commit 3821f8c

Please sign in to comment.