Skip to content

Commit

Permalink
Run tests in Firefox too
Browse files Browse the repository at this point in the history
  • Loading branch information
javan committed Dec 30, 2020
1 parent 010945c commit bf1fc22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions intern.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"goog:chromeOptions": {
"args": [ "headless", "disable-gpu" ]
}
},
{
"browserName": "firefox",
"moz:firefoxOptions": {
"args": [ "-headless" ]
}
}
],
"defaultTimeout": 2500
Expand Down
1 change: 1 addition & 0 deletions src/tests/functional/navigation_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export class NavigationTests extends TurboDriveTestCase {

async "test following a same-origin [target] link"() {
this.clickSelector("#same-origin-targeted-link")
await this.nextBeat
this.remote.switchToWindow(await this.nextWindowHandle)
this.assert.equal(await this.pathname, "/src/tests/fixtures/one.html")
this.assert.equal(await this.visitAction, "load")
Expand Down

0 comments on commit bf1fc22

Please sign in to comment.