@@ -54,19 +54,14 @@ module.exports = {
5454 // inbox
5555 . url ( base + '/inbox' )
5656 . waitForElementVisible ( 'h1' , 1000 )
57- . assert . elementNotPresent ( '.view h2' )
58- // wait for inbox's activation hook
59- . pause ( 600 )
6057 . assert . containsText ( '.view h2' , 'inbox!' )
6158 . assert . containsText ( '.view' , 'default yo' )
6259
6360 . url ( base + '/inbox/message/123' )
6461 . waitForElementVisible ( 'h1' , 1000 )
65- . assert . elementNotPresent ( '.view h2' )
66- . pause ( 600 )
67- . assert . containsText ( '.view h2' , 'inbox!' )
6862 . assert . containsText ( '.view div' , 'Loading data' )
69- . pause ( 600 )
63+ . assert . containsText ( '.view h2' , 'inbox!' )
64+ . pause ( 1500 )
7065 . assert . containsText ( '.view div' , 'message #123: Hello this is a message' )
7166 // confirm navigation
7267 . click ( 'a[href^="/user"]' )
@@ -91,7 +86,7 @@ module.exports = {
9186 . waitForElementVisible ( 'h1' , 1000 )
9287 . assert . visible ( '#app > p' )
9388 . assert . containsText ( '#app > p' , 'Authenticating' )
94- . pause ( 600 )
89+ . pause ( 1500 )
9590 . getAlertText ( function ( text ) {
9691 this . assert . ok ( / f o r b i d d e n b y a g l o b a l b e f o r e h o o k / . test ( text . value ) )
9792 } )
0 commit comments