File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
cypress/e2e/2-advanced-examples Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,13 @@ context('Connectors', () => {
2525 it ( '.invoke() - invoke a function on the current subject' , ( ) => {
2626 // our div is hidden in our script.js
2727 // $('.connectors-div').hide()
28+ cy . get ( '.connectors-div' ) . should ( 'be.hidden' )
2829
2930 // https://on.cypress.io/invoke
30- cy . get ( '.connectors-div' ) . should ( 'be.hidden' )
31- // call the jquery method 'show' on the ' div.container'
32- . invoke ( 'show' )
33- . should ( 'be.visible' )
31+ // call the jquery method 'show' on the 'div.container'
32+ cy . get ( '.connectors- div' ) . invoke ( 'show' )
33+
34+ cy . get ( '.connectors-div' ) . should ( 'be.visible' )
3435 } )
3536
3637 it ( '.spread() - spread an array as individual args to callback function' , ( ) => {
You can’t perform that action at this time.
0 commit comments