eslint-plugin-wdio 10.1.0-alpha.30 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/constants.d.ts.map +1 -1
- package/build/index.cjs +10 -3
- package/build/index.js +10 -3
- package/package.json +4 -4
- package/src/constants.ts +7 -0
package/build/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,UA2CpB,CAAA"}
|
package/build/index.cjs
CHANGED
|
@@ -49,16 +49,20 @@ var MATCHERS = [
|
|
|
49
49
|
"toBeExisting",
|
|
50
50
|
"toBeFocused",
|
|
51
51
|
"toBePresent",
|
|
52
|
+
"toBeReadOnly",
|
|
52
53
|
"toBeRequested",
|
|
53
54
|
"toBeRequestedTimes",
|
|
54
55
|
"toBeRequestedWith",
|
|
56
|
+
"toBeRequired",
|
|
55
57
|
"toBeSelected",
|
|
58
|
+
"toBeStable",
|
|
56
59
|
"toExist",
|
|
57
60
|
"toHaveAttribute",
|
|
58
61
|
"toHaveChildren",
|
|
59
62
|
"toHaveClipboardText",
|
|
60
63
|
"toHaveComputedLabel",
|
|
61
64
|
"toHaveComputedRole",
|
|
65
|
+
"toHaveCookie",
|
|
62
66
|
"toHaveElementClass",
|
|
63
67
|
"toHaveElementProperty",
|
|
64
68
|
"toHaveHTML",
|
|
@@ -67,13 +71,16 @@ var MATCHERS = [
|
|
|
67
71
|
"toHaveId",
|
|
68
72
|
"toHaveLink",
|
|
69
73
|
"toHaveLocalStorageItem",
|
|
74
|
+
"toHaveSessionStorageItem",
|
|
70
75
|
"toHaveSize",
|
|
71
76
|
"toHaveStyle",
|
|
77
|
+
"toHaveTagName",
|
|
72
78
|
"toHaveText",
|
|
73
79
|
"toHaveTitle",
|
|
74
80
|
"toHaveUrl",
|
|
75
81
|
"toHaveValue",
|
|
76
|
-
"toHaveWidth"
|
|
82
|
+
"toHaveWidth",
|
|
83
|
+
"toHaveWindowCount"
|
|
77
84
|
];
|
|
78
85
|
|
|
79
86
|
// src/rules/await-expect.ts
|
|
@@ -226,7 +233,7 @@ var no_pause_default = rule3;
|
|
|
226
233
|
// package.json
|
|
227
234
|
var package_default = {
|
|
228
235
|
name: "eslint-plugin-wdio",
|
|
229
|
-
version: "10.0.
|
|
236
|
+
version: "10.0.1",
|
|
230
237
|
description: "Eslint rules for WebdriverIO",
|
|
231
238
|
author: "Christian Bromann <mail@bromann.dev>",
|
|
232
239
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/eslint-plugin-wdio",
|
|
@@ -265,7 +272,7 @@ var package_default = {
|
|
|
265
272
|
"@types/estree": "^1.0.9",
|
|
266
273
|
"@wdio/types": "workspace:*",
|
|
267
274
|
eslint: "^10.11.0",
|
|
268
|
-
"expect-webdriverio": "^8.0.0
|
|
275
|
+
"expect-webdriverio": "^8.0.0",
|
|
269
276
|
globals: "^17.12.0",
|
|
270
277
|
"typescript-eslint": "^8.71.0"
|
|
271
278
|
},
|
package/build/index.js
CHANGED
|
@@ -10,16 +10,20 @@ var MATCHERS = [
|
|
|
10
10
|
"toBeExisting",
|
|
11
11
|
"toBeFocused",
|
|
12
12
|
"toBePresent",
|
|
13
|
+
"toBeReadOnly",
|
|
13
14
|
"toBeRequested",
|
|
14
15
|
"toBeRequestedTimes",
|
|
15
16
|
"toBeRequestedWith",
|
|
17
|
+
"toBeRequired",
|
|
16
18
|
"toBeSelected",
|
|
19
|
+
"toBeStable",
|
|
17
20
|
"toExist",
|
|
18
21
|
"toHaveAttribute",
|
|
19
22
|
"toHaveChildren",
|
|
20
23
|
"toHaveClipboardText",
|
|
21
24
|
"toHaveComputedLabel",
|
|
22
25
|
"toHaveComputedRole",
|
|
26
|
+
"toHaveCookie",
|
|
23
27
|
"toHaveElementClass",
|
|
24
28
|
"toHaveElementProperty",
|
|
25
29
|
"toHaveHTML",
|
|
@@ -28,13 +32,16 @@ var MATCHERS = [
|
|
|
28
32
|
"toHaveId",
|
|
29
33
|
"toHaveLink",
|
|
30
34
|
"toHaveLocalStorageItem",
|
|
35
|
+
"toHaveSessionStorageItem",
|
|
31
36
|
"toHaveSize",
|
|
32
37
|
"toHaveStyle",
|
|
38
|
+
"toHaveTagName",
|
|
33
39
|
"toHaveText",
|
|
34
40
|
"toHaveTitle",
|
|
35
41
|
"toHaveUrl",
|
|
36
42
|
"toHaveValue",
|
|
37
|
-
"toHaveWidth"
|
|
43
|
+
"toHaveWidth",
|
|
44
|
+
"toHaveWindowCount"
|
|
38
45
|
];
|
|
39
46
|
|
|
40
47
|
// src/rules/await-expect.ts
|
|
@@ -187,7 +194,7 @@ var no_pause_default = rule3;
|
|
|
187
194
|
// package.json
|
|
188
195
|
var package_default = {
|
|
189
196
|
name: "eslint-plugin-wdio",
|
|
190
|
-
version: "10.0.
|
|
197
|
+
version: "10.0.1",
|
|
191
198
|
description: "Eslint rules for WebdriverIO",
|
|
192
199
|
author: "Christian Bromann <mail@bromann.dev>",
|
|
193
200
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/eslint-plugin-wdio",
|
|
@@ -226,7 +233,7 @@ var package_default = {
|
|
|
226
233
|
"@types/estree": "^1.0.9",
|
|
227
234
|
"@wdio/types": "workspace:*",
|
|
228
235
|
eslint: "^10.11.0",
|
|
229
|
-
"expect-webdriverio": "^8.0.0
|
|
236
|
+
"expect-webdriverio": "^8.0.0",
|
|
230
237
|
globals: "^17.12.0",
|
|
231
238
|
"typescript-eslint": "^8.71.0"
|
|
232
239
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-wdio",
|
|
3
|
-
"version": "10.1.0
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"description": "Eslint rules for WebdriverIO",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/eslint-plugin-wdio",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/estree": "^1.0.9",
|
|
40
|
-
"@wdio/types": "10.1.0
|
|
40
|
+
"@wdio/types": "10.1.0",
|
|
41
41
|
"eslint": "^10.11.0",
|
|
42
|
-
"expect-webdriverio": "^8.0.0
|
|
42
|
+
"expect-webdriverio": "^8.0.0",
|
|
43
43
|
"globals": "^17.12.0",
|
|
44
44
|
"typescript-eslint": "^8.71.0"
|
|
45
45
|
},
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"optional": true
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "f9e88c9fd7b1665f4e85400d8970c53ec02631bb"
|
|
57
57
|
}
|
package/src/constants.ts
CHANGED
|
@@ -9,16 +9,20 @@ export const MATCHERS = [
|
|
|
9
9
|
'toBeExisting',
|
|
10
10
|
'toBeFocused',
|
|
11
11
|
'toBePresent',
|
|
12
|
+
'toBeReadOnly',
|
|
12
13
|
'toBeRequested',
|
|
13
14
|
'toBeRequestedTimes',
|
|
14
15
|
'toBeRequestedWith',
|
|
16
|
+
'toBeRequired',
|
|
15
17
|
'toBeSelected',
|
|
18
|
+
'toBeStable',
|
|
16
19
|
'toExist',
|
|
17
20
|
'toHaveAttribute',
|
|
18
21
|
'toHaveChildren',
|
|
19
22
|
'toHaveClipboardText',
|
|
20
23
|
'toHaveComputedLabel',
|
|
21
24
|
'toHaveComputedRole',
|
|
25
|
+
'toHaveCookie',
|
|
22
26
|
'toHaveElementClass',
|
|
23
27
|
'toHaveElementProperty',
|
|
24
28
|
'toHaveHTML',
|
|
@@ -27,11 +31,14 @@ export const MATCHERS = [
|
|
|
27
31
|
'toHaveId',
|
|
28
32
|
'toHaveLink',
|
|
29
33
|
'toHaveLocalStorageItem',
|
|
34
|
+
'toHaveSessionStorageItem',
|
|
30
35
|
'toHaveSize',
|
|
31
36
|
'toHaveStyle',
|
|
37
|
+
'toHaveTagName',
|
|
32
38
|
'toHaveText',
|
|
33
39
|
'toHaveTitle',
|
|
34
40
|
'toHaveUrl',
|
|
35
41
|
'toHaveValue',
|
|
36
42
|
'toHaveWidth',
|
|
43
|
+
'toHaveWindowCount',
|
|
37
44
|
]
|