Skip to content

Commit 3d41ba2

Browse files
committed
fix test
1 parent c3e6b67 commit 3d41ba2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/driver/cypress/e2e/commands/prompt/prompt.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ describe('src/cy/commands/prompt', () => {
1212
// TODO: add more tests when cy.prompt is built out, but for now this just
1313
// verifies that the command executes without throwing an error
1414
// @ts-expect-error - this will not error when we actually release the experimentalPromptCommand flag
15-
cy.prompt('Hello, world!')
15+
cy.prompt(['Hello, world!'])
1616

1717
cy.visit('http://www.barbaz.com:3500/fixtures/dom.html')
1818

1919
cy.origin('http://www.barbaz.com:3500', () => {
2020
// @ts-expect-error - this will not error when we actually release the experimentalPromptCommand flag
21-
cy.prompt('Hello, world!')
21+
cy.prompt(['Hello, world!'])
2222
})
2323
})
2424

@@ -37,6 +37,6 @@ describe('src/cy/commands/prompt', () => {
3737

3838
cy.visit('http://www.foobar.com:3500/fixtures/dom.html')
3939
// @ts-expect-error - this will not error when we actually release the experimentalPromptCommand flag
40-
cy.prompt('Hello, world!')
40+
cy.prompt(['Hello, world!'])
4141
})
4242
})

0 commit comments

Comments
 (0)