Skip to content

Commit

Permalink
Update hash-mode.js
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelmutschlechner committed Feb 7, 2019
1 parent bb2aed9 commit 4be938e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/e2e/specs/hash-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,11 @@ module.exports = {
.url('http://localhost:8080/hash-mode/#/%C3%A9')
.waitForElementVisible('#app', 1000)
.assert.containsText('.view', 'unicode')
.end()

// check hash placed correctly
.url('http://localhost:8080/hash-mode/foo?page=123')
.waitForElementVisible('#app', 1000)
.assert.urlEquals('http://localhost:8080/hash-mode/#/foo?page=123')
.assert.count('li', 4)
.assert.count('li a', 3)
.assert.attributeContains('li:nth-child(1) a', 'href', '/hash-mode/#/')
.assert.attributeContains('li:nth-child(2) a', 'href', '/hash-mode/#/foo')
.assert.attributeContains('li:nth-child(3) a', 'href', '/hash-mode/#/bar')
.assert.containsText('.view', 'foo')
.end()
}
Expand Down

0 comments on commit 4be938e

Please sign in to comment.