File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11
22describe ( 'Dasher' , ( ) => {
33 before ( ( ) => {
4- cy . visit ( 'http://127.0.0.1:8000 ' )
4+ cy . visit ( '/browser/index.html ' )
55 } )
66
7- it ( 'should display "dasher" text on page' , ( ) => {
8- cy . contains ( 'dasher' )
7+ it ( 'should render the core UI controls' , ( ) => {
8+ cy . contains ( 'button' , 'New' , { timeout : 10000 } ) . should ( 'be.visible' )
9+ cy . contains ( 'button' , 'Prefs' ) . should ( 'be.visible' )
10+ cy . get ( '#user-interface' ) . should ( 'exist' )
911 } )
1012
1113 it ( 'A screenshot will be saved.' , ( ) => {
Original file line number Diff line number Diff line change 88 "eslint" : " eslint -c .eslintrc.yml ../browser" ,
99 "cy:open" : " cypress open" ,
1010 "cy:run" : " cypress run" ,
11- "server" : " cd ../browser && python3 -m http.server -b 127.0.0.1" ,
12- "cy:test" : " start-server-and-test server http://127.0.0.1:8000 cy:run"
11+ "server" : " cd .. && python3 -m http.server -b 127.0.0.1" ,
12+ "cy:test" : " start-server-and-test server http://127.0.0.1:8000/browser/index.html cy:run"
1313 },
1414 "author" : " " ,
1515 "license" : " ISC" ,
You can’t perform that action at this time.
0 commit comments