1+ /* eslint-disable no-only-tests/no-only-tests */
12const path = require ( 'path' ) ;
23const { expect } = require ( 'chai' ) ;
34const isCI = require ( 'is-ci' ) ;
@@ -8,7 +9,7 @@ const { skipInNativeAutomation } = require('../../utils/skip-in');
89
910
1011if ( config . useLocalBrowsers ) {
11- describe ( 'Concurrency' , function ( ) {
12+ describe . only ( 'Concurrency' , function ( ) {
1213 let data = '' ;
1314
1415 function resolvePath ( file ) {
@@ -101,14 +102,14 @@ if (config.useLocalBrowsers) {
101102 } ) ;
102103
103104 it ( 'Should run tests sequentially if concurrency = 1' , function ( ) {
104- return run ( 'chrome :headless --no-sandbox' , 1 , './testcafe-fixtures/sequential-test.js' )
105+ return run ( 'edge :headless --no-sandbox' , 1 , './testcafe-fixtures/sequential-test.js' )
105106 . then ( ( ) => {
106107 expect ( testInfo . getData ( ) ) . eql ( [ 'long started' , 'long finished' , 'short started' , 'short finished' ] ) ;
107108 } ) ;
108109 } ) ;
109110
110111 it ( 'Should run tests concurrently if concurrency > 1' , function ( ) {
111- return run ( 'chrome :headless --no-sandbox --disable-gpu --disable-dev-shm-usage' , 2 , './testcafe-fixtures/concurrent-test.js' )
112+ return run ( 'edge :headless --no-sandbox --disable-gpu --disable-dev-shm-usage' , 2 , './testcafe-fixtures/concurrent-test.js' )
112113 . then ( ( ) => {
113114 expect ( testInfo . getData ( ) ) . eql ( [ 'test started' , 'test started' , 'short finished' , 'long finished' ] ) ;
114115 } ) ;
0 commit comments