@commercetools-frontend/cypress 22.23.0 → 22.23.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/add-commands/dist/commercetools-frontend-cypress-add-commands.cjs.dev.js +3 -1
- package/add-commands/dist/commercetools-frontend-cypress-add-commands.cjs.prod.js +3 -1
- package/add-commands/dist/commercetools-frontend-cypress-add-commands.esm.js +3 -1
- package/dist/commercetools-frontend-cypress.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-cypress.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-cypress.esm.js +1 -1
- package/package.json +4 -4
|
@@ -85,7 +85,9 @@ function loginByForm(commandOptions) {
|
|
|
85
85
|
// const mcFrontendHostname = mcUrl.hostname.replace('mc-api', 'mc');
|
|
86
86
|
|
|
87
87
|
function authCallback() {
|
|
88
|
-
cy.visit(url
|
|
88
|
+
cy.visit(url, {
|
|
89
|
+
onBeforeLoad: commandOptions.onBeforeLoad
|
|
90
|
+
});
|
|
89
91
|
|
|
90
92
|
// NOTE: using `cy.origin` is currently disabled as it does not seem to properly work.
|
|
91
93
|
// Interestingly, starting an application locally using Vite works, however not when using Webpack.
|
|
@@ -85,7 +85,9 @@ function loginByForm(commandOptions) {
|
|
|
85
85
|
// const mcFrontendHostname = mcUrl.hostname.replace('mc-api', 'mc');
|
|
86
86
|
|
|
87
87
|
function authCallback() {
|
|
88
|
-
cy.visit(url
|
|
88
|
+
cy.visit(url, {
|
|
89
|
+
onBeforeLoad: commandOptions.onBeforeLoad
|
|
90
|
+
});
|
|
89
91
|
|
|
90
92
|
// NOTE: using `cy.origin` is currently disabled as it does not seem to properly work.
|
|
91
93
|
// Interestingly, starting an application locally using Vite works, however not when using Webpack.
|
|
@@ -66,7 +66,9 @@ function loginByForm(commandOptions) {
|
|
|
66
66
|
// const mcFrontendHostname = mcUrl.hostname.replace('mc-api', 'mc');
|
|
67
67
|
|
|
68
68
|
function authCallback() {
|
|
69
|
-
cy.visit(url
|
|
69
|
+
cy.visit(url, {
|
|
70
|
+
onBeforeLoad: commandOptions.onBeforeLoad
|
|
71
|
+
});
|
|
70
72
|
|
|
71
73
|
// NOTE: using `cy.origin` is currently disabled as it does not seem to properly work.
|
|
72
74
|
// Interestingly, starting an application locally using Vite works, however not when using Webpack.
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var constants = require('./constants-c657705e.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "22.23.
|
|
8
|
+
var version = "22.23.2";
|
|
9
9
|
|
|
10
10
|
exports.OIDC_RESPONSE_TYPES = constants.OIDC_RESPONSE_TYPES;
|
|
11
11
|
exports.STORAGE_KEYS = constants.STORAGE_KEYS;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var constants = require('./constants-8ad2a50e.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "22.23.
|
|
8
|
+
var version = "22.23.2";
|
|
9
9
|
|
|
10
10
|
exports.OIDC_RESPONSE_TYPES = constants.OIDC_RESPONSE_TYPES;
|
|
11
11
|
exports.STORAGE_KEYS = constants.STORAGE_KEYS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/cypress",
|
|
3
|
-
"version": "22.23.
|
|
3
|
+
"version": "22.23.2",
|
|
4
4
|
"description": "Cypress commands and utilities for Custom Applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@babel/runtime": "^7.22.15",
|
|
43
43
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
44
|
-
"@commercetools-frontend/application-config": "22.23.
|
|
45
|
-
"@commercetools-frontend/application-shell": "22.23.
|
|
46
|
-
"@commercetools-frontend/constants": "22.23.
|
|
44
|
+
"@commercetools-frontend/application-config": "22.23.2",
|
|
45
|
+
"@commercetools-frontend/application-shell": "22.23.2",
|
|
46
|
+
"@commercetools-frontend/constants": "22.23.2",
|
|
47
47
|
"@manypkg/get-packages": "1.1.3",
|
|
48
48
|
"@types/semver": "^7.5.1",
|
|
49
49
|
"semver": "7.6.0",
|