mirror of https://github.com/vitalif/phantomjs
Unit test: tweak secure connection check.
The main wikipedia page can be slow to load and thus triggers the timeout. Let's use the fast Google site so that we don't get flaky outcome. Issue #10882: https://github.com/ariya/phantomjs/issues/108821.9
parent
0cdd1ecc7a
commit
678f751275
|
@ -1069,7 +1069,7 @@ describe("WebPage object", function() {
|
||||||
|
|
||||||
it('should open url using secure connection', function() {
|
it('should open url using secure connection', function() {
|
||||||
var page = require('webpage').create();
|
var page = require('webpage').create();
|
||||||
var url = 'https://en.wikipedia.org';
|
var url = 'https://www.google.com/m';
|
||||||
|
|
||||||
var handled = false;
|
var handled = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue