We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f098345 commit bbd7beaCopy full SHA for bbd7bea
test/e2e/specs/lazy-loading.js
@@ -3,7 +3,7 @@ module.exports = {
3
browser
4
.url('http://localhost:8080/lazy-loading/')
5
.waitForElementVisible('#app', 1000)
6
- .assert.count('li a', 3)
+ .assert.count('li a', 4)
7
.assert.containsText('.view', 'home')
8
9
.click('li:nth-child(2) a')
@@ -15,10 +15,19 @@ module.exports = {
15
.click('li:nth-child(1) a')
16
17
18
+ .click('li:nth-child(4) a')
19
+ .assert.containsText('.view', 'This is Bar!')
20
+ .assert.containsText('.view h3', 'Baz')
21
+
22
// test initial visit
23
.url('http://localhost:8080/lazy-loading/foo')
24
25
.assert.containsText('.view', 'This is Foo!')
26
27
+ .url('http://localhost:8080/lazy-loading/bar/baz')
28
+ .waitForElementVisible('#app', 1000)
29
30
31
.end()
32
}
33
0 commit comments