11module . exports = {
22 'auth flow' : function ( browser ) {
33 browser
4- . url ( 'http://localhost:8080/auth-flow/' )
4+ . url ( 'http://localhost:8080/auth-flow/' )
55 . waitForElementVisible ( '#app' , 1000 )
66 . assert . containsText ( '#app p' , 'You are logged out' )
77
@@ -21,7 +21,7 @@ module.exports = {
2121 . assert . containsText ( '#app p' , 'Yay you made it!' )
2222
2323 // reload
24- . url ( 'http://localhost:8080/auth-flow/' )
24+ . url ( 'http://localhost:8080/auth-flow/' )
2525 . waitForElementVisible ( '#app' , 1000 )
2626 . assert . containsText ( '#app p' , 'You are logged in' )
2727
@@ -32,7 +32,7 @@ module.exports = {
3232 . assert . containsText ( '#app p' , 'Yay you made it!' )
3333
3434 // directly visit dashboard when logged in
35- . url ( 'http://localhost:8080/auth-flow/dashboard' )
35+ . url ( 'http://localhost:8080/auth-flow/dashboard' )
3636 . waitForElementVisible ( '#app' , 1000 )
3737 . assert . urlEquals ( 'http://localhost:8080/auth-flow/dashboard' )
3838 . assert . containsText ( '#app h2' , 'Dashboard' )
@@ -44,7 +44,7 @@ module.exports = {
4444 . assert . containsText ( '#app p' , 'You are logged out' )
4545
4646 // directly visit dashboard when logged out
47- . url ( 'http://localhost:8080/auth-flow/dashboard' )
47+ . url ( 'http://localhost:8080/auth-flow/dashboard' )
4848 . waitForElementVisible ( '#app' , 1000 )
4949 . assert . urlEquals ( 'http://localhost:8080/auth-flow/login?redirect=%2Fdashboard' )
5050 . assert . containsText ( '#app h2' , 'Login' )
0 commit comments