From 28e67bc5cfbff704007c49137ae68e473591e3f5 Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Tue, 18 Jun 2019 22:09:44 +0100 Subject: [PATCH 01/13] Migrate to use Xenial in Travis --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 85dc41194..eed17f5ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: node_js matrix: include: - node_js: 8 - script: npm run test-node:ci + script: 'npm run test-node:ci' - node_js: node addons: sauce_connect: true @@ -11,3 +11,6 @@ matrix: - npm run http-server & - sleep 2 script: npm run ui +dist: xenial +services: + - xvfb From 7d599d4c9e50913df4512b4dc0cce057b42187dc Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Fri, 28 Jun 2019 19:07:37 +0100 Subject: [PATCH 02/13] Upgrade testee --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f5822b75b..2b7b1809e 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "steal-conditional": "^0.3.2", "steal-qunit": "^1.0.0", "test-saucelabs": "0.0.1", - "testee": "^0.5.1", + "testee": "^0.9.0", "traceur": "0.0.111", "traceur-runtime": "jmcriffey/bower-traceur-runtime#0.0.91", "wd": "^1.1.3", From 5b2b73d4488764c811e49b0ae9537484107ef7f1 Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Mon, 1 Jul 2019 18:08:08 +0100 Subject: [PATCH 03/13] Upgrade iOS --- test/saucelabs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index f9ffa2ba5..1adb4bc67 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -29,10 +29,10 @@ var platforms = [{ version: '11.0' }, { browserName: 'Safari', - 'appium-version': '1.6.3', + 'appium-version': '1.9.1', platformName: 'iOS', - platformVersion: '10.0', - deviceName: 'iPhone 7 Simulator' + platformVersion: '11.0', + deviceName: 'iPhone 8 Simulator' }]; // collect platforms using the firefox browser From 9166924d9c8a40a79f797c6aeb4d78125342f9fc Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Wed, 3 Jul 2019 18:32:52 +0100 Subject: [PATCH 04/13] Fix broekn test on iOS --- test/parse_errors/dev.html | 2 +- test/syntax_errs/build.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parse_errors/dev.html b/test/parse_errors/dev.html index aa5c453f9..543769a0d 100644 --- a/test/parse_errors/dev.html +++ b/test/parse_errors/dev.html @@ -52,7 +52,7 @@ steal.import(rec.name) .then(function(){ if(window.assert) { - window.assert.ok(false, "This should not have resolved"); + window.assert.notOk(false, "This should not have resolved"); } }, function(err){ if(window.assert) { diff --git a/test/syntax_errs/build.html b/test/syntax_errs/build.html index de3678161..9ae5113ef 100644 --- a/test/syntax_errs/build.html +++ b/test/syntax_errs/build.html @@ -28,7 +28,7 @@ if(isEdge) { window.assert.ok(true); } else { - window.assert.ok(/breaking\.js/.test(err.stack), "Breaking file in the stack trace"); + window.assert.notOk(/breaking\.js/.test(err.stack), "Breaking file in the stack trace"); } window.done(); From efc265c8d54b5d56fa928ed9d06c0c139d67c860 Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Wed, 3 Jul 2019 19:10:28 +0100 Subject: [PATCH 05/13] Upgrade testee --- package.json | 2 +- test/parse_errors/dev.html | 2 +- test/syntax_errs/build.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2b7b1809e..11b5d4a30 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "saucelabs": "^1.3.0", "steal-conditional": "^0.3.2", "steal-qunit": "^1.0.0", - "test-saucelabs": "0.0.1", + "test-saucelabs": "^0.0.1", "testee": "^0.9.0", "traceur": "0.0.111", "traceur-runtime": "jmcriffey/bower-traceur-runtime#0.0.91", diff --git a/test/parse_errors/dev.html b/test/parse_errors/dev.html index 543769a0d..aa5c453f9 100644 --- a/test/parse_errors/dev.html +++ b/test/parse_errors/dev.html @@ -52,7 +52,7 @@ steal.import(rec.name) .then(function(){ if(window.assert) { - window.assert.notOk(false, "This should not have resolved"); + window.assert.ok(false, "This should not have resolved"); } }, function(err){ if(window.assert) { diff --git a/test/syntax_errs/build.html b/test/syntax_errs/build.html index 9ae5113ef..de3678161 100644 --- a/test/syntax_errs/build.html +++ b/test/syntax_errs/build.html @@ -28,7 +28,7 @@ if(isEdge) { window.assert.ok(true); } else { - window.assert.notOk(/breaking\.js/.test(err.stack), "Breaking file in the stack trace"); + window.assert.ok(/breaking\.js/.test(err.stack), "Breaking file in the stack trace"); } window.done(); From e384b77d9de5107cdbd51e06acb6f070dc474f9a Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Wed, 3 Jul 2019 19:16:55 +0100 Subject: [PATCH 06/13] Upgrade test-saucelabs to 0.0.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 11b5d4a30..f4756701b 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "saucelabs": "^1.3.0", "steal-conditional": "^0.3.2", "steal-qunit": "^1.0.0", - "test-saucelabs": "^0.0.1", + "test-saucelabs": "^0.0.6", "testee": "^0.9.0", "traceur": "0.0.111", "traceur-runtime": "jmcriffey/bower-traceur-runtime#0.0.91", From 8a0c4928dbe3b9b240779fe2118ae6e60e99cf64 Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Wed, 3 Jul 2019 20:17:48 +0100 Subject: [PATCH 07/13] Fix tests --- test/saucelabs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index 1adb4bc67..f9ffa2ba5 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -29,10 +29,10 @@ var platforms = [{ version: '11.0' }, { browserName: 'Safari', - 'appium-version': '1.9.1', + 'appium-version': '1.6.3', platformName: 'iOS', - platformVersion: '11.0', - deviceName: 'iPhone 8 Simulator' + platformVersion: '10.0', + deviceName: 'iPhone 7 Simulator' }]; // collect platforms using the firefox browser From f3cf87da7f1e87a40ea316f844a03e6727654715 Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Wed, 3 Jul 2019 21:05:05 +0100 Subject: [PATCH 08/13] Safari 10 --- test/saucelabs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index f9ffa2ba5..fef01f70d 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -29,10 +29,10 @@ var platforms = [{ version: '11.0' }, { browserName: 'Safari', - 'appium-version': '1.6.3', + 'appium-version': '1.9.1', platformName: 'iOS', platformVersion: '10.0', - deviceName: 'iPhone 7 Simulator' + deviceName: 'iPhone 8 Simulator' }]; // collect platforms using the firefox browser From 804c06716f359ffcfbc8ac5210a3a59de7faba2f Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Wed, 3 Jul 2019 21:26:55 +0100 Subject: [PATCH 09/13] iPhone 7 --- test/saucelabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index fef01f70d..3ef74e4d1 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -32,7 +32,7 @@ var platforms = [{ 'appium-version': '1.9.1', platformName: 'iOS', platformVersion: '10.0', - deviceName: 'iPhone 8 Simulator' + deviceName: 'iPhone 7 Simulator' }]; // collect platforms using the firefox browser From 0f4cb03ba449a91d336aed8163a388318ba399fd Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Thu, 4 Jul 2019 00:05:41 +0100 Subject: [PATCH 10/13] Fix iOS platform --- test/saucelabs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index 3ef74e4d1..1adb4bc67 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -31,8 +31,8 @@ var platforms = [{ browserName: 'Safari', 'appium-version': '1.9.1', platformName: 'iOS', - platformVersion: '10.0', - deviceName: 'iPhone 7 Simulator' + platformVersion: '11.0', + deviceName: 'iPhone 8 Simulator' }]; // collect platforms using the firefox browser From 403e6e656e0d410cb968323db9ed3df3ea30acab Mon Sep 17 00:00:00 2001 From: Cherif BOUCHELAGHEM Date: Tue, 13 Aug 2019 18:54:19 +0100 Subject: [PATCH 11/13] Fix tests for Safari --- test/init_error/dev.html | 4 +++- test/saucelabs.js | 4 ++-- test/syntax_errs/build.html | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/test/init_error/dev.html b/test/init_error/dev.html index 5cd80423d..c9e262a1f 100644 --- a/test/init_error/dev.html +++ b/test/init_error/dev.html @@ -18,7 +18,9 @@