Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
miherlosev committed Feb 3, 2023
1 parent b088371 commit fe4265b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions gulp/constants/functional-test-globs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
5 changes: 3 additions & 2 deletions test/functional/fixtures/api/es-next/drag/test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const expect = require('chai').expect;
const { skipInProxyless } = require('../../../../utils/skip-in');
const { expect } = require('chai');


describe('[API] Drag actions', function () {
Expand Down Expand Up @@ -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'] });
});

Expand Down
3 changes: 2 additions & 1 deletion test/functional/fixtures/api/es-next/scroll/test.js
Original file line number Diff line number Diff line change
@@ -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');
});
Expand Down
7 changes: 4 additions & 3 deletions test/functional/fixtures/api/es-next/upload/test.js
Original file line number Diff line number Diff line change
@@ -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' });
});

Expand Down
9 changes: 5 additions & 4 deletions test/functional/fixtures/api/raw/upload/test.js
Original file line number Diff line number Diff line change
@@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit fe4265b

Please sign in to comment.