File tree 2 files changed +17
-14
lines changed
2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 1
1
< html >
2
2
< head >
3
+ < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css " integrity ="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm " crossorigin ="anonymous ">
3
4
< style >
4
5
body {font-family : Arial, Helvetica, sans-serif;}
5
- h1 {color : # 2255BB ; font-size : 32px ;}
6
+ h1 {color : # 3366CC ; font-size : 32px ;}
6
7
input {color : # 009999 ; font-size : 24px ;
7
- box-shadow : 0 0 4 px gray ;}
8
+ box-shadow : 0 0 5 px teal ;}
8
9
</ style >
9
10
</ head >
10
11
< body >
12
+ < div class ="container ">
11
13
< h1 > Select an option:</ h1 >
12
- < form method ="put " action ="/run_my_first_test_in_firefox ">
13
- < input type ="submit " value ="Run Test in Firefox ">
14
- </ form >
15
14
< form method ="put " action ="/run_my_first_test_in_chrome ">
16
15
< input type ="submit " value ="Run Test in Chrome ">
17
16
</ form >
18
- < form method ="put " action ="/run_my_first_test_in_firefox_with_demo_mode ">
19
- < input type ="submit " value ="Run Test in Firefox (Demo Mode) ">
17
+ < form method ="put " action ="/run_my_first_test_in_firefox ">
18
+ < input type ="submit " value ="Run Test in Firefox ">
20
19
</ form >
21
20
< form method ="put " action ="/run_my_first_test_in_chrome_with_demo_mode ">
22
21
< input type ="submit " value ="Run Test in Chrome (Demo Mode) ">
23
22
</ form >
23
+ < form method ="put " action ="/run_my_first_test_in_firefox_with_demo_mode ">
24
+ < input type ="submit " value ="Run Test in Firefox (Demo Mode) ">
25
+ </ form >
26
+ </ div >
24
27
</ body >
25
28
</ html >
Original file line number Diff line number Diff line change @@ -4,22 +4,22 @@ var path = require('path');
4
4
var app = express ( ) ;
5
5
var exec = require ( 'child_process' ) . exec ;
6
6
7
- function run_my_first_test_in_firefox ( ) {
8
- exec ( "nosetests my_first_test.py --browser=firefox" ) ;
9
- }
10
-
11
7
function run_my_first_test_in_chrome ( ) {
12
- exec ( "nosetests my_first_test.py --browser=chrome" ) ;
8
+ exec ( "nosetests my_first_test.py --browser=chrome -s " ) ;
13
9
}
14
10
15
- function run_my_first_test_in_firefox_with_demo_mode ( ) {
16
- exec ( "nosetests my_first_test.py --browser=firefox --demo_mode " ) ;
11
+ function run_my_first_test_in_firefox ( ) {
12
+ exec ( "nosetests my_first_test.py --browser=firefox -s " ) ;
17
13
}
18
14
19
15
function run_my_first_test_in_chrome_with_demo_mode ( ) {
20
16
exec ( "nosetests my_first_test.py --browser=chrome --demo_mode" ) ;
21
17
}
22
18
19
+ function run_my_first_test_in_firefox_with_demo_mode ( ) {
20
+ exec ( "nosetests my_first_test.py --browser=firefox --demo_mode" ) ;
21
+ }
22
+
23
23
app . get ( '/' , function ( req , res ) {
24
24
res . sendFile ( path . join ( __dirname + '/index.html' ) ) ;
25
25
} )
You can’t perform that action at this time.
0 commit comments