Skip to content

Commit

Permalink
pause before checking for changed text
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenClontz committed Sep 6, 2024
1 parent 7ba9373 commit ec9e775
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/viewer/cypress/e2e/citation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ describe('citation button', () => {
it('copies Markdown links', () => {
cy.visit('/')

let b = cy.get('button').contains('Markdown Link')
const b = cy.get('button').contains('Markdown Link')
b.click()
cy.wait(1000)
b.should('have.text', 'Copied!')

cy.wait(5000)

cy.wait(3000)
b.should('have.text', 'Markdown link')

cy.window().then(win => {
Expand Down

0 comments on commit ec9e775

Please sign in to comment.