@elliemae/ds-monorepo-devops 3.52.0-rc.2 → 3.52.0-rc.21
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.
|
@@ -65,6 +65,7 @@ export const config = ({ relativePathAfterTestsFolder = undefined, firstLevelSpr
|
|
|
65
65
|
testTimeout: 120000,
|
|
66
66
|
setupFilesAfterEnv: [...jestConfig.setupFilesAfterEnv, ...getSetupFilesAfterEnvBasedOnFlags({ silenceConsole })],
|
|
67
67
|
...firstLevelSpread,
|
|
68
|
+
transformIgnorePatterns: [...jestConfig.transformIgnorePatterns, '/node_modules/(?!lodash-es|other-es-modules)/'],
|
|
68
69
|
};
|
|
69
70
|
};
|
|
70
71
|
export default config;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineConfig, devices } from '@playwright/experimental-ct-react';
|
|
2
|
+
// import { defineConfig as viteDefineConfig } from 'vite';
|
|
3
|
+
// import react from '@vitejs/plugin-react';
|
|
4
|
+
|
|
5
|
+
export const config = defineConfig({
|
|
6
|
+
testDir: './src/tests',
|
|
7
|
+
testMatch: '**/*.test.playwright.@(js|jsx|ts|tsx)',
|
|
8
|
+
snapshotDir: './__snapshots__',
|
|
9
|
+
timeout: 10 * 1000,
|
|
10
|
+
fullyParallel: process.env.CI ? false : true,
|
|
11
|
+
forbidOnly: false,
|
|
12
|
+
/* Retry on CI only */
|
|
13
|
+
retries: process.env.CI ? 2 : 0,
|
|
14
|
+
/* Opt out of parallel tests on CI. */
|
|
15
|
+
workers: process.env.CI ? 1 : undefined,
|
|
16
|
+
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
|
17
|
+
reporter: 'list',
|
|
18
|
+
// ctViteConfig: viteDefineConfig({ logLevel: 'info', plugins: [react()] }),
|
|
19
|
+
use: {
|
|
20
|
+
ctPort: 31500,
|
|
21
|
+
headless: process.env.CI ? true : false,
|
|
22
|
+
launchOptions: {
|
|
23
|
+
devtools: process.env.CI ? false : true,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
projects: [
|
|
27
|
+
{
|
|
28
|
+
name: 'chromium',
|
|
29
|
+
use: { ...devices['Desktop Chrome'] },
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-monorepo-devops",
|
|
3
|
-
"version": "3.52.0-rc.
|
|
3
|
+
"version": "3.52.0-rc.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Monorepo Devops",
|
|
6
6
|
"type": "module",
|
|
@@ -14,8 +14,16 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
16
|
"./configs/jest.config": {
|
|
17
|
-
"import": "./configs/jest.config.mjs",
|
|
18
|
-
"require": "./configs/jest.config.mjs"
|
|
17
|
+
"import": "./configs/jest/jest.config.mjs",
|
|
18
|
+
"require": "./configs/jest/jest.config.mjs"
|
|
19
|
+
},
|
|
20
|
+
"./configs/jest/jest.config": {
|
|
21
|
+
"import": "./configs/jest/jest.config.mjs",
|
|
22
|
+
"require": "./configs/jest/jest.config.mjs"
|
|
23
|
+
},
|
|
24
|
+
"./configs/playwright/playwright-component-testing-config": {
|
|
25
|
+
"import": "./configs/playwright/playwright-component-testing-config.mjs",
|
|
26
|
+
"require": "./configs/playwright/playwright-component-testing-config.mjs"
|
|
19
27
|
}
|
|
20
28
|
},
|
|
21
29
|
"sideEffects": [],
|
|
@@ -46,5 +54,8 @@
|
|
|
46
54
|
"access": "public",
|
|
47
55
|
"typeSafety": false
|
|
48
56
|
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@playwright/experimental-ct-react": "^1.51.1"
|
|
59
|
+
},
|
|
49
60
|
"scripts": {}
|
|
50
61
|
}
|
|
File without changes
|