Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(bootstrap): enable debug info before setting defer label
Browse files Browse the repository at this point in the history
Note that in most cases, this should not have surfaced as an issue because
the base test mock modules will also try to turn on debug info.

Closes #3009
  • Loading branch information
juliemr authored and cnishina committed Mar 18, 2016
1 parent 2cbe01e commit d3bd170
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/protractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,8 @@ Protractor.prototype.get = function(destination, opt_timeout) {

this.driver.get(this.resetUrl).then(null, deferred.reject);
this.executeScript_(
'window.name = "' + DEFER_LABEL + ENABLE_DEBUG_INFO_LABEL + '" + window.name;' +
'window.name = "' + ENABLE_DEBUG_INFO_LABEL + DEFER_LABEL + '" + window.name;' +

'window.location.replace("' + destination + '");',
msg('reset url'))
.then(null, deferred.reject);
Expand Down

0 comments on commit d3bd170

Please sign in to comment.