Skip to content

Commit df349ba

Browse files
committed
test: try fixing the failing test
1 parent 3343db6 commit df349ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/messageCanvas/actions/copy/copy.cy.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ describe('Copy component', () => {
1919
cy.get(copyButton).click()
2020
cy.window().then((win) => {
2121
win.navigator.clipboard.readText().then((text) => {
22+
window.focus()
2223
expect(text).to.eq('Hello World')
2324
})
2425
})

0 commit comments

Comments
 (0)