fixed segfault occuring when a test forgets to switch back to main frame
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -17,5 +17,6 @@ casper.start('tests/site/frames.html', function() { | ... | @@ -17,5 +17,6 @@ casper.start('tests/site/frames.html', function() { |
17 | }); | 17 | }); |
18 | 18 | ||
19 | casper.run(function() { | 19 | casper.run(function() { |
20 | this.page.switchToMainFrame(); | ||
20 | this.test.done(); | 21 | this.test.done(); |
21 | }); | 22 | }); | ... | ... |
-
Please register or sign in to post a comment