File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/driver/cypress/e2e/commands/prompt Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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} )
You can’t perform that action at this time.
0 commit comments