From fe4265be8de79505542d23cf8a83918604863e6b Mon Sep 17 00:00:00 2001 From: miherlosev Date: Fri, 3 Feb 2023 06:49:40 +0400 Subject: [PATCH] 2 --- gulp/constants/functional-test-globs.js | 1 + test/functional/fixtures/api/es-next/drag/test.js | 5 +++-- test/functional/fixtures/api/es-next/scroll/test.js | 3 ++- test/functional/fixtures/api/es-next/upload/test.js | 7 ++++--- test/functional/fixtures/api/raw/upload/test.js | 9 +++++---- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/gulp/constants/functional-test-globs.js b/gulp/constants/functional-test-globs.js index 720275d2d64..e77cadc9abd 100644 --- a/gulp/constants/functional-test-globs.js +++ b/gulp/constants/functional-test-globs.js @@ -45,6 +45,7 @@ const PROXYLESS_TESTS_GLOB = [ '!test/functional/fixtures/regression/gh-1846/test.js', '!test/functional/fixtures/regression/gh-2546/test.js', '!test/functional/fixtures/regression/gh-2601/test.js', + '!test/functional/fixtures/hammerhead/gh-2622/test.js', '!test/functional/fixtures/regression/gh-2861/test.js', '!test/functional/fixtures/regression/gh-3127/test.js', '!test/functional/fixtures/regression/gh-423/test.js', diff --git a/test/functional/fixtures/api/es-next/drag/test.js b/test/functional/fixtures/api/es-next/drag/test.js index 75cf2a1737c..7ec5b5f9c87 100644 --- a/test/functional/fixtures/api/es-next/drag/test.js +++ b/test/functional/fixtures/api/es-next/drag/test.js @@ -1,4 +1,5 @@ -const expect = require('chai').expect; +const { skipInProxyless } = require('../../../../utils/skip-in'); +const { expect } = require('chai'); describe('[API] Drag actions', function () { @@ -136,7 +137,7 @@ describe('[API] Drag actions', function () { return runTests('./testcafe-fixtures/drag-and-drop-test.js', 'try to drop to undroppable', { skip: ['iphone', 'ipad', 'android'] }); }); - it('Should reproduce native browser behavior', function () { + skipInProxyless('Should reproduce native browser behavior', function () { return runTests('./testcafe-fixtures/drag-and-drop-test.js', 'drag link and image', { only: ['chrome'] }); }); diff --git a/test/functional/fixtures/api/es-next/scroll/test.js b/test/functional/fixtures/api/es-next/scroll/test.js index f6ee8468cf5..23b986d433b 100644 --- a/test/functional/fixtures/api/es-next/scroll/test.js +++ b/test/functional/fixtures/api/es-next/scroll/test.js @@ -1,4 +1,5 @@ -describe('Scroll', () => { +const { skipDescribeInProxyless } = require('../../../../utils/skip-in'); +skipDescribeInProxyless('Scroll', () => { it('Should raise events for scroll', () => { return runTests('./testcafe-fixtures/raise-events.js'); }); diff --git a/test/functional/fixtures/api/es-next/upload/test.js b/test/functional/fixtures/api/es-next/upload/test.js index b1e87ce6b8b..562e0e51349 100644 --- a/test/functional/fixtures/api/es-next/upload/test.js +++ b/test/functional/fixtures/api/es-next/upload/test.js @@ -1,9 +1,10 @@ -const { expect } = require('chai'); -const path = require('path'); +const { expect } = require('chai'); +const path = require('path'); +const { skipInProxyless } = require('../../../../utils/skip-in'); describe('[API] Upload', function () { describe('t.setFilesToUpload', function () { - it('Should upload the specified file', function () { + skipInProxyless('Should upload the specified file', function () { return runTests('./testcafe-fixtures/upload-test.js', 'Upload the file', { only: 'chrome' }); }); diff --git a/test/functional/fixtures/api/raw/upload/test.js b/test/functional/fixtures/api/raw/upload/test.js index 9a72a8aefb6..1e8b0e1f9cc 100644 --- a/test/functional/fixtures/api/raw/upload/test.js +++ b/test/functional/fixtures/api/raw/upload/test.js @@ -1,9 +1,10 @@ -const expect = require('chai').expect; -const errorInEachBrowserContains = require('../../../../assertion-helper.js').errorInEachBrowserContains; +const { skipInProxyless } = require('../../../../utils/skip-in'); +const { expect } = require('chai'); +const { errorInEachBrowserContains } = require('../../../../assertion-helper.js'); describe('[Raw API] Upload', function () { - it('Should upload a file', function () { + skipInProxyless('Should upload a file', function () { return runTests('./testcafe-fixtures/upload.testcafe', 'Upload a file', { shouldFail: true }) .catch(function (errs) { errorInEachBrowserContains(errs, 'File uploaded', 0); @@ -25,7 +26,7 @@ describe('[Raw API] Upload', function () { }); }); - it('Should upload files', function () { + skipInProxyless('Should upload files', function () { return runTests('./testcafe-fixtures/upload.testcafe', 'Upload files', { shouldFail: true }) .catch(function (errs) { errorInEachBrowserContains(errs, 'Files uploaded', 0);