File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ describe('Settings: Create and delete accounts', function() {
3939 cy . get ( 'input[type="password"]' ) . type ( john . password )
4040 // see that the password is 123456
4141 cy . get ( 'input[type="password"]' ) . should ( 'have.value' , john . password )
42+ } )
43+
44+ cy . get ( 'form[data-test="form"]' ) . parents ( '[role="dialog"]' ) . within ( ( ) => {
4245 // submit the new user form
4346 cy . get ( 'button[type="submit"]' ) . click ( { force : true } )
4447 } )
@@ -73,6 +76,9 @@ describe('Settings: Create and delete accounts', function() {
7376 cy . get ( 'input[type="password"]' ) . should ( 'exist' ) . and ( 'have.value' , '' )
7477 cy . get ( 'input[type="password"]' ) . type ( john . password )
7578 cy . get ( 'input[type="password"]' ) . should ( 'have.value' , john . password )
79+ } )
80+
81+ cy . get ( 'form[data-test="form"]' ) . parents ( '[role="dialog"]' ) . within ( ( ) => {
7682 // submit the new user form
7783 cy . get ( 'button[type="submit"]' ) . click ( { force : true } )
7884 } )
You can’t perform that action at this time.
0 commit comments