@salutejs/plasma-cy-utils 0.160.0-next-sbcom.0 → 0.160.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.
@@ -25,6 +25,7 @@ var ThemeSCAN = (0, styled_components_1.createGlobalStyle)(sdds_themes_1.sdds_sc
25
25
  var ThemeOS = (0, styled_components_1.createGlobalStyle)(sdds_os_1.sdds_os__light);
26
26
  var ThemePLATFORMAI = (0, styled_components_1.createGlobalStyle)(sdds_themes_1.sdds_platform_ai__light);
27
27
  var ThemeFINAI = (0, styled_components_1.createGlobalStyle)(sdds_themes_1.sdds_finai__light);
28
+ var ThemeDFA = (0, styled_components_1.createGlobalStyle)(sdds_themes_1.sdds_dfa__light);
28
29
  var ThemeHOMEDS = (0, styled_components_1.createGlobalStyle)(plasma_themes_1.plasma_homeds__light);
29
30
  var ThemeWEB = (0, styled_components_1.createGlobalStyle)(plasma_themes_1.plasma_web__light);
30
31
  var StandardTypoStyle = (0, styled_components_1.createGlobalStyle)(plasma_typo_1.standard);
@@ -41,6 +42,7 @@ var testPackagesThemes = {
41
42
  'sdds-os': react_1.default.createElement(ThemeOS, null),
42
43
  'sdds-platform-ai': react_1.default.createElement(ThemePLATFORMAI, null),
43
44
  'sdds-finai': react_1.default.createElement(ThemeFINAI, null),
45
+ 'sdds-dfa': react_1.default.createElement(ThemeDFA, null),
44
46
  'plasma-homeds': react_1.default.createElement(ThemeHOMEDS, null),
45
47
  };
46
48
  var getPackage = function () {
@@ -72,6 +74,8 @@ var getPackage = function () {
72
74
  return require('../../../packages/sdds-platform-ai/dist/styled-components/cjs/index.js');
73
75
  case 'sdds-finai':
74
76
  return require('../../../packages/sdds-finai/dist/styled-components/cjs/index.js');
77
+ case 'sdds-dfa':
78
+ return require('../../../packages/sdds-dfa/dist/styled-components/cjs/index.js');
75
79
  case 'plasma-homeds':
76
80
  return require('../../../packages/plasma-homeds/dist/styled-components/cjs/index.js');
77
81
  default:
@@ -141,6 +145,7 @@ var CypressTestDecorator = function (_a) {
141
145
  'sdds-os',
142
146
  'sdds-platform-ai',
143
147
  'sdds-finai',
148
+ 'sdds-dfa',
144
149
  'plasma-homeds',
145
150
  ].includes(pkgName)) {
146
151
  return (react_1.default.createElement(SSRProvider_1.SSRProvider, { noSSR: noSSR },
@@ -4,9 +4,22 @@ declare global {
4
4
  export namespace Cypress {
5
5
  interface Chainable {
6
6
  waitForResources(...resources: resourceOrOption[]): Chainable;
7
- }
8
- interface Chainable {
9
7
  pressKey(key: string, currentElem?: string): Chainable;
8
+ attachFile(fixture: string | string[] | {
9
+ filePath?: string;
10
+ fileContent?: Blob;
11
+ fileName?: string;
12
+ mimeType?: string;
13
+ } | Array<{
14
+ filePath?: string;
15
+ fileContent?: Blob;
16
+ fileName?: string;
17
+ mimeType?: string;
18
+ }>, processingOpts?: {
19
+ subjectType?: 'input' | 'drag-n-drop';
20
+ force?: boolean;
21
+ allowEmpty?: boolean;
22
+ }): Chainable;
10
23
  }
11
24
  }
12
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-cy-utils",
3
- "version": "0.160.0-next-sbcom.0",
3
+ "version": "0.160.0",
4
4
  "description": "Test helpers shared between ui libraries.",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -26,13 +26,13 @@
26
26
  "devDependencies": {
27
27
  "@cypress/react": "5.12.0",
28
28
  "@salutejs-ds/sdds_os": "0.1.2",
29
- "@salutejs/plasma-themes": "0.54.0-next-sbcom.0",
30
- "@salutejs/plasma-tokens": "1.142.0-next-sbcom.0",
31
- "@salutejs/plasma-tokens-b2b": "1.58.0-next-sbcom.0",
32
- "@salutejs/plasma-tokens-b2c": "0.69.0-next-sbcom.0",
33
- "@salutejs/plasma-tokens-web": "1.73.0-next-sbcom.0",
34
- "@salutejs/plasma-typo": "0.46.0-next-sbcom.0",
35
- "@salutejs/sdds-themes": "0.69.0-next-sbcom.0",
29
+ "@salutejs/plasma-themes": "0.53.0",
30
+ "@salutejs/plasma-tokens": "1.142.0",
31
+ "@salutejs/plasma-tokens-b2b": "1.57.0",
32
+ "@salutejs/plasma-tokens-b2c": "0.68.0",
33
+ "@salutejs/plasma-tokens-web": "1.72.0",
34
+ "@salutejs/plasma-typo": "0.45.0",
35
+ "@salutejs/sdds-themes": "0.69.0",
36
36
  "@types/node": "18.16.20",
37
37
  "@types/react": "18.0.28",
38
38
  "@types/react-dom": "18.0.11",
@@ -49,5 +49,5 @@
49
49
  "files": [
50
50
  "lib"
51
51
  ],
52
- "gitHead": "c36f4190c057fe79a831970475df9ff7ad04c743"
52
+ "gitHead": "22cd4c680b11c65c8abe88d14e6c8c37af778906"
53
53
  }