@legalplace/wizardx-core 2.0.0 → 2.1.0-alpha.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/CHANGELOG.md CHANGED
@@ -3,7 +3,26 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [1.1.2](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@1.1.1...@legalplace/wizardx-core@1.1.2) (2021-10-29)
6
+ # [2.1.0-alpha.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@2.0.0...@legalplace/wizardx-core@2.1.0-alpha.0) (2021-11-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * coupe of fixes api[#4363](https://git.legalplace.eu/legalplace/monorepo/issues/4363) ([e1517f4](https://git.legalplace.eu/legalplace/monorepo/commits/e1517f471d6bb900eb20751154a1c921028320b6))
12
+ * fix test api[#4363](https://git.legalplace.eu/legalplace/monorepo/issues/4363) ([a1e603f](https://git.legalplace.eu/legalplace/monorepo/commits/a1e603ff570c689df63634205690883943c16e7b))
13
+ * fix test api[#4363](https://git.legalplace.eu/legalplace/monorepo/issues/4363) ([0124520](https://git.legalplace.eu/legalplace/monorepo/commits/01245209235bdbc7094e16224b05bf26a2e326a3))
14
+
15
+
16
+ ### Features
17
+
18
+ * poc intégration wizardx kanoon-app api[#4363](https://git.legalplace.eu/legalplace/monorepo/issues/4363) ([13f5637](https://git.legalplace.eu/legalplace/monorepo/commits/13f563752d48a94575a77fcf9924cb6569547bd6))
19
+ * testing merge prepare script api[#4375](https://git.legalplace.eu/legalplace/monorepo/issues/4375) ([936f4e9](https://git.legalplace.eu/legalplace/monorepo/commits/936f4e9cfaaa6c346c87f4f4de5f5b651f02cd41))
20
+
21
+
22
+
23
+
24
+
25
+ # [1.1.0-alpha.2](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@1.1.0-alpha.1...@legalplace/wizardx-core@1.1.0-alpha.2) (2021-10-29)
7
26
 
8
27
 
9
28
  ### Bug Fixes
@@ -14,7 +33,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
14
33
 
15
34
 
16
35
 
17
- ## [1.1.1](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@1.1.0...@legalplace/wizardx-core@1.1.1) (2021-10-29)
36
+ # [1.1.0-alpha.1](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@1.1.0...@legalplace/wizardx-core@1.1.0-alpha.1) (2021-10-29)
18
37
 
19
38
 
20
39
  ### Bug Fixes
@@ -25,7 +44,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
25
44
 
26
45
 
27
46
 
28
- # [1.1.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@1.0.1...@legalplace/wizardx-core@1.1.0) (2021-10-28)
47
+ # [1.1.0-alpha.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@1.0.1-alpha.0...@legalplace/wizardx-core@1.1.0-alpha.0) (2021-10-27)
29
48
 
30
49
 
31
50
  ### Bug Fixes
@@ -42,7 +61,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
42
61
 
43
62
 
44
63
 
45
- ## [1.0.1](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@0.0.1...@legalplace/wizardx-core@1.0.1) (2021-10-27)
64
+ ## [1.0.1-alpha.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/wizardx-core@0.0.1...@legalplace/wizardx-core@1.0.1-alpha.0) (2021-10-27)
46
65
 
47
66
 
48
67
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/wizardx-core",
3
- "version": "2.0.0",
3
+ "version": "2.1.0-alpha.0",
4
4
  "author": "Moncef Hammou (moncef@legalplace.fr)",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -45,9 +45,9 @@
45
45
  "xss": "^1.0.9"
46
46
  },
47
47
  "devDependencies": {
48
- "@legalplace/eslint-config": "^2.0.0",
48
+ "@legalplace/eslint-config": "^2.0.1-alpha.0",
49
49
  "@legalplace/models-v3-types": "^3.6.0",
50
- "@legalplace/prettier-config": "^2.0.0",
50
+ "@legalplace/prettier-config": "^2.0.1-alpha.0",
51
51
  "@swc-node/jest": "^1.3.2",
52
52
  "@swc/core": "^1.2.93",
53
53
  "@swc/jest": "^0.2.4",
@@ -82,5 +82,5 @@
82
82
  "*.test.ts",
83
83
  "*.test.tsx"
84
84
  ],
85
- "gitHead": "331f6d572669d9e4e1d1b81b7bdf136ec3e99798"
85
+ "gitHead": "4abde7bf3b9d0803231d3d112c30fe6d50eb47f8"
86
86
  }
package/src/App.tsx CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Route, Switch, Redirect } from 'react-router-dom';
2
+ import { Route, Switch, Redirect, generatePath } from 'react-router-dom';
3
3
  import { Provider } from 'react-redux';
4
4
  import { ConnectedRouter } from 'connected-react-router';
5
5
  import type { ModelV3 } from '@legalplace/models-v3-types';
@@ -7,11 +7,13 @@ import { getStore, createAppStore } from './redux/store';
7
7
  import { getHistory } from './redux/routerHistory';
8
8
  import { StateType } from './types/State.type';
9
9
  import { setGlobals, IGlobalParams } from './Globals';
10
- import { getConfig } from './config';
10
+ import { getConfig, updateConfig } from './config';
11
11
  import { fetchModelPrerequisitesAction } from './redux/actions/sagas/model';
12
12
  import ViewComponent from './components/View';
13
13
  import SmartScriptComponent from './components/SmartScript';
14
14
  import { PluginRoute } from './components/PluginRoute';
15
+ import { clearPlugins } from './PluginLoader';
16
+ import { IWizardParams } from './types/config.type';
15
17
 
16
18
  // App components props interface
17
19
  export interface AppProps {
@@ -20,6 +22,7 @@ export interface AppProps {
20
22
  meta?: StateType.App.Meta;
21
23
  instance?: StateType.App.Instance;
22
24
  user?: StateType.User;
25
+ wizardParams?: IWizardParams;
23
26
  loadPlugin: (plugin: string) => Promise<any>;
24
27
  loadTheme: (theme: string) => Promise<any>;
25
28
  }
@@ -28,6 +31,9 @@ class WizardXCore extends React.Component<AppProps, { loaded: boolean }> {
28
31
  constructor(props: AppProps) {
29
32
  super(props);
30
33
 
34
+ // Clearing Plugins
35
+ clearPlugins();
36
+
31
37
  // Creating the history
32
38
  const historyType =
33
39
  typeof props.historyType === 'string' ? props.historyType : 'browser';
@@ -40,6 +46,7 @@ class WizardXCore extends React.Component<AppProps, { loaded: boolean }> {
40
46
  loadTheme: props.loadTheme,
41
47
  loadPlugin: props.loadPlugin,
42
48
  };
49
+
43
50
  // Checking model
44
51
  if (props.model) {
45
52
  params.model = props.model;
@@ -59,20 +66,45 @@ class WizardXCore extends React.Component<AppProps, { loaded: boolean }> {
59
66
  if (props.user) {
60
67
  params.user = props.user;
61
68
  }
69
+
70
+ // Setting Global params
62
71
  setGlobals(params);
63
72
 
73
+ // Setting Wizard params
74
+ if (props.wizardParams) updateConfig(props.wizardParams);
75
+
64
76
  // Creating the store
65
77
  createAppStore(historyType);
66
78
  }
67
79
 
68
80
  componentDidMount(): void {
81
+ if (getConfig().permalink) {
82
+ const { permalink, prefix, uniqid } = getConfig();
83
+ if (uniqid?.trim().length) {
84
+ getHistory().push(
85
+ generatePath(getConfig().router.wizardInstancePath, {
86
+ prefix: prefix?.trim().length ? prefix : undefined,
87
+ permalink,
88
+ uniqid,
89
+ })
90
+ );
91
+ } else {
92
+ getHistory().push(
93
+ generatePath(getConfig().router.wizardPath, {
94
+ prefix: prefix?.trim().length ? prefix : undefined,
95
+ permalink,
96
+ })
97
+ );
98
+ }
99
+ }
100
+
69
101
  // Fetching model
70
102
  const { dispatch, getState } = getStore();
71
103
  const state = getState();
72
104
  dispatch(
73
105
  fetchModelPrerequisitesAction(
74
- state.app.meta.permalink,
75
- state.app.meta.prefix || ''
106
+ getConfig().permalink || state.app.meta.permalink,
107
+ getConfig().prefix || state.app.meta.prefix || ''
76
108
  )
77
109
  );
78
110
  }
@@ -95,19 +127,18 @@ class WizardXCore extends React.Component<AppProps, { loaded: boolean }> {
95
127
 
96
128
  {/* SmartScript Frame */}
97
129
  <Route
98
- path="/contrats/:permalink/smartscript/:uniqid?"
130
+ path={
131
+ getConfig().router.smartscriptRoute ||
132
+ '/contrats/:permalink/smartscript/:uniqid?'
133
+ }
99
134
  component={SmartScriptComponent}
100
135
  />
101
136
 
102
- {/* NOT FOUND REDIRECTION */}
103
- <Route
104
- path="/not_found"
105
- render={() => {
106
- window.location.href = getConfig().router.notFoundUrl;
107
- return null;
137
+ <Redirect
138
+ to={{
139
+ pathname: getConfig().router.notFoundPath,
108
140
  }}
109
141
  />
110
- <Redirect to={getConfig().router.notFoundPath || '/not_found'} />
111
142
  </Switch>
112
143
  </ConnectedRouter>
113
144
  </Provider>
package/src/Globals.ts CHANGED
@@ -14,6 +14,7 @@ declare global {
14
14
 
15
15
  export interface IGlobalParams {
16
16
  [key: string]: any;
17
+ metadata?: Record<string, any>;
17
18
  loadPlugin: (plugin: string) => Promise<any>;
18
19
  loadTheme: (theme: string) => Promise<any>;
19
20
  }
@@ -2,7 +2,7 @@ import React, { Props } from 'react';
2
2
  import { Action } from 'redux';
3
3
  import PropTypes from 'prop-types';
4
4
  import { LoadableComponent } from '@loadable/component';
5
- import { getConfig, loadConfig, isConfigReady } from './config';
5
+ import { getConfig } from './config';
6
6
  import * as connectorActions from './redux/actions';
7
7
  import { getStore } from './redux/store';
8
8
  import { getHistory } from './redux/routerHistory';
@@ -14,10 +14,10 @@ import * as selectorsList from './redux/selectors';
14
14
  import * as connectorsList from './componentsConnectors';
15
15
 
16
16
  // This object will be used to contain all anchors
17
- const globalAnchors: Record<string, React.FC[]> = {};
18
- const reduxAnchors: Record<string, ((...args: any) => void)[]> = {};
19
- const actionOverrideAnchor: Record<string, actionOverrideFunction[]> = {};
20
- const replacers: Record<string, React.FC> = {};
17
+ let globalAnchors: Record<string, React.FC[]> = {};
18
+ let reduxAnchors: Record<string, ((...args: any) => void)[]> = {};
19
+ let actionOverrideAnchor: Record<string, actionOverrideFunction[]> = {};
20
+ let replacers: Record<string, React.FC> = {};
21
21
 
22
22
  export type PluginAppStatesRegisterFunction = (
23
23
  currentAppStates: string[]
@@ -35,10 +35,10 @@ export interface PluginsAppStatesDeclarations {
35
35
  additionalRoutes?: Record<string, ReactComponent<any>>[];
36
36
  }
37
37
 
38
- const PluginsAppStatesRegistrers: PluginAppStatesRegisterFunction[] = [];
39
- const PluginsPageAppStates: PluginsPageAppStatesType = {};
40
- const PluginsAppStatesComponents: IPluginsAppStatesComponents = {};
41
- const PluginAdditionRoutes: Record<string, ReactComponent<any>> = {};
38
+ let PluginsAppStatesRegistrers: PluginAppStatesRegisterFunction[] = [];
39
+ let PluginsPageAppStates: PluginsPageAppStatesType = {};
40
+ let PluginsAppStatesComponents: IPluginsAppStatesComponents = {};
41
+ let PluginAdditionRoutes: Record<string, ReactComponent<any>> = {};
42
42
 
43
43
  /**
44
44
  * Declares plugins app state on plugin loading
@@ -238,8 +238,7 @@ export const loadPlugins = async (plugins?: Record<string, string>) => {
238
238
  else pluginsList = plugins;
239
239
 
240
240
  if (pluginsList === undefined) {
241
- const config = isConfigReady() ? await loadConfig() : getConfig();
242
- pluginsList = config.plugins;
241
+ pluginsList = getConfig().plugins;
243
242
  }
244
243
  // We need to make sure all plugins are loaded before going on
245
244
  await loadPluginFiles(pluginsList, selectorsList, connectorsList);
@@ -324,7 +323,7 @@ PluginLoader.defaultProps = {
324
323
  * @param replacerName Replacer name
325
324
  * @param OriginalComponent Original component name
326
325
  */
327
- const cache: Record<string, React.MemoExoticComponent<any>> = {};
326
+ let cache: Record<string, React.MemoExoticComponent<any>> = {};
328
327
  export function ReplaceComponent<T = {}>(
329
328
  replacerName: string | string[],
330
329
  OriginalComponent: ReactComponent<T>,
@@ -407,3 +406,19 @@ export function RunOverrideActionAnchor(action: Action) {
407
406
  * Get PluginAdditional route object
408
407
  */
409
408
  export const getPluginsAdditionalRoutes = () => PluginAdditionRoutes;
409
+
410
+ /**
411
+ * Clears plugins
412
+ */
413
+ export const clearPlugins = () => {
414
+ globalAnchors = {};
415
+ reduxAnchors = {};
416
+ actionOverrideAnchor = {};
417
+ replacers = {};
418
+ PluginsAppStatesRegistrers = [];
419
+ PluginsPageAppStates = {};
420
+ PluginsAppStatesComponents = {};
421
+ PluginAdditionRoutes = {};
422
+ cache = {};
423
+ pluginsLoadingDone = false;
424
+ };
@@ -1,5 +1,5 @@
1
1
  import loadable, { LoadableComponent } from '@loadable/component';
2
- import { getConfig, loadConfig, isConfigReady, updateConfig } from './config';
2
+ import { getConfig, updateConfig } from './config';
3
3
  import { IWizardParamsTheme } from './types/config.type';
4
4
  /**
5
5
  * Connectors
@@ -30,7 +30,7 @@ export const loadTheme = async (theme?: string, force?: boolean) => {
30
30
 
31
31
  // Double checking theme from config
32
32
  if (currentTheme === undefined) {
33
- const config = isConfigReady() ? await loadConfig() : getConfig();
33
+ const config = getConfig();
34
34
  wizardTheme = config.theme.name;
35
35
  themeParams = config.theme.params;
36
36
  currentTheme = wizardTheme;
@@ -1,30 +1,62 @@
1
- import { getConfig, loadConfig } from './config';
2
-
3
- // Mocking wizardParams
4
- jest.mock('./wizard-params', () => ({
5
- apiEndpoint: 'some-endpoint/',
6
- plugins: {
7
- jestTestPlugin: '1.0.0',
8
- },
9
- theme: {
10
- name: 'test',
11
- params: {},
12
- },
13
- }));
1
+ import { IWizardParams } from '.';
2
+ import { getConfig, updateConfig } from './config';
14
3
 
15
4
  describe('Config loader', () => {
16
- it('Loads config', async () => {
17
- await loadConfig();
18
- const config = getConfig();
19
- expect(config).toStrictEqual({
20
- apiEndpoint: 'some-endpoint/',
5
+ it('Updates config properly', async () => {
6
+ const config: IWizardParams = {
7
+ apiEndpoint: process.env.REACT_APP_API_ENDPOINT || '',
8
+
9
+ // Shadow instance
10
+ enableShadowInstance: false,
11
+
12
+ // Routes
13
+ router: {
14
+ wizardPath: '/contrats/:prefix?/:permalink/creer/:page?',
15
+ wizardInstancePath:
16
+ '/contrats/:prefix?/:permalink/continuer/:uniqid([0-9a-zA-Z]+)/:page?',
17
+ notFoundUrl: '/contrats/conditions-generales-de-vente/creer',
18
+ appStatesPages: {
19
+ termsheet: 'resume',
20
+ email: 'email',
21
+ },
22
+ smartscriptRoute: '/contrats/:permalink/smartscript/:uniqid?',
23
+ },
24
+
25
+ // Enabled plugins (this should move to the apiEndpoint first response)
21
26
  plugins: {
22
- jestTestPlugin: '1.0.0',
27
+ // pluginName: '1.0.0'
28
+ // autosaveOnTermsheet: '1.0.0',
29
+ // filesDownload: '1.0.0',
30
+ b2c_actions: '1.0.0',
31
+ datalayer: '1.0.0',
32
+ checkoutX: '1.0.0',
33
+ authentication: '1.0.0',
34
+ // smartdocs: '1.0.0'
23
35
  },
36
+
37
+ // Theme (this should move to the apiEndpoint first response)
24
38
  theme: {
25
- name: 'test',
26
- params: {},
39
+ name: 'legacy',
40
+ params: {
41
+ ui: {
42
+ topbar: {
43
+ previewBtn: false,
44
+ },
45
+ },
46
+ sidebar: {
47
+ default: 'preview',
48
+ states: {
49
+ wizard: 'summary',
50
+ email: 'summary',
51
+ },
52
+ },
53
+ },
27
54
  },
28
- });
55
+ // App states (this should move to the apiEndpoint first response)
56
+ appStates: ['wizard', 'email'],
57
+ };
58
+
59
+ updateConfig(config);
60
+ expect(getConfig()).toStrictEqual(config);
29
61
  });
30
62
  });
package/src/config.ts CHANGED
@@ -1,7 +1,6 @@
1
- import config from './wizard-params';
2
1
  import type { IWizardParams } from './types/config.type';
3
2
 
4
- let updatedConfig: IWizardParams = config;
3
+ let updatedConfig: IWizardParams;
5
4
  export const getConfig = (): IWizardParams => updatedConfig;
6
5
 
7
6
  export const updateConfig = (newConfig: IWizardParams) => {
@@ -10,5 +9,3 @@ export const updateConfig = (newConfig: IWizardParams) => {
10
9
 
11
10
  export const isConfigReady = () =>
12
11
  getConfig().fixedConfig && getConfig().fixedConfig === true;
13
-
14
- export const loadConfig = async () => getConfig();
@@ -1,5 +1,7 @@
1
1
  import { MiddlewareAPI, Dispatch } from 'redux';
2
2
  import cloneDeep from 'lodash/cloneDeep';
3
+ import { generatePath } from 'react-router-dom';
4
+ import { getConfig } from '../../config';
3
5
  import { ActionsType } from '../../types/Actions.type';
4
6
  import { StateType } from '../../types/State.type';
5
7
  import {
@@ -28,14 +30,28 @@ const watchEnableSmartScript = (
28
30
  'style',
29
31
  'position: absolute; width:0; height:0; border:0;'
30
32
  );
31
- const { permalink } = mpi.getState().app.meta;
33
+ const { permalink, prefix } = mpi.getState().app.meta;
32
34
  const { uniqid } = mpi.getState().app.instance;
33
35
  const { modelVersion } = new PathReader(mpi.getState());
34
- iframe.src = `${window.location.protocol}//${
35
- window.location.host
36
- }/contrats/${permalink}/smartscript/${uniqid || ''}${
37
- modelVersion ? `?version=${modelVersion}` : ''
38
- }`;
36
+
37
+ if (getConfig().router.smartscriptRoute) {
38
+ // Generating path
39
+ const path = generatePath(getConfig().router.smartscriptRoute, {
40
+ permalink,
41
+ prefix: prefix.trim().length > 0 ? prefix : undefined,
42
+ uniqid: uniqid.trim().length > 0 ? uniqid : undefined,
43
+ });
44
+
45
+ iframe.src = `${window.location.protocol}//${window.location.host}${path}${
46
+ modelVersion ? `?version=${modelVersion}` : ''
47
+ }`;
48
+ } else {
49
+ iframe.src = `${window.location.protocol}//${
50
+ window.location.host
51
+ }/contrats/${permalink}/smartscript/${uniqid || ''}${
52
+ modelVersion ? `?version=${modelVersion}` : ''
53
+ }`;
54
+ }
39
55
 
40
56
  // Checking if it's a new instance
41
57
  const isNewInstance = !(
@@ -44,7 +60,7 @@ const watchEnableSmartScript = (
44
60
 
45
61
  // Initiating triggers
46
62
  iframe.onload = () => {
47
- iframe?.contentWindow?.initTriggers(
63
+ iframe?.contentWindow?.initTriggers?.(
48
64
  (triggers, actions) => {
49
65
  mpi.dispatch(initSmartscriptTriggersAction(triggers));
50
66
  if (Array.isArray(actions)) {
@@ -10,7 +10,12 @@ let history: History<unknown> | MemoryHistory;
10
10
  export const createHistory = (historyType: 'memory' | 'browser') => {
11
11
  // Creating history according to type
12
12
  history =
13
- historyType === 'memory' ? createMemoryHistory() : createBrowserHistory();
13
+ historyType === 'memory'
14
+ ? createMemoryHistory({
15
+ initialEntries: ['/one', '/two'],
16
+ initialIndex: 1,
17
+ })
18
+ : createBrowserHistory();
14
19
  return history;
15
20
  };
16
21
 
@@ -501,7 +501,7 @@ function* fetchModelPrerequisites(
501
501
  // TODO Fix Smartscript iFrame re-render (see issue #4130)
502
502
  if (!permalink && window.location.href.includes('smartscript')) return;
503
503
 
504
- const uniqid = selectInstanceUniqid();
504
+ const uniqid = selectInstanceUniqid() || getConfig().uniqid;
505
505
  const uniqidParam = uniqid && uniqid.trim().length > 0 ? `/${uniqid}` : '';
506
506
  const urlParams = new URLSearchParams(window.location.search);
507
507
 
@@ -35,6 +35,7 @@ export interface IWizardParams {
35
35
  fixedConfig?: boolean;
36
36
  router: {
37
37
  wizardPath: string;
38
+ smartscriptRoute: string;
38
39
  wizardInstancePath: string;
39
40
  notFoundUrl: string;
40
41
  notFoundPath?: string;
@@ -48,4 +49,8 @@ export interface IWizardParams {
48
49
  appStates: string[];
49
50
  ovcBucket?: string;
50
51
  documentBucket?: string;
52
+ permalink?: string;
53
+ prefix?: string;
54
+ uniqid?: string;
55
+ metadata?: Record<string, any>;
51
56
  }
@@ -16,6 +16,7 @@ const config: IWizardParams = {
16
16
  termsheet: 'resume',
17
17
  email: 'email',
18
18
  },
19
+ smartscriptRoute: '/contrats/:permalink/smartscript/:uniqid?',
19
20
  },
20
21
 
21
22
  // Enabled plugins (this should move to the apiEndpoint first response)
package/junit.xml DELETED
@@ -1,505 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites name="jest tests" tests="202" failures="0" errors="0" time="18.144">
3
- <testsuite name="connectBox test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:10" time="4.582" tests="3">
4
- <testcase classname="connectBox test suit Should parse variables" name="connectBox test suit Should parse variables" time="0.113">
5
- </testcase>
6
- <testcase classname="connectBox test suit Should not parse on false condition" name="connectBox test suit Should not parse on false condition" time="0.036">
7
- </testcase>
8
- <testcase classname="connectBox test suit Should retrun props properly" name="connectBox test suit Should retrun props properly" time="0.032">
9
- </testcase>
10
- </testsuite>
11
- <testsuite name="Inputs selectors test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:10" time="4.553" tests="30">
12
- <testcase classname="Inputs selectors test suit isOptionMultiple returns undefined when references are not set" name="Inputs selectors test suit isOptionMultiple returns undefined when references are not set" time="0.107">
13
- </testcase>
14
- <testcase classname="Inputs selectors test suit selectOptionReference returns undefined when references are not set" name="Inputs selectors test suit selectOptionReference returns undefined when references are not set" time="0.001">
15
- </testcase>
16
- <testcase classname="Inputs selectors test suit selectOptionRelations returns undefined when references are not set" name="Inputs selectors test suit selectOptionRelations returns undefined when references are not set" time="0.001">
17
- </testcase>
18
- <testcase classname="Inputs selectors test suit selectOptionParents returns undefined when references are not set" name="Inputs selectors test suit selectOptionParents returns undefined when references are not set" time="0.001">
19
- </testcase>
20
- <testcase classname="Inputs selectors test suit selectRadioSiblings returns undefined when references are not set" name="Inputs selectors test suit selectRadioSiblings returns undefined when references are not set" time="0.001">
21
- </testcase>
22
- <testcase classname="Inputs selectors test suit selectVariableReference returns undefined when references are not set" name="Inputs selectors test suit selectVariableReference returns undefined when references are not set" time="0.001">
23
- </testcase>
24
- <testcase classname="Inputs selectors test suit selectVariableRelations returns undefined when references are not set" name="Inputs selectors test suit selectVariableRelations returns undefined when references are not set" time="0.022">
25
- </testcase>
26
- <testcase classname="Inputs selectors test suit selectVariableParents returns undefined when references are not set" name="Inputs selectors test suit selectVariableParents returns undefined when references are not set" time="0.003">
27
- </testcase>
28
- <testcase classname="Inputs selectors test suit selectAllSectionsReferences returns undefined when references are not set" name="Inputs selectors test suit selectAllSectionsReferences returns undefined when references are not set" time="0.001">
29
- </testcase>
30
- <testcase classname="Inputs selectors test suit selectSectionReference returns undefined when references are not set" name="Inputs selectors test suit selectSectionReference returns undefined when references are not set" time="0.001">
31
- </testcase>
32
- <testcase classname="Inputs selectors test suit selectSectionDefaults returns undefined when references are not set" name="Inputs selectors test suit selectSectionDefaults returns undefined when references are not set" time="0.001">
33
- </testcase>
34
- <testcase classname="Inputs selectors test suit selectOptionConditionsObject returns undefined when references are not set" name="Inputs selectors test suit selectOptionConditionsObject returns undefined when references are not set" time="0.001">
35
- </testcase>
36
- <testcase classname="Inputs selectors test suit selectVariableConditionsObject returns undefined when references are not set" name="Inputs selectors test suit selectVariableConditionsObject returns undefined when references are not set" time="0.001">
37
- </testcase>
38
- <testcase classname="Inputs selectors test suit selectSectionConditionsObject returns undefined when references are not set" name="Inputs selectors test suit selectSectionConditionsObject returns undefined when references are not set" time="0.001">
39
- </testcase>
40
- <testcase classname="Inputs selectors test suit selectPrefillerConditionsObject returns undefined when references are not set" name="Inputs selectors test suit selectPrefillerConditionsObject returns undefined when references are not set" time="0">
41
- </testcase>
42
- <testcase classname="Inputs selectors test suit Checks if an option is multiple" name="Inputs selectors test suit Checks if an option is multiple" time="0.024">
43
- </testcase>
44
- <testcase classname="Inputs selectors test suit Returns option refrence" name="Inputs selectors test suit Returns option refrence" time="0.002">
45
- </testcase>
46
- <testcase classname="Inputs selectors test suit Returns option relations" name="Inputs selectors test suit Returns option relations" time="0.001">
47
- </testcase>
48
- <testcase classname="Inputs selectors test suit Returns option parents" name="Inputs selectors test suit Returns option parents" time="0">
49
- </testcase>
50
- <testcase classname="Inputs selectors test suit Returns option radio siblings" name="Inputs selectors test suit Returns option radio siblings" time="0.003">
51
- </testcase>
52
- <testcase classname="Inputs selectors test suit Returns variable reference" name="Inputs selectors test suit Returns variable reference" time="0">
53
- </testcase>
54
- <testcase classname="Inputs selectors test suit Returns variable relations" name="Inputs selectors test suit Returns variable relations" time="0.001">
55
- </testcase>
56
- <testcase classname="Inputs selectors test suit Returns variable parents" name="Inputs selectors test suit Returns variable parents" time="0.001">
57
- </testcase>
58
- <testcase classname="Inputs selectors test suit Returns all sections references" name="Inputs selectors test suit Returns all sections references" time="0">
59
- </testcase>
60
- <testcase classname="Inputs selectors test suit Returns sections references" name="Inputs selectors test suit Returns sections references" time="0.015">
61
- </testcase>
62
- <testcase classname="Inputs selectors test suit Returns sections defaults" name="Inputs selectors test suit Returns sections defaults" time="0.006">
63
- </testcase>
64
- <testcase classname="Inputs selectors test suit Returns option conditions object" name="Inputs selectors test suit Returns option conditions object" time="0">
65
- </testcase>
66
- <testcase classname="Inputs selectors test suit Returns variable conditions object" name="Inputs selectors test suit Returns variable conditions object" time="0.001">
67
- </testcase>
68
- <testcase classname="Inputs selectors test suit Returns section conditions object" name="Inputs selectors test suit Returns section conditions object" time="0">
69
- </testcase>
70
- <testcase classname="Inputs selectors test suit Returns prefiller conditions object" name="Inputs selectors test suit Returns prefiller conditions object" time="0.001">
71
- </testcase>
72
- </testsuite>
73
- <testsuite name="Pagination reducers test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:11" time="4.196" tests="10">
74
- <testcase classname="Pagination reducers test suit initPaginationReducer" name="Pagination reducers test suit initPaginationReducer" time="0.028">
75
- </testcase>
76
- <testcase classname="Pagination reducers test suit goPageReducer move to wizard" name="Pagination reducers test suit goPageReducer move to wizard" time="0.001">
77
- </testcase>
78
- <testcase classname="Pagination reducers test suit goPageReducer go to &quot;one&quot;" name="Pagination reducers test suit goPageReducer go to &quot;one&quot;" time="0.001">
79
- </testcase>
80
- <testcase classname="Pagination reducers test suit goPageReducer go to &quot;three&quot;" name="Pagination reducers test suit goPageReducer go to &quot;three&quot;" time="0.023">
81
- </testcase>
82
- <testcase classname="Pagination reducers test suit goNextPageReducer from 0 to &quot;one&quot;" name="Pagination reducers test suit goNextPageReducer from 0 to &quot;one&quot;" time="0.002">
83
- </testcase>
84
- <testcase classname="Pagination reducers test suit goNextPageReducer from &quot;wizard to &quot;three&quot;" name="Pagination reducers test suit goNextPageReducer from &quot;wizard to &quot;three&quot;" time="0.007">
85
- </testcase>
86
- <testcase classname="Pagination reducers test suit goNextPageReducer should not change state on last page" name="Pagination reducers test suit goNextPageReducer should not change state on last page" time="0.002">
87
- </testcase>
88
- <testcase classname="Pagination reducers test suit goPreviousPageReducer when page &gt; 1" name="Pagination reducers test suit goPreviousPageReducer when page &gt; 1" time="0.001">
89
- </testcase>
90
- <testcase classname="Pagination reducers test suit goPreviousPageReducer when page =&lt; 1" name="Pagination reducers test suit goPreviousPageReducer when page =&lt; 1" time="0">
91
- </testcase>
92
- <testcase classname="Pagination reducers test suit goPreviousPageReducer from &quot;four&quot; to &quot;three&quot;" name="Pagination reducers test suit goPreviousPageReducer from &quot;four&quot; to &quot;three&quot;" time="0.001">
93
- </testcase>
94
- </testsuite>
95
- <testsuite name="connectDocument test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:15" time="1.971" tests="2">
96
- <testcase classname="connectDocument test suit Should retrun props properly" name="connectDocument test suit Should retrun props properly" time="0.143">
97
- </testcase>
98
- <testcase classname="connectDocument test suit Should use main as default" name="connectDocument test suit Should use main as default" time="0.054">
99
- </testcase>
100
- </testsuite>
101
- <testsuite name="Fetch model saga" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:15" time="1.955" tests="1">
102
- <testcase classname="Fetch model saga Sends fetch client config request to API" name="Fetch model saga Sends fetch client config request to API" time="0.223">
103
- </testcase>
104
- </testsuite>
105
- <testsuite name="&lt;PluginLoader /&gt;" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:10" time="6.86" tests="4">
106
- <testcase classname="&lt;PluginLoader /&gt; Loads &quot;after&quot; hook" name="&lt;PluginLoader /&gt; Loads &quot;after&quot; hook" time="0.153">
107
- </testcase>
108
- <testcase classname="&lt;PluginLoader /&gt; Loads &quot;before&quot; hook" name="&lt;PluginLoader /&gt; Loads &quot;before&quot; hook" time="0.053">
109
- </testcase>
110
- <testcase classname="&lt;PluginLoader /&gt; Tries to load non existing plugin" name="&lt;PluginLoader /&gt; Tries to load non existing plugin" time="0.036">
111
- </testcase>
112
- <testcase classname="&lt;PluginLoader /&gt; Loads replacement module" name="&lt;PluginLoader /&gt; Loads replacement module" time="0.059">
113
- </testcase>
114
- </testsuite>
115
- <testsuite name="Set defaults saga" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:16" time="1.701" tests="1">
116
- <testcase classname="Set defaults saga Sets defaults properly" name="Set defaults saga Sets defaults properly" time="0.116">
117
- </testcase>
118
- </testsuite>
119
- <testsuite name="&lt;ThemeLoader /&gt;" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:10" time="7.07" tests="6">
120
- <testcase classname="&lt;ThemeLoader /&gt; Loads WizardComponent properly" name="&lt;ThemeLoader /&gt; Loads WizardComponent properly" time="2.18">
121
- </testcase>
122
- <testcase classname="&lt;ThemeLoader /&gt; Loads TermsheetComponent properly" name="&lt;ThemeLoader /&gt; Loads TermsheetComponent properly" time="0.031">
123
- </testcase>
124
- <testcase classname="loadTheme loadTheme reloads theme properly if it&apos;s not yet loaded" name="loadTheme loadTheme reloads theme properly if it&apos;s not yet loaded" time="0.002">
125
- </testcase>
126
- <testcase classname="loadTheme loadTheme throws an error if theme param is invalid" name="loadTheme loadTheme throws an error if theme param is invalid" time="0.092">
127
- </testcase>
128
- <testcase classname="loadTheme loadTheme throws an error if theme param is invalid" name="loadTheme loadTheme throws an error if theme param is invalid" time="0.004">
129
- </testcase>
130
- <testcase classname="loadTheme loadTheme throws an error if loader result is invalid" name="loadTheme loadTheme throws an error if loader result is invalid" time="0.003">
131
- </testcase>
132
- </testsuite>
133
- <testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:10" time="7.936" tests="1">
134
- <testcase classname=" renders without crashing" name=" renders without crashing" time="0.287">
135
- </testcase>
136
- </testsuite>
137
- <testsuite name="Store Creation" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:17" time="1.515" tests="3">
138
- <testcase classname="Store Creation Throws error when trying to get store before creation" name="Store Creation Throws error when trying to get store before creation" time="0.075">
139
- </testcase>
140
- <testcase classname="Store Creation It creates store" name="Store Creation It creates store" time="0.006">
141
- </testcase>
142
- <testcase classname="Store Creation It properly connects redux" name="Store Creation It properly connects redux" time="0.014">
143
- </testcase>
144
- </testsuite>
145
- <testsuite name="connectMetaTitle test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:17" time="1.663" tests="1">
146
- <testcase classname="connectMetaTitle test suit Should retrun props properly" name="connectMetaTitle test suit Should retrun props properly" time="0.07">
147
- </testcase>
148
- </testsuite>
149
- <testsuite name="App selectors test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:18" time="1.416" tests="8">
150
- <testcase classname="App selectors test suit Returns current page correctly" name="App selectors test suit Returns current page correctly" time="0.015">
151
- </testcase>
152
- <testcase classname="App selectors test suit Returns current section id correctly" name="App selectors test suit Returns current section id correctly" time="0.025">
153
- </testcase>
154
- <testcase classname="App selectors test suit Returns available sections correctly" name="App selectors test suit Returns available sections correctly" time="0.001">
155
- </testcase>
156
- <testcase classname="App selectors test suit Returns permalink correctly" name="App selectors test suit Returns permalink correctly" time="0.002">
157
- </testcase>
158
- <testcase classname="App selectors test suit Returns document id correctly" name="App selectors test suit Returns document id correctly" time="0.001">
159
- </testcase>
160
- <testcase classname="App selectors test suit Returns document title correctly" name="App selectors test suit Returns document title correctly" time="0">
161
- </testcase>
162
- <testcase classname="App selectors test suit Returns instance uniqid correctly" name="App selectors test suit Returns instance uniqid correctly" time="0.001">
163
- </testcase>
164
- <testcase classname="App selectors test suit Returns instance isPaid correctly" name="App selectors test suit Returns instance isPaid correctly" time="0.001">
165
- </testcase>
166
- </testsuite>
167
- <testsuite name="Inputs selectors test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:18" time="1.448" tests="6">
168
- <testcase classname="Inputs selectors test suit Returns Inputs Object properly" name="Inputs selectors test suit Returns Inputs Object properly" time="0.023">
169
- </testcase>
170
- <testcase classname="Inputs selectors test suit Returns current option input (all occurencies)" name="Inputs selectors test suit Returns current option input (all occurencies)" time="0.001">
171
- </testcase>
172
- <testcase classname="Inputs selectors test suit Returns current option input (one occurency)" name="Inputs selectors test suit Returns current option input (one occurency)" time="0.001">
173
- </testcase>
174
- <testcase classname="Inputs selectors test suit Returns undefined if option does not exist (one occurency)" name="Inputs selectors test suit Returns undefined if option does not exist (one occurency)" time="0.001">
175
- </testcase>
176
- <testcase classname="Inputs selectors test suit Returns current variable input (all occurencies)" name="Inputs selectors test suit Returns current variable input (all occurencies)" time="0.001">
177
- </testcase>
178
- <testcase classname="Inputs selectors test suit Returns current variable input (one occurency)" name="Inputs selectors test suit Returns current variable input (one occurency)" time="0">
179
- </testcase>
180
- </testsuite>
181
- <testsuite name="Save data saga" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:17" time="1.736" tests="1">
182
- <testcase classname="Save data saga Sends save request to API" name="Save data saga Sends save request to API" time="0.103">
183
- </testcase>
184
- </testsuite>
185
- <testsuite name="Runner" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:18" time="1.407" tests="1">
186
- <testcase classname="Runner Runs sagas" name="Runner Runs sagas" time="0.015">
187
- </testcase>
188
- </testsuite>
189
- <testsuite name="deleteMultipleOccurencyReducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:19" time="0.589" tests="2">
190
- <testcase classname="deleteMultipleOccurencyReducer test suit Throws an error if optionRelations or prefillersVariables are undefined" name="deleteMultipleOccurencyReducer test suit Throws an error if optionRelations or prefillersVariables are undefined" time="0.023">
191
- </testcase>
192
- <testcase classname="deleteMultipleOccurencyReducer test suit Adds a multiple occurency conditions correctly" name="deleteMultipleOccurencyReducer test suit Adds a multiple occurency conditions correctly" time="0.003">
193
- </testcase>
194
- </testsuite>
195
- <testsuite name="updateDocumentConditionReducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:19" time="0.637" tests="2">
196
- <testcase classname="updateDocumentConditionReducer test suit Updates document condition properly" name="updateDocumentConditionReducer test suit Updates document condition properly" time="0.004">
197
- </testcase>
198
- <testcase classname="updateDocumentConditionReducer test suit Returns same state without touching references if condition did not change" name="updateDocumentConditionReducer test suit Returns same state without touching references if condition did not change" time="0">
199
- </testcase>
200
- </testsuite>
201
- <testsuite name="App Reducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:19" time="1.401" tests="10">
202
- <testcase classname="App Reducer test suit Combines meta reducer" name="App Reducer test suit Combines meta reducer" time="0.008">
203
- </testcase>
204
- <testcase classname="App Reducer test suit Combines pagination reducer" name="App Reducer test suit Combines pagination reducer" time="0.001">
205
- </testcase>
206
- <testcase classname="App Reducer test suit Combines instance reducer" name="App Reducer test suit Combines instance reducer" time="0">
207
- </testcase>
208
- <testcase classname="App Reducer test suit App Reducer INIT_INSTANCE Action" name="App Reducer test suit App Reducer INIT_INSTANCE Action" time="0.001">
209
- </testcase>
210
- <testcase classname="App Reducer test suit App Reducer UPDATE_INSTANCE_PAID Action" name="App Reducer test suit App Reducer UPDATE_INSTANCE_PAID Action" time="0">
211
- </testcase>
212
- <testcase classname="App Reducer test suit appReducer INIT_PAGINATION Action" name="App Reducer test suit appReducer INIT_PAGINATION Action" time="0">
213
- </testcase>
214
- <testcase classname="App Reducer test suit appReducer GO_PAGE Action" name="App Reducer test suit appReducer GO_PAGE Action" time="0.002">
215
- </testcase>
216
- <testcase classname="App Reducer test suit appReducer UPDATE_AVAILABLE_SECTIONS Action" name="App Reducer test suit appReducer UPDATE_AVAILABLE_SECTIONS Action" time="0.001">
217
- </testcase>
218
- <testcase classname="App Reducer test suit appReducer GO_NEXT_PAGE Action" name="App Reducer test suit appReducer GO_NEXT_PAGE Action" time="0.001">
219
- </testcase>
220
- <testcase classname="App Reducer test suit appReducer GO_PREVIOUS_PAGE Action" name="App Reducer test suit appReducer GO_PREVIOUS_PAGE Action" time="0.001">
221
- </testcase>
222
- </testsuite>
223
- <testsuite name="&lt;View /&gt;" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:11" time="9.542" tests="2">
224
- <testcase classname="&lt;View /&gt; Loads WizardComponent properly" name="&lt;View /&gt; Loads WizardComponent properly" time="0.17">
225
- </testcase>
226
- <testcase classname="&lt;View /&gt; Loads TermsheetComponent properly" name="&lt;View /&gt; Loads TermsheetComponent properly" time="0.03">
227
- </testcase>
228
- </testsuite>
229
- <testsuite name="addMultipleOccurencyReducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:20" time="0.527" tests="2">
230
- <testcase classname="addMultipleOccurencyReducer test suit Throws an error if optionRelations or optionsReferences are undefined" name="addMultipleOccurencyReducer test suit Throws an error if optionRelations or optionsReferences are undefined" time="0.024">
231
- </testcase>
232
- <testcase classname="addMultipleOccurencyReducer test suit Adds a multiple occurency conditions correctly" name="addMultipleOccurencyReducer test suit Adds a multiple occurency conditions correctly" time="0.003">
233
- </testcase>
234
- </testsuite>
235
- <testsuite name="Prefillers Watcher Middleware Test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:20" time="0.586" tests="8">
236
- <testcase classname="Prefillers Watcher Middleware Test suit Completes FETCH_MODEL_SUCCEEDED action correctly" name="Prefillers Watcher Middleware Test suit Completes FETCH_MODEL_SUCCEEDED action correctly" time="0.004">
237
- </testcase>
238
- <testcase classname="Prefillers Watcher Middleware Test suit Completes UPDATE_VARIABLE_INPUT action correctly" name="Prefillers Watcher Middleware Test suit Completes UPDATE_VARIABLE_INPUT action correctly" time="0.001">
239
- </testcase>
240
- <testcase classname="Prefillers Watcher Middleware Test suit Completes UPDATE_OPTION_INPUT action correctly" name="Prefillers Watcher Middleware Test suit Completes UPDATE_OPTION_INPUT action correctly" time="0.021">
241
- </testcase>
242
- <testcase classname="Prefillers Watcher Middleware Test suit Completes UPDATE_OPTION_CONDITION action correctly" name="Prefillers Watcher Middleware Test suit Completes UPDATE_OPTION_CONDITION action correctly" time="0.001">
243
- </testcase>
244
- <testcase classname="Prefillers Watcher Middleware Test suit Completes UPDATE_OPTION_CONDITION action correctly" name="Prefillers Watcher Middleware Test suit Completes UPDATE_OPTION_CONDITION action correctly" time="0.002">
245
- </testcase>
246
- <testcase classname="Prefillers Watcher Middleware Test suit Completes UPDATE_VARIABLE_CONDITION action correctly" name="Prefillers Watcher Middleware Test suit Completes UPDATE_VARIABLE_CONDITION action correctly" time="0.001">
247
- </testcase>
248
- <testcase classname="Prefillers Watcher Middleware Test suit Throws an error on UPDATE_VARIABLE_INPUT action if variable is undefined" name="Prefillers Watcher Middleware Test suit Throws an error on UPDATE_VARIABLE_INPUT action if variable is undefined" time="0.049">
249
- </testcase>
250
- <testcase classname="Prefillers Watcher Middleware Test suit Throws an error on UPDATE_OPTION_INPUT action if variable is undefined" name="Prefillers Watcher Middleware Test suit Throws an error on UPDATE_OPTION_INPUT action if variable is undefined" time="0.001">
251
- </testcase>
252
- </testsuite>
253
- <testsuite name="Prefillers Watcher Middleware Test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:20" time="0.6" tests="4">
254
- <testcase classname="Prefillers Watcher Middleware Test suit Updates variables properly if prefillers conditions changed" name="Prefillers Watcher Middleware Test suit Updates variables properly if prefillers conditions changed" time="0.004">
255
- </testcase>
256
- <testcase classname="Prefillers Watcher Middleware Test suit Should throw an error if variable does not exist" name="Prefillers Watcher Middleware Test suit Should throw an error if variable does not exist" time="0.073">
257
- </testcase>
258
- <testcase classname="Prefillers Watcher Middleware Test suit Should not send update variable value if value is already equal to the prefiller" name="Prefillers Watcher Middleware Test suit Should not send update variable value if value is already equal to the prefiller" time="0">
259
- </testcase>
260
- <testcase classname="Prefillers Watcher Middleware Test suit Should not send update variable value if value has been changed by user" name="Prefillers Watcher Middleware Test suit Should not send update variable value if value has been changed by user" time="0">
261
- </testcase>
262
- </testsuite>
263
- <testsuite name="User selectors test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:19" time="1.31" tests="2">
264
- <testcase classname="User selectors test suit selectCurrentUserLevel" name="User selectors test suit selectCurrentUserLevel" time="0.01">
265
- </testcase>
266
- <testcase classname="User selectors test suit selectCurrentUserLevel" name="User selectors test suit selectCurrentUserLevel" time="0.043">
267
- </testcase>
268
- </testsuite>
269
- <testsuite name="Conditions selectors test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:19" time="1.433" tests="9">
270
- <testcase classname="Conditions selectors test suit Selects option conditions correctly (all occurencies)" name="Conditions selectors test suit Selects option conditions correctly (all occurencies)" time="0.003">
271
- </testcase>
272
- <testcase classname="Conditions selectors test suit Selects option conditions correctly (specific occurency)" name="Conditions selectors test suit Selects option conditions correctly (specific occurency)" time="0.021">
273
- </testcase>
274
- <testcase classname="Conditions selectors test suit Selects variable conditions correctly (all occurencies)" name="Conditions selectors test suit Selects variable conditions correctly (all occurencies)" time="0">
275
- </testcase>
276
- <testcase classname="Conditions selectors test suit Selects variable conditions correctly (specific occurency)" name="Conditions selectors test suit Selects variable conditions correctly (specific occurency)" time="0.001">
277
- </testcase>
278
- <testcase classname="Conditions selectors test suit Selects section conditions correctly " name="Conditions selectors test suit Selects section conditions correctly " time="0">
279
- </testcase>
280
- <testcase classname="Conditions selectors test suit Selects prefiller conditions correctly (all occurencies)" name="Conditions selectors test suit Selects prefiller conditions correctly (all occurencies)" time="0.001">
281
- </testcase>
282
- <testcase classname="Conditions selectors test suit Selects prefiller conditions correctly (specific occurency)" name="Conditions selectors test suit Selects prefiller conditions correctly (specific occurency)" time="0">
283
- </testcase>
284
- <testcase classname="Conditions selectors test suit Selects option validator conditions correctly" name="Conditions selectors test suit Selects option validator conditions correctly" time="0">
285
- </testcase>
286
- <testcase classname="Conditions selectors test suit Selects variable validator conditions correctly" name="Conditions selectors test suit Selects variable validator conditions correctly" time="0">
287
- </testcase>
288
- </testsuite>
289
- <testsuite name="addMultipleOccurencyReducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:20" time="0.497" tests="2">
290
- <testcase classname="addMultipleOccurencyReducer test suit Throws an error if optionRelations or prefillersVariables are undefined" name="addMultipleOccurencyReducer test suit Throws an error if optionRelations or prefillersVariables are undefined" time="0.044">
291
- </testcase>
292
- <testcase classname="addMultipleOccurencyReducer test suit Adds a multiple occurency conditions correctly" name="addMultipleOccurencyReducer test suit Adds a multiple occurency conditions correctly" time="0.016">
293
- </testcase>
294
- </testsuite>
295
- <testsuite name="Conditions reducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:20" time="0.602" tests="10">
296
- <testcase classname="Conditions reducer test suit initConditions reducer" name="Conditions reducer test suit initConditions reducer" time="0.014">
297
- </testcase>
298
- <testcase classname="Conditions reducer test suit updateOptionConditions reducer" name="Conditions reducer test suit updateOptionConditions reducer" time="0.002">
299
- </testcase>
300
- <testcase classname="Conditions reducer test suit updateSectionConditions reducer" name="Conditions reducer test suit updateSectionConditions reducer" time="0.001">
301
- </testcase>
302
- <testcase classname="Conditions reducer test suit updateVariableCondition reducer" name="Conditions reducer test suit updateVariableCondition reducer" time="0.002">
303
- </testcase>
304
- <testcase classname="Conditions reducer test suit updatePrefillerCondition reducer" name="Conditions reducer test suit updatePrefillerCondition reducer" time="0">
305
- </testcase>
306
- <testcase classname="Conditions reducer test suit Conditions reducer INIT_CONDITIONS" name="Conditions reducer test suit Conditions reducer INIT_CONDITIONS" time="0.001">
307
- </testcase>
308
- <testcase classname="Conditions reducer test suit Conditions reducer UPDATE_OPTION_CONDITION" name="Conditions reducer test suit Conditions reducer UPDATE_OPTION_CONDITION" time="0">
309
- </testcase>
310
- <testcase classname="Conditions reducer test suit Conditions reducer UPDATE_SECTION_CONDITION" name="Conditions reducer test suit Conditions reducer UPDATE_SECTION_CONDITION" time="0.002">
311
- </testcase>
312
- <testcase classname="Conditions reducer test suit Conditions reducer UPDATE_VARIABLE_CONDITION" name="Conditions reducer test suit Conditions reducer UPDATE_VARIABLE_CONDITION" time="0.001">
313
- </testcase>
314
- <testcase classname="Conditions reducer test suit Conditions reducer UPDATE_PREFILLER_CONDITION" name="Conditions reducer test suit Conditions reducer UPDATE_PREFILLER_CONDITION" time="0.001">
315
- </testcase>
316
- </testsuite>
317
- <testsuite name="Conditions Watcher Middleware Test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:20" time="0.617" tests="5">
318
- <testcase classname="Conditions Watcher Middleware Test suit Completes INIT_CONDITIONS action correctly" name="Conditions Watcher Middleware Test suit Completes INIT_CONDITIONS action correctly" time="0.015">
319
- </testcase>
320
- <testcase classname="Conditions Watcher Middleware Test suit Completes UPDATE_OPTION_INPUT action correctly" name="Conditions Watcher Middleware Test suit Completes UPDATE_OPTION_INPUT action correctly" time="0.035">
321
- </testcase>
322
- <testcase classname="Conditions Watcher Middleware Test suit Completes UPDATE_VARIABLE_INPUT action correctly" name="Conditions Watcher Middleware Test suit Completes UPDATE_VARIABLE_INPUT action correctly" time="0.003">
323
- </testcase>
324
- <testcase classname="Conditions Watcher Middleware Test suit Completes ADD_MULTIPLE_OCCURENCY action correctly" name="Conditions Watcher Middleware Test suit Completes ADD_MULTIPLE_OCCURENCY action correctly" time="0.02">
325
- </testcase>
326
- <testcase classname="Conditions Watcher Middleware Test suit Completes DELETE_MULTIPLE_OCCURENCY action correctly" name="Conditions Watcher Middleware Test suit Completes DELETE_MULTIPLE_OCCURENCY action correctly" time="0.003">
327
- </testcase>
328
- </testsuite>
329
- <testsuite name="Store subscriber test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.551" tests="1">
330
- <testcase classname="Store subscriber test suit Subscribes a listener correctly to the store" name="Store subscriber test suit Subscribes a listener correctly to the store" time="0.006">
331
- </testcase>
332
- </testsuite>
333
- <testsuite name="Inputs Options Reducer" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.566" tests="10">
334
- <testcase classname="Inputs Options Reducer initOption Reducer" name="Inputs Options Reducer initOption Reducer" time="0.005">
335
- </testcase>
336
- <testcase classname="Inputs Options Reducer updateOptionInput Reducer" name="Inputs Options Reducer updateOptionInput Reducer" time="0.001">
337
- </testcase>
338
- <testcase classname="Inputs Options Reducer updateOptionInput Reducer (When values did not change)" name="Inputs Options Reducer updateOptionInput Reducer (When values did not change)" time="0">
339
- </testcase>
340
- <testcase classname="Inputs Options Reducer initVariable Reducer" name="Inputs Options Reducer initVariable Reducer" time="0.001">
341
- </testcase>
342
- <testcase classname="Inputs Options Reducer updateVariableInput Reducer" name="Inputs Options Reducer updateVariableInput Reducer" time="0.001">
343
- </testcase>
344
- <testcase classname="Inputs Options Reducer updateVariableInput Reducer (Value did not change" name="Inputs Options Reducer updateVariableInput Reducer (Value did not change" time="0">
345
- </testcase>
346
- <testcase classname="Inputs Options Reducer inputsReducer INIT_OPTION ACTION" name="Inputs Options Reducer inputsReducer INIT_OPTION ACTION" time="0.001">
347
- </testcase>
348
- <testcase classname="Inputs Options Reducer inputsReducer UPDATE_OPTION_INPUT ACTION" name="Inputs Options Reducer inputsReducer UPDATE_OPTION_INPUT ACTION" time="0">
349
- </testcase>
350
- <testcase classname="Inputs Options Reducer inputsVariablesReducer INIT_VARIABLE ACTION" name="Inputs Options Reducer inputsVariablesReducer INIT_VARIABLE ACTION" time="0.006">
351
- </testcase>
352
- <testcase classname="Inputs Options Reducer inputsVariablesReducer UPDATE_VARIABLE_INPUT ACTION" name="Inputs Options Reducer inputsVariablesReducer UPDATE_VARIABLE_INPUT ACTION" time="0.001">
353
- </testcase>
354
- </testsuite>
355
- <testsuite name="Selectors Test" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.607" tests="1">
356
- <testcase classname="Selectors Test Middleware" name="Selectors Test Middleware" time="0.006">
357
- </testcase>
358
- </testsuite>
359
- <testsuite name="Router History" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.594" tests="3">
360
- <testcase classname="Router History Thows an error when history is not initiated" name="Router History Thows an error when history is not initiated" time="0.01">
361
- </testcase>
362
- <testcase classname="Router History Creates and returns history" name="Router History Creates and returns history" time="0.001">
363
- </testcase>
364
- <testcase classname="Router History Returns history" name="Router History Returns history" time="0">
365
- </testcase>
366
- </testsuite>
367
- <testsuite name="NumAuto Test Suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.582" tests="4">
368
- <testcase classname="NumAuto Test Suit Resets properly" name="NumAuto Test Suit Resets properly" time="0.004">
369
- </testcase>
370
- <testcase classname="NumAuto Test Suit It increments indexes correctly" name="NumAuto Test Suit It increments indexes correctly" time="0.001">
371
- </testcase>
372
- <testcase classname="NumAuto Test Suit It tags properly" name="NumAuto Test Suit It tags properly" time="0.014">
373
- </testcase>
374
- <testcase classname="NumAuto Test Suit It returns previous indexes correctly" name="NumAuto Test Suit It returns previous indexes correctly" time="0.002">
375
- </testcase>
376
- </testsuite>
377
- <testsuite name="Wizard reducers test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.595" tests="2">
378
- <testcase classname="Wizard reducers test suit updateAvailableSectionsReducer" name="Wizard reducers test suit updateAvailableSectionsReducer" time="0.014">
379
- </testcase>
380
- <testcase classname="Wizard reducers test suit updateAvailableSectionsReducer should not update state if sections did not change" name="Wizard reducers test suit updateAvailableSectionsReducer should not update state if sections did not change" time="0.001">
381
- </testcase>
382
- </testsuite>
383
- <testsuite name="deleteMultipleOccurencyReducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.648" tests="2">
384
- <testcase classname="deleteMultipleOccurencyReducer test suit Throws an error if optionRelations are undefined" name="deleteMultipleOccurencyReducer test suit Throws an error if optionRelations are undefined" time="0.014">
385
- </testcase>
386
- <testcase classname="deleteMultipleOccurencyReducer test suit Deletes a multiple occurency conditions correctly" name="deleteMultipleOccurencyReducer test suit Deletes a multiple occurency conditions correctly" time="0.003">
387
- </testcase>
388
- </testsuite>
389
- <testsuite name="Config loader" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.594" tests="1">
390
- <testcase classname="Config loader Loads config" name="Config loader Loads config" time="0.005">
391
- </testcase>
392
- </testsuite>
393
- <testsuite name="Inputs actions test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.589" tests="6">
394
- <testcase classname="Inputs actions test suit initOption Action" name="Inputs actions test suit initOption Action" time="0.003">
395
- </testcase>
396
- <testcase classname="Inputs actions test suit initVariable Action" name="Inputs actions test suit initVariable Action" time="0">
397
- </testcase>
398
- <testcase classname="Inputs actions test suit updateOption Action" name="Inputs actions test suit updateOption Action" time="0.001">
399
- </testcase>
400
- <testcase classname="Inputs actions test suit updateVariable Action" name="Inputs actions test suit updateVariable Action" time="0.005">
401
- </testcase>
402
- <testcase classname="Inputs actions test suit addMultipleOccurency Action" name="Inputs actions test suit addMultipleOccurency Action" time="0">
403
- </testcase>
404
- <testcase classname="Inputs actions test suit deleteMultipleOccurency Action" name="Inputs actions test suit deleteMultipleOccurency Action" time="0.001">
405
- </testcase>
406
- </testsuite>
407
- <testsuite name="Conditions actions test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.631" tests="5">
408
- <testcase classname="Conditions actions test suit initConditions Action" name="Conditions actions test suit initConditions Action" time="0.004">
409
- </testcase>
410
- <testcase classname="Conditions actions test suit updateOptionConditions Action" name="Conditions actions test suit updateOptionConditions Action" time="0.001">
411
- </testcase>
412
- <testcase classname="Conditions actions test suit updateVariableConditions Action" name="Conditions actions test suit updateVariableConditions Action" time="0.001">
413
- </testcase>
414
- <testcase classname="Conditions actions test suit updateSectionConditions Action" name="Conditions actions test suit updateSectionConditions Action" time="0.001">
415
- </testcase>
416
- <testcase classname="Conditions actions test suit updatePrefillersConditions Action" name="Conditions actions test suit updatePrefillersConditions Action" time="0">
417
- </testcase>
418
- </testsuite>
419
- <testsuite name="updateOptionValidatorConditionReducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:21" time="0.593" tests="2">
420
- <testcase classname="updateOptionValidatorConditionReducer test suit Updates option validator condition properly" name="updateOptionValidatorConditionReducer test suit Updates option validator condition properly" time="0.005">
421
- </testcase>
422
- <testcase classname="updateOptionValidatorConditionReducer test suit Returns same state without touching references if condition did not change" name="updateOptionValidatorConditionReducer test suit Returns same state without touching references if condition did not change" time="0.001">
423
- </testcase>
424
- </testsuite>
425
- <testsuite name="App Instance Reducer" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.591" tests="4">
426
- <testcase classname="App Instance Reducer initInstance Reducer" name="App Instance Reducer initInstance Reducer" time="0.005">
427
- </testcase>
428
- <testcase classname="App Instance Reducer updateInstancePaid Reducer" name="App Instance Reducer updateInstancePaid Reducer" time="0">
429
- </testcase>
430
- <testcase classname="App Instance Reducer updateInstancePaid Reducer should not change state if isPaid did not change" name="App Instance Reducer updateInstancePaid Reducer should not change state if isPaid did not change" time="0.001">
431
- </testcase>
432
- <testcase classname="App Instance Reducer setDataStatus Reducer" name="App Instance Reducer setDataStatus Reducer" time="0.001">
433
- </testcase>
434
- </testsuite>
435
- <testsuite name="Prefillers Watcher Middleware Test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.594" tests="2">
436
- <testcase classname="Prefillers Watcher Middleware Test suit Completes ADD_MULTIPLE_OCCURENCY action correctly" name="Prefillers Watcher Middleware Test suit Completes ADD_MULTIPLE_OCCURENCY action correctly" time="0.004">
437
- </testcase>
438
- <testcase classname="Prefillers Watcher Middleware Test suit Completes DELETE_MULTIPLE_OCCURENCY action correctly" name="Prefillers Watcher Middleware Test suit Completes DELETE_MULTIPLE_OCCURENCY action correctly" time="0">
439
- </testcase>
440
- </testsuite>
441
- <testsuite name="SectionValidity library test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.708" tests="4">
442
- <testcase classname="SectionValidity library test suit Checks valid section" name="SectionValidity library test suit Checks valid section" time="0.003">
443
- </testcase>
444
- <testcase classname="SectionValidity library test suit Checks unvalid section" name="SectionValidity library test suit Checks unvalid section" time="0.005">
445
- </testcase>
446
- <testcase classname="SectionValidity library test suit Should throw an error if option reference does not exist" name="SectionValidity library test suit Should throw an error if option reference does not exist" time="0.015">
447
- </testcase>
448
- <testcase classname="SectionValidity library test suit Should throw an error if section does not exist" name="SectionValidity library test suit Should throw an error if section does not exist" time="0.001">
449
- </testcase>
450
- </testsuite>
451
- <testsuite name="App Meta Reducer" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.647" tests="3">
452
- <testcase classname="App Meta Reducer initMeta Reducer" name="App Meta Reducer initMeta Reducer" time="0.004">
453
- </testcase>
454
- <testcase classname="App Meta Reducer fetchModelSucceeded Reducer" name="App Meta Reducer fetchModelSucceeded Reducer" time="0.001">
455
- </testcase>
456
- <testcase classname="App Meta Reducer fetchModelFailed Reducer" name="App Meta Reducer fetchModelFailed Reducer" time="0">
457
- </testcase>
458
- </testsuite>
459
- <testsuite name="References actions test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.63" tests="1">
460
- <testcase classname="References actions test suit initReferences Action" name="References actions test suit initReferences Action" time="0.003">
461
- </testcase>
462
- </testsuite>
463
- <testsuite name="App actions test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.654" tests="8">
464
- <testcase classname="App actions test suit initMeta Action" name="App actions test suit initMeta Action" time="0.003">
465
- </testcase>
466
- <testcase classname="App actions test suit initInstance Action" name="App actions test suit initInstance Action" time="0.001">
467
- </testcase>
468
- <testcase classname="App actions test suit updateInstancePaid Action" name="App actions test suit updateInstancePaid Action" time="0">
469
- </testcase>
470
- <testcase classname="App actions test suit initPagination Action" name="App actions test suit initPagination Action" time="0.001">
471
- </testcase>
472
- <testcase classname="App actions test suit goPage Action" name="App actions test suit goPage Action" time="0.001">
473
- </testcase>
474
- <testcase classname="App actions test suit goNextPage Action" name="App actions test suit goNextPage Action" time="0">
475
- </testcase>
476
- <testcase classname="App actions test suit goPreviousPage Action" name="App actions test suit goPreviousPage Action" time="0">
477
- </testcase>
478
- <testcase classname="App actions test suit updateAvailableSections Action" name="App actions test suit updateAvailableSections Action" time="0.001">
479
- </testcase>
480
- </testsuite>
481
- <testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.684" tests="1">
482
- <testcase classname=" Returns saveData action properkt" name=" Returns saveData action properkt" time="0.005">
483
- </testcase>
484
- </testsuite>
485
- <testsuite name="User Reducer test suits" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.59" tests="2">
486
- <testcase classname="User Reducer test suits initUserReducer Reducer" name="User Reducer test suits initUserReducer Reducer" time="0.004">
487
- </testcase>
488
- <testcase classname="User Reducer test suits user Reducer INIT_USER Action" name="User Reducer test suits user Reducer INIT_USER Action" time="0.001">
489
- </testcase>
490
- </testsuite>
491
- <testsuite name="Saga model actions test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:22" time="0.427" tests="1">
492
- <testcase classname="Saga model actions test suit fetchModelPrerequisites Action" name="Saga model actions test suit fetchModelPrerequisites Action" time="0.003">
493
- </testcase>
494
- </testsuite>
495
- <testsuite name="updateVariableValidatorConditionReducer test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:23" time="0.334" tests="2">
496
- <testcase classname="updateVariableValidatorConditionReducer test suit Updates variable validator condition properly" name="updateVariableValidatorConditionReducer test suit Updates variable validator condition properly" time="0.003">
497
- </testcase>
498
- <testcase classname="updateVariableValidatorConditionReducer test suit Returns same state without touching references if condition did not change" name="updateVariableValidatorConditionReducer test suit Returns same state without touching references if condition did not change" time="0.001">
499
- </testcase>
500
- </testsuite>
501
- <testsuite name="User actions test suit" errors="0" failures="0" skipped="0" timestamp="2021-10-27T20:43:23" time="0.366" tests="1">
502
- <testcase classname="User actions test suit initUser Action" name="User actions test suit initUser Action" time="0.009">
503
- </testcase>
504
- </testsuite>
505
- </testsuites>