Skip to content

Commit 274e3ca

Browse files
update to 2.0.1
1 parent 998ec6d commit 274e3ca

20 files changed

+14999
-13163
lines changed

.auditignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.editorconfig

Lines changed: 0 additions & 15 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 85 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

Gulpfile.js

Lines changed: 0 additions & 68 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# testcafe-browser-provider-testingbot
2-
[![Build Status](https://travis-ci.org/testingbot/testcafe-browser-provider-testingbot.svg)](https://travis-ci.org/testingbot/testcafe-browser-provider-testingbot)
3-
41
This plugin integrates [TestCafe](http://devexpress.github.io/testcafe) with the [TestingBot Testing Cloud](https://testingbot.com).
52

63
## Install
@@ -24,13 +21,13 @@ testcafe -b testingbot
2421
When you run tests from the command line, use the alias when specifying browsers:
2522

2623
```
27-
testcafe "testingbot:chrome@83:WIN10" 'path/to/test/file.js'
24+
testcafe "testingbot:chrome@latest:WIN10" 'path/to/test/file.js'
2825
```
2926

3027
If you'd like to run a test on multiple browsers, simultaneously:
3128

3229
```
33-
testcafe "testingbot:chrome@83:WIN10","testingbot:firefox@79:CATALINA" 'path/to/test/file.js'
30+
testcafe "testingbot:chrome@latest:WIN10","testingbot:firefox@latest-1:SONOMA" 'path/to/test/file.js'
3431
```
3532

3633
When you use API, pass the alias to the `browsers()` method:
@@ -91,4 +88,4 @@ $ sudo npm link
9188
```
9289

9390
## About TestingBot
94-
[TestingBot](https://testingbot.com) provides a cloud of +2500 browsers and physical mobile devices. This cloud hosted Selenium grid is 100% compatible with all frameworks and Selenium/Appium bindings. Take advantage of high concurrency [selenium testing](https://testingbot.com/features) in the cloud.
91+
[TestingBot](https://testingbot.com) provides a cloud of +5200 browsers and physical mobile devices. TestingBot is 100% compatible with all frameworks and Selenium/Appium bindings. Take advantage of high concurrency [selenium testing](https://testingbot.com/features) in the cloud.

capabilities.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"firefox": {
88
"browserName": "firefox",
99
"browserVersion": "latest-1",
10-
"platformName": "CATALINA",
10+
"platformName": "SONOMA",
1111
"tb:options": {
1212
"screenshots" : true
1313
}

eslint.config.js

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
const ts = require("typescript-eslint");
2+
const js = require("@eslint/js");
3+
const prettier = require("eslint-config-prettier");
4+
5+
module.exports = ts.config(
6+
js.configs.recommended,
7+
...ts.configs.recommended,
8+
prettier,
9+
10+
// Generated Files.
11+
{
12+
ignores: ["lib/**"],
13+
},
14+
15+
// Test Files.
16+
{
17+
files: ["tests/**/*.js"],
18+
languageOptions: {
19+
globals: {
20+
document: true,
21+
},
22+
},
23+
},
24+
25+
// CommonJS (Node.js) JavaScript Files.
26+
{
27+
files: ["**/*.js"],
28+
languageOptions: {
29+
globals: {
30+
process: "readonly",
31+
Buffer: "readonly",
32+
__dirname: "readonly",
33+
module: "readonly",
34+
require: "readonly",
35+
exports: "readonly",
36+
console: "readonly",
37+
setTimeout: "readonly",
38+
},
39+
},
40+
rules: {
41+
"@typescript-eslint/no-var-requires": "off",
42+
},
43+
},
44+
45+
// TestCafe Test Files.
46+
{
47+
files: ["test/testcafe/**/*.js"],
48+
languageOptions: {
49+
globals: {
50+
fixture: "readonly", // TestCafe globals
51+
test: "readonly",
52+
},
53+
},
54+
},
55+
56+
// Test Files (Mocha).
57+
{
58+
files: ["test/mocha/**/*.js"],
59+
languageOptions: {
60+
globals: {
61+
describe: "readonly", // Mocha globals
62+
it: "readonly",
63+
before: "readonly",
64+
after: "readonly",
65+
beforeEach: "readonly",
66+
afterEach: "readonly",
67+
process: "readonly", // Allow process in tests as well
68+
},
69+
},
70+
},
71+
72+
// Everything Else.
73+
{
74+
languageOptions: {
75+
globals: {
76+
__dirname: true,
77+
console: true,
78+
exports: true,
79+
module: true,
80+
require: true,
81+
},
82+
},
83+
},
84+
);

0 commit comments

Comments
 (0)