Flexible config parameters - #153
Open
ocr wants to merge 3 commits into
Open
Conversation
added 3 commits
September 22, 2016 15:32
The new config parameter disable automatic deletion of results directory after a test is over. The new flag can be set in wptdriver.ini and is turned off by default.
The new metadata parameter turns all forms of screenshot taking during a test.
Turns off LockStep mode for the webdriver script
renajohn
suggested changes
Sep 22, 2016
| GetCPUTime(_doc_cpu_time, _doc_total_time); | ||
| ActivityDetected(); | ||
| if (!_test._useHawk) { | ||
| if (!_test._useHawk && !_test._noScreenshots) { |
There was a problem hiding this comment.
we could simplify the code by:
- setting
_noScreenshotsto true when we want to use Hawk and only testing for_noScreenshots - Running image tools
if (!test._noScreenshots || test._useHawk)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
3 new configuration parameters for debugging:
In wptdriver.ini:
In the script metadata