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:
sgrebnov 2016-02-08 12:55:47 +03:00
parent 234cca4e5b
commit 4f3b4df7d1

View File

@ -42,13 +42,13 @@ exports.defineAutoTests = function () {
var iabInstance;
var originalTimeout;
var url = 'http://apache.org/';
var url = 'https://dist.apache.org/repos/dist/dev/cordova/';
var badUrl = 'http://bad-uri/';
beforeEach(function () {
// increase timeout to ensure test url could be loaded within test time
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
iabInstance = null;
});