@commercetools-frontend/cypress 24.7.2 → 24.8.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/add-commands/dist/commercetools-frontend-cypress-add-commands.cjs.d.ts +2 -2
- package/add-commands/dist/commercetools-frontend-cypress-add-commands.cjs.dev.js +10 -16
- package/add-commands/dist/commercetools-frontend-cypress-add-commands.cjs.prod.js +10 -16
- package/add-commands/dist/commercetools-frontend-cypress-add-commands.esm.js +10 -14
- package/dist/commercetools-frontend-cypress.cjs.d.ts +2 -2
- 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/dist/declarations/src/add-commands/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +2 -2
- package/dist/declarations/src/task/index.d.ts +3 -3
- package/package.json +6 -6
- package/task/dist/commercetools-frontend-cypress-task.cjs.d.ts +3 -3
- package/add-commands/dist/commercetools-frontend-cypress-add-commands.cjs.d.ts.map +0 -1
- package/dist/commercetools-frontend-cypress.cjs.d.ts.map +0 -1
- package/dist/declarations/src/add-commands/real-hover.d.ts +0 -41
- package/task/dist/commercetools-frontend-cypress-task.cjs.d.ts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "../../dist/declarations/src/add-commands/index";
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
export * from "../../dist/declarations/src/add-commands/index.js";
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1jeXByZXNzLWFkZC1jb21tYW5kcy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2Rpc3QvZGVjbGFyYXRpb25zL3NyYy9hZGQtY29tbWFuZHMvaW5kZXguZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
|
|
@@ -15,9 +15,7 @@ var _URL = require('@babel/runtime-corejs3/core-js-stable/url');
|
|
|
15
15
|
var semver = require('semver');
|
|
16
16
|
var constants$1 = require('../../dist/constants-009cb682.cjs.dev.js');
|
|
17
17
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
18
|
-
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
19
18
|
var _Array$from = require('@babel/runtime-corejs3/core-js-stable/array/from');
|
|
20
|
-
var _entriesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/entries');
|
|
21
19
|
var _reduceRightInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce-right');
|
|
22
20
|
|
|
23
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -33,9 +31,7 @@ var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defin
|
|
|
33
31
|
var _findInstanceProperty__default = /*#__PURE__*/_interopDefault(_findInstanceProperty);
|
|
34
32
|
var _URL__default = /*#__PURE__*/_interopDefault(_URL);
|
|
35
33
|
var semver__default = /*#__PURE__*/_interopDefault(semver);
|
|
36
|
-
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
37
34
|
var _Array$from__default = /*#__PURE__*/_interopDefault(_Array$from);
|
|
38
|
-
var _entriesInstanceProperty__default = /*#__PURE__*/_interopDefault(_entriesInstanceProperty);
|
|
39
35
|
var _reduceRightInstanceProperty__default = /*#__PURE__*/_interopDefault(_reduceRightInstanceProperty);
|
|
40
36
|
|
|
41
37
|
function ownKeys$1(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -194,7 +190,8 @@ function loginByForm(commandOptions) {
|
|
|
194
190
|
cy.get('input[name="password"]').should('be.visible');
|
|
195
191
|
// Fill in the password and submit
|
|
196
192
|
cy.get('input[name="password"]').type(userCredentials.password, {
|
|
197
|
-
log: false
|
|
193
|
+
log: false,
|
|
194
|
+
force: true
|
|
198
195
|
});
|
|
199
196
|
cy.get('button').contains('Submit').click({
|
|
200
197
|
force: true
|
|
@@ -270,7 +267,8 @@ function loginByForm(commandOptions) {
|
|
|
270
267
|
cy.get('input[name="password"]').should('be.visible');
|
|
271
268
|
// Fill in the password and submit
|
|
272
269
|
cy.get('input[name="password"]').type(args.password, {
|
|
273
|
-
log: false
|
|
270
|
+
log: false,
|
|
271
|
+
force: true
|
|
274
272
|
});
|
|
275
273
|
cy.get('button').contains('Submit').click({
|
|
276
274
|
force: true
|
|
@@ -442,7 +440,7 @@ function scrollIntoView(htmlElement) {
|
|
|
442
440
|
// for cross origin domains .frameElement returns null so query using parentWindow
|
|
443
441
|
// but when running using --disable-web-security it will return the frame element
|
|
444
442
|
function getFrameElement(currentWindow) {
|
|
445
|
-
var _context
|
|
443
|
+
var _context;
|
|
446
444
|
if (currentWindow.frameElement) {
|
|
447
445
|
// accessible for same-origin iframes
|
|
448
446
|
// or when running with --disable-web-security
|
|
@@ -451,11 +449,7 @@ function getFrameElement(currentWindow) {
|
|
|
451
449
|
|
|
452
450
|
// fallback to querying using the parent window, mainly to grab the AUT iframe
|
|
453
451
|
const iframeElements = currentWindow.parent.document.querySelectorAll('iframe');
|
|
454
|
-
return _findInstanceProperty__default["default"](_context =
|
|
455
|
-
let _ref2 = _slicedToArray(_ref, 2),
|
|
456
|
-
element = _ref2[1];
|
|
457
|
-
return element;
|
|
458
|
-
})).call(_context, element => element.contentWindow === currentWindow);
|
|
452
|
+
return _findInstanceProperty__default["default"](_context = _Array$from__default["default"](iframeElements)).call(_context, element => element.contentWindow === currentWindow);
|
|
459
453
|
}
|
|
460
454
|
function getIframesPositionShift(element) {
|
|
461
455
|
let currentWindow = element.ownerDocument.defaultView;
|
|
@@ -477,10 +471,10 @@ function getIframesPositionShift(element) {
|
|
|
477
471
|
}
|
|
478
472
|
currentWindow = currentWindow.parent;
|
|
479
473
|
}
|
|
480
|
-
return _reduceRightInstanceProperty__default["default"](iframes).call(iframes, (
|
|
481
|
-
let frameX =
|
|
482
|
-
frameY =
|
|
483
|
-
frameScale =
|
|
474
|
+
return _reduceRightInstanceProperty__default["default"](iframes).call(iframes, (_ref, frame) => {
|
|
475
|
+
let frameX = _ref.frameX,
|
|
476
|
+
frameY = _ref.frameY,
|
|
477
|
+
frameScale = _ref.frameScale;
|
|
484
478
|
const _frame$getBoundingCli = frame.getBoundingClientRect(),
|
|
485
479
|
x = _frame$getBoundingCli.x,
|
|
486
480
|
y = _frame$getBoundingCli.y,
|
|
@@ -15,9 +15,7 @@ var _URL = require('@babel/runtime-corejs3/core-js-stable/url');
|
|
|
15
15
|
var semver = require('semver');
|
|
16
16
|
var constants$1 = require('../../dist/constants-2f1475a6.cjs.prod.js');
|
|
17
17
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
18
|
-
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
19
18
|
var _Array$from = require('@babel/runtime-corejs3/core-js-stable/array/from');
|
|
20
|
-
var _entriesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/entries');
|
|
21
19
|
var _reduceRightInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce-right');
|
|
22
20
|
|
|
23
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -33,9 +31,7 @@ var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defin
|
|
|
33
31
|
var _findInstanceProperty__default = /*#__PURE__*/_interopDefault(_findInstanceProperty);
|
|
34
32
|
var _URL__default = /*#__PURE__*/_interopDefault(_URL);
|
|
35
33
|
var semver__default = /*#__PURE__*/_interopDefault(semver);
|
|
36
|
-
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
37
34
|
var _Array$from__default = /*#__PURE__*/_interopDefault(_Array$from);
|
|
38
|
-
var _entriesInstanceProperty__default = /*#__PURE__*/_interopDefault(_entriesInstanceProperty);
|
|
39
35
|
var _reduceRightInstanceProperty__default = /*#__PURE__*/_interopDefault(_reduceRightInstanceProperty);
|
|
40
36
|
|
|
41
37
|
function ownKeys$1(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -194,7 +190,8 @@ function loginByForm(commandOptions) {
|
|
|
194
190
|
cy.get('input[name="password"]').should('be.visible');
|
|
195
191
|
// Fill in the password and submit
|
|
196
192
|
cy.get('input[name="password"]').type(userCredentials.password, {
|
|
197
|
-
log: false
|
|
193
|
+
log: false,
|
|
194
|
+
force: true
|
|
198
195
|
});
|
|
199
196
|
cy.get('button').contains('Submit').click({
|
|
200
197
|
force: true
|
|
@@ -270,7 +267,8 @@ function loginByForm(commandOptions) {
|
|
|
270
267
|
cy.get('input[name="password"]').should('be.visible');
|
|
271
268
|
// Fill in the password and submit
|
|
272
269
|
cy.get('input[name="password"]').type(args.password, {
|
|
273
|
-
log: false
|
|
270
|
+
log: false,
|
|
271
|
+
force: true
|
|
274
272
|
});
|
|
275
273
|
cy.get('button').contains('Submit').click({
|
|
276
274
|
force: true
|
|
@@ -442,7 +440,7 @@ function scrollIntoView(htmlElement) {
|
|
|
442
440
|
// for cross origin domains .frameElement returns null so query using parentWindow
|
|
443
441
|
// but when running using --disable-web-security it will return the frame element
|
|
444
442
|
function getFrameElement(currentWindow) {
|
|
445
|
-
var _context
|
|
443
|
+
var _context;
|
|
446
444
|
if (currentWindow.frameElement) {
|
|
447
445
|
// accessible for same-origin iframes
|
|
448
446
|
// or when running with --disable-web-security
|
|
@@ -451,11 +449,7 @@ function getFrameElement(currentWindow) {
|
|
|
451
449
|
|
|
452
450
|
// fallback to querying using the parent window, mainly to grab the AUT iframe
|
|
453
451
|
const iframeElements = currentWindow.parent.document.querySelectorAll('iframe');
|
|
454
|
-
return _findInstanceProperty__default["default"](_context =
|
|
455
|
-
let _ref2 = _slicedToArray(_ref, 2),
|
|
456
|
-
element = _ref2[1];
|
|
457
|
-
return element;
|
|
458
|
-
})).call(_context, element => element.contentWindow === currentWindow);
|
|
452
|
+
return _findInstanceProperty__default["default"](_context = _Array$from__default["default"](iframeElements)).call(_context, element => element.contentWindow === currentWindow);
|
|
459
453
|
}
|
|
460
454
|
function getIframesPositionShift(element) {
|
|
461
455
|
let currentWindow = element.ownerDocument.defaultView;
|
|
@@ -477,10 +471,10 @@ function getIframesPositionShift(element) {
|
|
|
477
471
|
}
|
|
478
472
|
currentWindow = currentWindow.parent;
|
|
479
473
|
}
|
|
480
|
-
return _reduceRightInstanceProperty__default["default"](iframes).call(iframes, (
|
|
481
|
-
let frameX =
|
|
482
|
-
frameY =
|
|
483
|
-
frameScale =
|
|
474
|
+
return _reduceRightInstanceProperty__default["default"](iframes).call(iframes, (_ref, frame) => {
|
|
475
|
+
let frameX = _ref.frameX,
|
|
476
|
+
frameY = _ref.frameY,
|
|
477
|
+
frameScale = _ref.frameScale;
|
|
484
478
|
const _frame$getBoundingCli = frame.getBoundingClientRect(),
|
|
485
479
|
x = _frame$getBoundingCli.x,
|
|
486
480
|
y = _frame$getBoundingCli.y,
|
|
@@ -13,9 +13,7 @@ import _URL from '@babel/runtime-corejs3/core-js-stable/url';
|
|
|
13
13
|
import semver from 'semver';
|
|
14
14
|
import { H as HTTP_STATUS_CODES } from '../../dist/constants-13c76918.esm.js';
|
|
15
15
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
16
|
-
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
17
16
|
import _Array$from from '@babel/runtime-corejs3/core-js-stable/array/from';
|
|
18
|
-
import _entriesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/entries';
|
|
19
17
|
import _reduceRightInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce-right';
|
|
20
18
|
|
|
21
19
|
function ownKeys$1(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -174,7 +172,8 @@ function loginByForm(commandOptions) {
|
|
|
174
172
|
cy.get('input[name="password"]').should('be.visible');
|
|
175
173
|
// Fill in the password and submit
|
|
176
174
|
cy.get('input[name="password"]').type(userCredentials.password, {
|
|
177
|
-
log: false
|
|
175
|
+
log: false,
|
|
176
|
+
force: true
|
|
178
177
|
});
|
|
179
178
|
cy.get('button').contains('Submit').click({
|
|
180
179
|
force: true
|
|
@@ -250,7 +249,8 @@ function loginByForm(commandOptions) {
|
|
|
250
249
|
cy.get('input[name="password"]').should('be.visible');
|
|
251
250
|
// Fill in the password and submit
|
|
252
251
|
cy.get('input[name="password"]').type(args.password, {
|
|
253
|
-
log: false
|
|
252
|
+
log: false,
|
|
253
|
+
force: true
|
|
254
254
|
});
|
|
255
255
|
cy.get('button').contains('Submit').click({
|
|
256
256
|
force: true
|
|
@@ -422,7 +422,7 @@ function scrollIntoView(htmlElement) {
|
|
|
422
422
|
// for cross origin domains .frameElement returns null so query using parentWindow
|
|
423
423
|
// but when running using --disable-web-security it will return the frame element
|
|
424
424
|
function getFrameElement(currentWindow) {
|
|
425
|
-
var _context
|
|
425
|
+
var _context;
|
|
426
426
|
if (currentWindow.frameElement) {
|
|
427
427
|
// accessible for same-origin iframes
|
|
428
428
|
// or when running with --disable-web-security
|
|
@@ -431,11 +431,7 @@ function getFrameElement(currentWindow) {
|
|
|
431
431
|
|
|
432
432
|
// fallback to querying using the parent window, mainly to grab the AUT iframe
|
|
433
433
|
const iframeElements = currentWindow.parent.document.querySelectorAll('iframe');
|
|
434
|
-
return _findInstanceProperty(_context =
|
|
435
|
-
let _ref2 = _slicedToArray(_ref, 2),
|
|
436
|
-
element = _ref2[1];
|
|
437
|
-
return element;
|
|
438
|
-
})).call(_context, element => element.contentWindow === currentWindow);
|
|
434
|
+
return _findInstanceProperty(_context = _Array$from(iframeElements)).call(_context, element => element.contentWindow === currentWindow);
|
|
439
435
|
}
|
|
440
436
|
function getIframesPositionShift(element) {
|
|
441
437
|
let currentWindow = element.ownerDocument.defaultView;
|
|
@@ -457,10 +453,10 @@ function getIframesPositionShift(element) {
|
|
|
457
453
|
}
|
|
458
454
|
currentWindow = currentWindow.parent;
|
|
459
455
|
}
|
|
460
|
-
return _reduceRightInstanceProperty(iframes).call(iframes, (
|
|
461
|
-
let frameX =
|
|
462
|
-
frameY =
|
|
463
|
-
frameScale =
|
|
456
|
+
return _reduceRightInstanceProperty(iframes).call(iframes, (_ref, frame) => {
|
|
457
|
+
let frameX = _ref.frameX,
|
|
458
|
+
frameY = _ref.frameY,
|
|
459
|
+
frameScale = _ref.frameScale;
|
|
464
460
|
const _frame$getBoundingCli = frame.getBoundingClientRect(),
|
|
465
461
|
x = _frame$getBoundingCli.x,
|
|
466
462
|
y = _frame$getBoundingCli.y,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./declarations/src/index";
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
export * from "./declarations/src/index.js";
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1jeXByZXNzLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var constants = require('./constants-009cb682.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "24.
|
|
8
|
+
var version = "24.8.0";
|
|
9
9
|
|
|
10
10
|
exports.HTTP_STATUS_CODES = constants.HTTP_STATUS_CODES;
|
|
11
11
|
exports.OIDC_RESPONSE_TYPES = constants.OIDC_RESPONSE_TYPES;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var constants = require('./constants-2f1475a6.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "24.
|
|
8
|
+
var version = "24.8.0";
|
|
9
9
|
|
|
10
10
|
exports.HTTP_STATUS_CODES = constants.HTTP_STATUS_CODES;
|
|
11
11
|
exports.OIDC_RESPONSE_TYPES = constants.OIDC_RESPONSE_TYPES;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { H as HTTP_STATUS_CODES, O as OIDC_RESPONSE_TYPES, S as STORAGE_KEYS } from './constants-13c76918.esm.js';
|
|
2
2
|
|
|
3
3
|
// NOTE: This string will be replaced on build time with the package version.
|
|
4
|
-
var version = "24.
|
|
4
|
+
var version = "24.8.0";
|
|
5
5
|
|
|
6
6
|
export { version };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Matcher as TMatcher } from '@testing-library/dom';
|
|
2
|
-
import { type CommandLoginOptions as TCommandLoginOptions, type LoginToMerchantCenterForCustomViewCommandLoginOptions as TLoginToMerchantCenterForCustomViewCommandLoginOptions } from
|
|
2
|
+
import { type CommandLoginOptions as TCommandLoginOptions, type LoginToMerchantCenterForCustomViewCommandLoginOptions as TLoginToMerchantCenterForCustomViewCommandLoginOptions } from "./login.js";
|
|
3
3
|
export type CommandLoginOptions = TCommandLoginOptions;
|
|
4
4
|
export type LoginToMerchantCenterForCustomViewCommandLoginOptions = TLoginToMerchantCenterForCustomViewCommandLoginOptions;
|
|
5
5
|
export type Matcher = TMatcher;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as version } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default as version } from "./version.js";
|
|
2
|
+
export * from "./constants.js";
|
|
@@ -4,10 +4,10 @@ type CustomEntityConfigTaskOptions = {
|
|
|
4
4
|
dotfiles?: string[];
|
|
5
5
|
packageName?: string;
|
|
6
6
|
};
|
|
7
|
-
declare const customApplicationConfig: (options: CustomEntityConfigTaskOptions) => Promise<ApplicationRuntimeConfig[
|
|
8
|
-
declare const customViewConfig: (options: Omit<CustomEntityConfigTaskOptions,
|
|
7
|
+
declare const customApplicationConfig: (options: CustomEntityConfigTaskOptions) => Promise<ApplicationRuntimeConfig["env"]>;
|
|
8
|
+
declare const customViewConfig: (options: Omit<CustomEntityConfigTaskOptions, "entryPointUriPath">) => Promise<ApplicationRuntimeConfig["env"]>;
|
|
9
9
|
export { customApplicationConfig, customViewConfig };
|
|
10
10
|
declare const legacyConfig: {
|
|
11
|
-
customApplicationConfig: (options: CustomEntityConfigTaskOptions) => Promise<ApplicationRuntimeConfig[
|
|
11
|
+
customApplicationConfig: (options: CustomEntityConfigTaskOptions) => Promise<ApplicationRuntimeConfig["env"]>;
|
|
12
12
|
};
|
|
13
13
|
export default legacyConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/cypress",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.8.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": {
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@babel/runtime": "^7.22.15",
|
|
43
43
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
44
|
-
"@commercetools-frontend/application-config": "24.
|
|
45
|
-
"@commercetools-frontend/application-shell": "24.
|
|
46
|
-
"@commercetools-frontend/constants": "24.
|
|
44
|
+
"@commercetools-frontend/application-config": "24.8.0",
|
|
45
|
+
"@commercetools-frontend/application-shell": "24.8.0",
|
|
46
|
+
"@commercetools-frontend/constants": "24.8.0",
|
|
47
47
|
"@manypkg/get-packages": "1.1.3",
|
|
48
48
|
"@types/semver": "^7.5.1",
|
|
49
|
-
"semver": "7.
|
|
49
|
+
"semver": "7.7.2",
|
|
50
50
|
"uuid": "9.0.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@tsconfig/node22": "^22.0.0",
|
|
54
|
-
"cypress": "14.5.
|
|
54
|
+
"cypress": "14.5.4"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"cypress": ">=8"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../dist/declarations/src/task/index";
|
|
2
|
-
export { default } from "../../dist/declarations/src/task/index";
|
|
3
|
-
//# sourceMappingURL=
|
|
1
|
+
export * from "../../dist/declarations/src/task/index.js";
|
|
2
|
+
export { default } from "../../dist/declarations/src/task/index.js";
|
|
3
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1jeXByZXNzLXRhc2suY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kaXN0L2RlY2xhcmF0aW9ucy9zcmMvdGFzay9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commercetools-frontend-cypress-add-commands.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/add-commands/index.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commercetools-frontend-cypress.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE: the `realHover` command is originally being implemented in `cypress-real-events` package.
|
|
3
|
-
* https://github.com/dmtrKovalenko/cypress-real-events/blob/develop/src/commands/realHover.ts
|
|
4
|
-
*
|
|
5
|
-
* However, due to known issues with conflicting types between Cypress and Jest, importing the `cypress-real-events`
|
|
6
|
-
* package here will cause such issues with TypeScript as our `@commercetools-frontend/cypress` package
|
|
7
|
-
* is checked and built together with all other packages and not in isolation.
|
|
8
|
-
* See https://docs.cypress.io/guides/tooling/typescript-support#Clashing-types-with-Jest.
|
|
9
|
-
*
|
|
10
|
-
* Therefore, we are porting here the implementation of `realHover` to avoid importing it from the
|
|
11
|
-
* original package `cypress-real-events`.
|
|
12
|
-
*/
|
|
13
|
-
export interface RealHoverOptions {
|
|
14
|
-
/**
|
|
15
|
-
* If set to `pen`, simulates touch based hover (via long press)
|
|
16
|
-
*/
|
|
17
|
-
pointer?: 'mouse' | 'pen';
|
|
18
|
-
/**
|
|
19
|
-
* Position relative to the element where to hover the element.
|
|
20
|
-
* @example cy.realHover({ position: "topLeft" })
|
|
21
|
-
*/
|
|
22
|
-
position?: Position;
|
|
23
|
-
/**
|
|
24
|
-
* Controls how the page is scrolled to bring the subject into view, if needed.
|
|
25
|
-
* @example cy.realHover({ scrollBehavior: "top" });
|
|
26
|
-
*/
|
|
27
|
-
scrollBehavior?: ScrollBehaviorOptions;
|
|
28
|
-
/**
|
|
29
|
-
* Indicates whether the shift key was pressed or not when an event occurred
|
|
30
|
-
* @example cy.realHover({ shiftKey: true });
|
|
31
|
-
*/
|
|
32
|
-
shiftKey?: boolean;
|
|
33
|
-
}
|
|
34
|
-
type Position = 'topLeft' | 'top' | 'topRight' | 'left' | 'center' | 'right' | 'bottomLeft' | 'bottom' | 'bottomRight' | {
|
|
35
|
-
x: number;
|
|
36
|
-
y: number;
|
|
37
|
-
};
|
|
38
|
-
type ScrollBehaviorPosition = 'center' | 'top' | 'bottom' | 'nearest';
|
|
39
|
-
type ScrollBehaviorOptions = ScrollBehaviorPosition | false;
|
|
40
|
-
export declare function realHover(subject: any, options?: RealHoverOptions): Promise<any>;
|
|
41
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commercetools-frontend-cypress-task.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/task/index.d.ts"],"names":[],"mappings":"AAAA"}
|