constcreateTestCafe=require('testcafe');// Testcafe cannot test on IE < 11// Testcafe testing on Chrome Android is currently broken (https://github.com/DevExpress/testcafe/issues/3948)constbrowsers=['saucelabs:Internet Explorer@11.285:Windows 10','saucelabs:MicrosoftEdge@16.16299:Windows 10','saucelabs:iPhone XS Simulator@12.2','saucelabs:Safari@12.0:macOS 10.14','chrome:headless','firefox:headless'];lettestcafe;letrunner;letfailedCount;createTestCafe(null,8000,8001).then((tc)=>{testcafe=tc;runner=tc.createRunner();returnrunner.src('./tests/Sortable.compat.test.js').browsers(browsers).run();}).then((actualFailedCount)=>{// https://testcafe-discuss.devexpress.com/t/why-circleci-marked-build-as-green-even-if-this-build-contain-failed-test/726/2failedCount=actualFailedCount;returntestcafe.close();}).then(()=>process.exit(failedCount));