-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create visual_regression test suite.
- Add test:visualRegression npm script. - Split up test:visualRegression grunt task into takeScreenshots and buildGallery subtasks. - Add intern_visual_regression.js test file. - Rename api_itern.js -> intern_api.js for consistency. - Refactor delayed exports logic for readability. - Refactor common.js page object to use ES2015 Class.
- Loading branch information
Showing
12 changed files
with
415 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
define(function (require) { | ||
const serverConfig = require('intern/dojo/node!./server_config'); | ||
return Object.assign({ | ||
debug: true, | ||
capabilities: { | ||
'selenium-version': '2.53.0', | ||
// must match URL in tasks/config/downloadSelenium.js | ||
'idle-timeout': 99 | ||
}, | ||
environments: [{ | ||
browserName: 'chrome' | ||
}], | ||
tunnelOptions: serverConfig.servers.webdriver, | ||
functionalSuites: [ | ||
'test/visual_regression/index' | ||
], | ||
|
||
excludeInstrumentation: /.*/, | ||
|
||
defaultTimeout: 90000, | ||
defaultTryTimeout: 40000, // tryForTime could include multiple 'find timeouts' | ||
defaultFindTimeout: 10000 // this is how long we try to find elements on page | ||
}, serverConfig); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.