Skip to content

Commit

Permalink
tests(smoke): re-enable dialog prompt (#8894)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored and paulirish committed May 28, 2019
1 parent 52b2023 commit 9d4d7ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lighthouse-cli/test/fixtures/dobetterweb/dbw_tester.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ <h2>Do better web tester page</h2>
https://github.com/GoogleChrome/lighthouse/issues/1194 -->
<script>window.Error = function(error) { this.stack = 'stacktrace'; };</script>

<!--The javascriptDialogOpening test is disabled as we hit a platform bug frequently on travis-->
<!--<script>window.confirm('Is DBW Mega Tester the best site?')</script>-->
<!-- Does the automatic dialog suppression `driver.dismissJavaScriptDialogs()` work? -->
<script>window.confirm('Is DBW Mega Tester the best site?')</script>

<script>
function stampTemplate(id, location) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ module.exports = [
},
'dom-size': {
score: 1,
numericValue: 34,
numericValue: 35,
details: {
items: [
{statistic: 'Total DOM Elements', value: '34'},
{statistic: 'Total DOM Elements', value: '35'},
{statistic: 'Maximum DOM Depth', value: '3'},
{statistic: 'Maximum Child Elements', value: '32'},
{statistic: 'Maximum Child Elements', value: '33'},
],
},
},
Expand Down

0 comments on commit 9d4d7ed

Please sign in to comment.