@applitools/eyes-cypress 3.27.3 → 3.27.4

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 CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
 
12
12
 
13
+ ## 3.27.4 - 2022/10/19
14
+
15
+ ### Features
16
+ ### Bug fixes
17
+ - Fix support for chrome emulation when passing browser name
18
+
13
19
  ## 3.27.3 - 2022/10/19
14
20
 
15
21
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-cypress",
3
- "version": "3.27.3",
3
+ "version": "3.27.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git://github.com/applitools/eyes.sdk.javascript1.git",
@@ -89,8 +89,10 @@ function eyesOpenMapValues({args, appliConfFile, testName, shouldUseBrowserHooks
89
89
  }
90
90
 
91
91
  function fillDefaultBrowserName(browser) {
92
- if (!browser.name && !browser.iosDeviceInfo && !browser.chromeEmulationInfo) {
93
- browser.name = 'chrome';
92
+ if (!browser.iosDeviceInfo && !browser.chromeEmulationInfo) {
93
+ if (!browser.name) {
94
+ browser.name = 'chrome';
95
+ }
94
96
  if (browser.deviceName) {
95
97
  browser = {chromeEmulationInfo: browser};
96
98
  }