@applitools/eyes-playwright 1.31.0 → 1.32.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/CHANGELOG.md +55 -0
- package/README.md +2 -2
- package/dist/fixture/cli.js +1 -1
- package/dist/fixture/reportRenderer.js +5 -4
- package/dist/fixture/reporterStyle.css +3 -0
- package/package.json +3 -3
- package/types/index.d.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.32.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.31.0...js/eyes-playwright@1.32.0) (2024-11-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* playwright report - small ui fixes ([0297307](https://github.com/Applitools-Dev/sdk/commit/02973071be1faf3138773901214613b7f048df62))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* playwright docs links ([#2627](https://github.com/Applitools-Dev/sdk/issues/2627)) ([5f7c794](https://github.com/Applitools-Dev/sdk/commit/5f7c794a603c060e0082f0d29a56d1947bf44d8b))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* @applitools/driver bumped to 1.20.0
|
|
19
|
+
#### Features
|
|
20
|
+
|
|
21
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
22
|
+
* @applitools/screenshoter bumped to 3.10.0
|
|
23
|
+
#### Features
|
|
24
|
+
|
|
25
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
* @applitools/core bumped to 4.24.0
|
|
30
|
+
#### Features
|
|
31
|
+
|
|
32
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
* @applitools/dom-snapshot bumped to 4.11.9
|
|
37
|
+
|
|
38
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.20
|
|
39
|
+
|
|
40
|
+
* @applitools/spec-driver-selenium bumped to 1.5.91
|
|
41
|
+
|
|
42
|
+
* @applitools/spec-driver-playwright bumped to 1.5.3
|
|
43
|
+
|
|
44
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.20
|
|
45
|
+
|
|
46
|
+
* @applitools/nml-client bumped to 1.8.18
|
|
47
|
+
|
|
48
|
+
* @applitools/ec-client bumped to 1.9.14
|
|
49
|
+
|
|
50
|
+
* @applitools/eyes bumped to 1.27.0
|
|
51
|
+
#### Features
|
|
52
|
+
|
|
53
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
3
58
|
## [1.31.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright-v1.30.3...js/eyes-playwright@1.31.0) (2024-11-11)
|
|
4
59
|
|
|
5
60
|
|
package/README.md
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
<br/>
|
|
9
9
|
|
|
10
10
|
## Resources
|
|
11
|
-
- [Quick start](https://applitools.com/tutorials/
|
|
12
|
-
- [API reference](https://applitools.com/
|
|
11
|
+
- [Quick start](https://applitools.com/tutorials/playwright)
|
|
12
|
+
- [API reference](https://applitools.com/tutorials/playwright/api/overview)
|
package/dist/fixture/cli.js
CHANGED
|
@@ -153,7 +153,7 @@ async function init(args) {
|
|
|
153
153
|
log('');
|
|
154
154
|
log("👀 The Eyes HTML reporter extends Playwright's HTML reporter with improved side by side visual comparison");
|
|
155
155
|
log('');
|
|
156
|
-
log('Visit
|
|
156
|
+
log('Visit https://applitools.com/tutorials/playwright for more information.');
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
async function runExample() {
|
|
@@ -452,11 +452,12 @@ class ReportRenderer {
|
|
|
452
452
|
|
|
453
453
|
chip.querySelector(
|
|
454
454
|
'.chip-header-text',
|
|
455
|
-
).innerHTML = `Eyes Test Results <span class="test-header-info"> - ${sessionText} <
|
|
456
|
-
result
|
|
457
|
-
|
|
455
|
+
).innerHTML = `Eyes Test Results <span class="test-header-info"> - ${sessionText} <div class="eyes-info">${this.createEyesInfo(
|
|
456
|
+
getSingleSessionStatus(result),
|
|
457
|
+
false,
|
|
458
|
+
)}</div><a href=${result.appUrls.session} target='_blank' title='View in Eyes Dashboard'>
|
|
458
459
|
<span>${window.__icons.link}</span>
|
|
459
|
-
</a
|
|
460
|
+
</a></span>`;
|
|
460
461
|
|
|
461
462
|
chip.querySelector('.chip-header-text a').onclick = event => event.stopPropagation();
|
|
462
463
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-playwright",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
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.
|
|
63
|
-
"@applitools/spec-driver-playwright": "1.5.
|
|
62
|
+
"@applitools/eyes": "1.27.0",
|
|
63
|
+
"@applitools/spec-driver-playwright": "1.5.3",
|
|
64
64
|
"@applitools/utils": "1.7.5",
|
|
65
65
|
"@inquirer/prompts": "7.0.1",
|
|
66
66
|
"chalk": "4.1.2",
|
package/types/index.d.ts
CHANGED
|
@@ -495,6 +495,7 @@ export type ConfigurationPlain = {
|
|
|
495
495
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
496
496
|
matchLevel?: undefined | MatchLevelPlain;
|
|
497
497
|
matchTimeout?: undefined | number;
|
|
498
|
+
mobileOptions?: undefined | { keepNavigationBar?: undefined | boolean; };
|
|
498
499
|
parentBranchName?: undefined | string;
|
|
499
500
|
properties?: undefined | Array<PropertyDataPlain>;
|
|
500
501
|
proxy?: undefined | ProxySettingsPlain;
|
|
@@ -714,6 +715,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
714
715
|
set matchTimeout(matchTimeout: number);
|
|
715
716
|
getMatchTimeout(): number;
|
|
716
717
|
setMatchTimeout(matchTimeout: number): Configuration;
|
|
718
|
+
get mobileOptions(): { keepNavigationBar?: undefined | boolean; };
|
|
719
|
+
set mobileOptions(mobileOptions: { keepNavigationBar?: undefined | boolean; });
|
|
720
|
+
getMobileOptions(): { keepNavigationBar?: undefined | boolean; };
|
|
721
|
+
setMobileOptions(mobileOptions: { keepNavigationBar?: undefined | boolean; }): Configuration;
|
|
717
722
|
get parentBranchName(): string;
|
|
718
723
|
set parentBranchName(parentBranchName: string);
|
|
719
724
|
getParentBranchName(): string;
|