CB-10538 cordova-plugin-inappbrowser timeout issue
There are some google scripts on Apache home page preventing page to fully loaded in time in some cases. Switched to Apache Community home page as test page and increased timeout just in case. github close #149
This commit is contained in:
parent
234cca4e5b
commit
4f3b4df7d1
@ -42,13 +42,13 @@ exports.defineAutoTests = function () {
|
|||||||
|
|
||||||
var iabInstance;
|
var iabInstance;
|
||||||
var originalTimeout;
|
var originalTimeout;
|
||||||
var url = 'http://apache.org/';
|
var url = 'https://dist.apache.org/repos/dist/dev/cordova/';
|
||||||
var badUrl = 'http://bad-uri/';
|
var badUrl = 'http://bad-uri/';
|
||||||
|
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
// increase timeout to ensure test url could be loaded within test time
|
// increase timeout to ensure test url could be loaded within test time
|
||||||
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
|
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
|
||||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
|
||||||
|
|
||||||
iabInstance = null;
|
iabInstance = null;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user