Skip to content

Commit

Permalink
test: fix analysis button selector
Browse files Browse the repository at this point in the history
  • Loading branch information
everyonesdesign committed Mar 2, 2024
1 parent 85cd506 commit 0017b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Cypress.Commands.add('setAnalysisFen', (fen) => {
.wait(SHORT_DELAY)
.get('[aria-label^="Paste one or more PGNs"]')
.type(`${fen}{enter}`)
.get('[data-cy="add-games-btn"]')
.get('[data-cy="add-games-btn"], .load-from-pgn-component .cc-button-primary')
.click()
.wait(SHORT_DELAY)
})
Expand Down

0 comments on commit 0017b31

Please sign in to comment.