File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
app/tests/e2e/cypress/integration Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1- const config = require ( './../../../../config .json' ) ;
1+ const config = require ( './../../../../../cypress .json' ) ;
22
33describe ( 'create-react-redux-app-structure' , function ( ) {
44 it ( 'should assert that <title> is correct' , function ( ) {
5- cy . visit ( config . dev . serverHost ) ;
5+ cy . visit ( config . basicConfig . dev . visitURL ) ;
66
77 cy . title ( ) . should ( 'include' , 'Create React + Redux App Structure' ) ;
88 } ) ;
Original file line number Diff line number Diff line change 22 "fileServerFolder" : " app/tests/e2e/" ,
33 "integrationFolder" : " app/tests/e2e/cypress/integration" ,
44 "fixturesFolder" : " app/tests/e2e/cypress/fixtures" ,
5- "supportFile" : " app/tests/e2e/cypress/support"
5+ "supportFile" : " app/tests/e2e/cypress/support" ,
6+ "basicConfig" : {
7+ "staging" : {
8+ "visitURL" : " ."
9+ },
10+ "prod" : {
11+ "visitURL" : " ."
12+ },
13+ "dev" : {
14+ "visitURL" : " http://localhost:8080/"
15+ }
16+ }
617}
You can’t perform that action at this time.
0 commit comments