File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ class FormPage extends Page {
284284 if ( tabName !== 'false' ) {
285285 super . open ( formPage ) ;
286286 this . currentTab = tabName ;
287- return $ (
287+ return $ (
288288 `//button[@role="tab"][span[contains(text(), "${ tabName } ")]]`
289289 ) . click ( ) ;
290290 }
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ module.exports = class Page {
99 * @param path path of the sub page (e.g. /path/to/page.html)
1010 */
1111 open ( path ) {
12- browser . url ( `${ process . env . VERCEL_URL || 'https://react-jsonschema-form-material-ui-22ntiabxb-github56.vercel.app' } /#${ path } ` ) ;
12+ browser . url ( `${ process . env . VERCEL_URL || 'http://localhost:3005' } /#${ path } ` ) ;
13+ $ ( '//button[span[contains(text(), "Submit")]]' ) . waitForClickable ( { timeout : 10000 } ) ;
1314 return $ ( '//button[@aria-label="full-screen-code"]' ) . click ( ) ;
1415 }
1516} ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ exports.config = {
2424 // NPM script (see https://docs.npmjs.com/cli/run-script) then the current working
2525 // directory is where your package.json resides, so `wdio` will be called from there.
2626 //
27- specs : [ './src/demo/examples/**/simple-object .feature' ] ,
27+ specs : [ './src/demo/examples/**/* .feature' ] ,
2828 // Patterns to exclude.
2929 exclude : [
3030 // 'path/to/excluded/files'
You can’t perform that action at this time.
0 commit comments