Skip to content

Commit

Permalink
chore: update e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 31, 2024
1 parent db0647b commit b8080d1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions e2e/tests/plugin-copy-code/copy-code.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ describe('copy-code', () => {
.then((el) => {
expect(el.length).to.be.greaterThan(0)

el.each((i, el) => {
el.click()

cy.get('.copy-code-button').eq(i).should('have.class', 'copied')
})
cy.wrap(el).click({ multiple: true })
cy.wrap(el).should('have.class', 'copied')
})
})
})

0 comments on commit b8080d1

Please sign in to comment.