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

Commit d3bd170

Browse files
juliemrcnishina
authored andcommitted
fix(bootstrap): enable debug info before setting defer label
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
1 parent 2cbe01e commit d3bd170

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/protractor.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,8 @@ Protractor.prototype.get = function(destination, opt_timeout) {
637637

638638
this.driver.get(this.resetUrl).then(null, deferred.reject);
639639
this.executeScript_(
640-
'window.name = "' + DEFER_LABEL + ENABLE_DEBUG_INFO_LABEL + '" + window.name;' +
640+
'window.name = "' + ENABLE_DEBUG_INFO_LABEL + DEFER_LABEL + '" + window.name;' +
641+
641642
'window.location.replace("' + destination + '");',
642643
msg('reset url'))
643644
.then(null, deferred.reject);

0 commit comments

Comments
 (0)