@commercetools-frontend/cypress 21.7.0 → 21.9.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.
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var constants = require('./constants-42a0ebf5.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "21.
|
|
8
|
+
var version = "21.9.0";
|
|
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-4d9d4b7b.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "21.
|
|
8
|
+
var version = "21.9.0";
|
|
9
9
|
|
|
10
10
|
exports.OIDC_RESPONSE_TYPES = constants.OIDC_RESPONSE_TYPES;
|
|
11
11
|
exports.STORAGE_KEYS = constants.STORAGE_KEYS;
|
|
@@ -1,11 +1,43 @@
|
|
|
1
1
|
export declare type CommandLoginByOidcOptions = {
|
|
2
|
+
/**
|
|
3
|
+
* The application entry point URI path. This value is used to identify
|
|
4
|
+
* the correct application config.
|
|
5
|
+
*/
|
|
2
6
|
entryPointUriPath: string;
|
|
7
|
+
/**
|
|
8
|
+
* Pass a list of dotfiles that must be loaded when the custom-application-config.json
|
|
9
|
+
* is loaded (in case you are using environment placeholder).
|
|
10
|
+
* By default the following dotfiles are loaded: `.env` and `.env.local`.
|
|
11
|
+
* You can also define the values using paths relative to the application folder.
|
|
12
|
+
*/
|
|
3
13
|
dotfiles?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Called before your page has loaded all of its resources.
|
|
16
|
+
* Use this as a chance to interact for example with the browser storage.
|
|
17
|
+
*/
|
|
4
18
|
onBeforeLoad?: (win: Window) => void;
|
|
19
|
+
/**
|
|
20
|
+
* If defined, visit this route after login.
|
|
21
|
+
*/
|
|
5
22
|
initialRoute?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The project key to access in the user session. The session token is valid for one project key at a time.
|
|
25
|
+
* Defaults to `Cypress.env('PROJECT_KEY')`.
|
|
26
|
+
*/
|
|
6
27
|
projectKey?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The user login credentials.
|
|
30
|
+
*/
|
|
7
31
|
login?: {
|
|
32
|
+
/**
|
|
33
|
+
* The user email.
|
|
34
|
+
* Defaults to `Cypress.env('LOGIN_EMAIL') ?? Cypress.env('LOGIN_USER')`.
|
|
35
|
+
*/
|
|
8
36
|
email: string;
|
|
37
|
+
/**
|
|
38
|
+
* The user password.
|
|
39
|
+
* Defaults to `Cypress.env('LOGIN_PASSWORD')`.
|
|
40
|
+
*/
|
|
9
41
|
password: string;
|
|
10
42
|
};
|
|
11
43
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/cypress",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.9.0",
|
|
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": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"README.md"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@babel/runtime": "^7.
|
|
39
|
-
"@babel/runtime-corejs3": "^7.
|
|
40
|
-
"@commercetools-frontend/application-config": "21.
|
|
41
|
-
"@commercetools-frontend/application-shell": "21.
|
|
38
|
+
"@babel/runtime": "^7.18.6",
|
|
39
|
+
"@babel/runtime-corejs3": "^7.18.6",
|
|
40
|
+
"@commercetools-frontend/application-config": "21.9.0",
|
|
41
|
+
"@commercetools-frontend/application-shell": "21.9.0",
|
|
42
42
|
"@manypkg/get-packages": "1.1.3",
|
|
43
43
|
"uuid": "8.3.2"
|
|
44
44
|
},
|