@applitools/eyes-playwright 1.30.0 → 1.30.2
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/CHANGELOG.md +103 -0
- package/dist/fixture/cli.js +13 -13
- package/package.json +3 -3
- package/types/fixture.d.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,108 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.30.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.30.1...js/eyes-playwright@1.30.2) (2024-10-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* playwright fixture run-example cli ([7243c7a](https://github.com/Applitools-Dev/sdk/commit/7243c7a88673fda2df3536d9efd60d371c1ff835))
|
|
9
|
+
|
|
10
|
+
## [1.30.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.30.0...js/eyes-playwright@1.30.1) (2024-10-31)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Dependencies
|
|
19
|
+
|
|
20
|
+
* @applitools/dom-snapshot bumped to 4.11.6
|
|
21
|
+
#### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
* @applitools/snippets bumped to 2.6.1
|
|
28
|
+
#### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
31
|
+
* @applitools/driver bumped to 1.19.6
|
|
32
|
+
#### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.18
|
|
39
|
+
#### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
* @applitools/spec-driver-selenium bumped to 1.5.89
|
|
46
|
+
#### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
* @applitools/spec-driver-playwright bumped to 1.5.1
|
|
53
|
+
#### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.18
|
|
60
|
+
#### Bug Fixes
|
|
61
|
+
|
|
62
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
* @applitools/screenshoter bumped to 3.9.4
|
|
67
|
+
#### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
* @applitools/nml-client bumped to 1.8.16
|
|
74
|
+
#### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
* @applitools/core-base bumped to 1.19.1
|
|
81
|
+
#### Bug Fixes
|
|
82
|
+
|
|
83
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
84
|
+
* @applitools/ec-client bumped to 1.9.12
|
|
85
|
+
#### Bug Fixes
|
|
86
|
+
|
|
87
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
* @applitools/core bumped to 4.22.1
|
|
92
|
+
#### Bug Fixes
|
|
93
|
+
|
|
94
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
* @applitools/eyes bumped to 1.26.1
|
|
99
|
+
#### Bug Fixes
|
|
100
|
+
|
|
101
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
3
106
|
## [1.30.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.29.5...js/eyes-playwright@1.30.0) (2024-10-31)
|
|
4
107
|
|
|
5
108
|
|
package/dist/fixture/cli.js
CHANGED
|
@@ -165,23 +165,23 @@ async function runExample() {
|
|
|
165
165
|
async function writeTmpPlaywrightConfig() {
|
|
166
166
|
if (!playwrightTmpExists) {
|
|
167
167
|
const playwrighConfig = await fs_1.promises.readFile('./playwright.config.ts', 'utf-8');
|
|
168
|
-
const apikeyMatch = playwrighConfig.match(/apiKey: (
|
|
168
|
+
const apikeyMatch = playwrighConfig.match(/apiKey: ([^,]+)/);
|
|
169
169
|
const apiKey = apikeyMatch ? apikeyMatch[1] : undefined;
|
|
170
|
-
const serverUrlMatch = playwrighConfig.match(/serverUrl: (
|
|
170
|
+
const serverUrlMatch = playwrighConfig.match(/serverUrl: ([^,]+)/);
|
|
171
171
|
const serverUrl = serverUrlMatch ? serverUrlMatch[1] : undefined;
|
|
172
172
|
const playwrightTmpConfig = `import { defineConfig, devices } from '@playwright/test';
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
173
|
+
import { EyesFixture } from '@applitools/eyes-playwright/fixture';
|
|
174
|
+
export default defineConfig<EyesFixture>({
|
|
175
|
+
testDir: '.',
|
|
176
|
+
outputDir: './test-results',
|
|
177
|
+
reporter: [['@applitools/eyes-playwright/reporter', {open: 'always', outputFolder: './eyes-playwright-report'}]],
|
|
178
|
+
use: {
|
|
179
|
+
eyesConfig: {
|
|
180
|
+
apiKey: ${apiKey !== null && apiKey !== void 0 ? apiKey : ''},
|
|
181
|
+
serverUrl: ${serverUrl !== null && serverUrl !== void 0 ? serverUrl : ''}
|
|
183
182
|
}
|
|
184
|
-
}
|
|
183
|
+
}
|
|
184
|
+
})`;
|
|
185
185
|
await fs_1.promises.writeFile(playwrightTmpConfigPath, playwrightTmpConfig);
|
|
186
186
|
}
|
|
187
187
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-playwright",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.2",
|
|
4
4
|
"description": "Applitools Eyes SDK for Playwright",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-playwright",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"up:framework": "echo \"$(jq '.devDependencies.playwright = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@applitools/eyes": "1.26.
|
|
63
|
-
"@applitools/spec-driver-playwright": "1.5.
|
|
62
|
+
"@applitools/eyes": "1.26.1",
|
|
63
|
+
"@applitools/spec-driver-playwright": "1.5.1",
|
|
64
64
|
"@applitools/utils": "1.7.4",
|
|
65
65
|
"@inquirer/prompts": "7.0.1",
|
|
66
66
|
"chalk": "4.1.2",
|
package/types/fixture.d.ts
CHANGED
|
@@ -45,4 +45,6 @@ type EyesTestFixture = EyesFixture & {
|
|
|
45
45
|
|
|
46
46
|
type EyesWorkerFixture = EyesFixture
|
|
47
47
|
|
|
48
|
-
export const test: ReturnType<typeof base.extend<EyesTestFixture, EyesWorkerFixture>>
|
|
48
|
+
export const test: ReturnType<typeof base.extend<EyesTestFixture, EyesWorkerFixture>>
|
|
49
|
+
|
|
50
|
+
export {expect} from '@playwright/test'
|