@genesislcap/foundation-testing 14.24.1 → 14.24.2

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.
@@ -0,0 +1,7 @@
1
+ import type { PlaywrightTestConfig } from '@playwright/test';
2
+ /**
3
+ * Default Global Configs, to be re-used (and possibly overridden) by each app
4
+ * @public
5
+ */
6
+ export declare const configDefaults: PlaywrightTestConfig;
7
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/playwright/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,oBA0B5B,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Do not export setup
3
3
  */
4
+ export * from './config';
4
5
  export * from './test';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/playwright/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/playwright/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Default Global Configs, to be re-used (and possibly overridden) by each app
3
+ * @public
4
+ */
5
+ export const configDefaults = {
6
+ globalSetup: '@genesislcap/foundation-testing/playwright',
7
+ projects: [
8
+ {
9
+ name: 'Chrome Stable',
10
+ use: {
11
+ browserName: 'chromium',
12
+ channel: 'chrome',
13
+ ignoreHTTPSErrors: true,
14
+ /**
15
+ * We should be able to use these 'use' blocks at the App level to provide config data to our micro frontends.
16
+ * This might include what backend to run against, what username password combo to use etc.
17
+ *
18
+ * config: AppLevelPkgConfig;
19
+ */
20
+ // config: {
21
+ // API_HOST: 'wss://dev-foundation1/gwf/',
22
+ // DEFAULT_USER: 'Derek',
23
+ // DEFAULT_PASSWORD: 'Paul',
24
+ // PORT: 5030,
25
+ // },
26
+ },
27
+ },
28
+ ],
29
+ testMatch: '**/*.e2e.ts',
30
+ timeout: 60000,
31
+ };
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Do not export setup
3
3
  */
4
+ export * from './config';
4
5
  export * from './test';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-testing",
3
3
  "description": "Genesis Foundation Testing",
4
- "version": "14.24.1",
4
+ "version": "14.24.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -47,7 +47,7 @@
47
47
  "test": "echo \"Error: no test specified\""
48
48
  },
49
49
  "devDependencies": {
50
- "@genesislcap/genx": "^14.24.1",
50
+ "@genesislcap/genx": "^14.24.2",
51
51
  "@module-federation/dashboard-plugin": "2.3.0",
52
52
  "@playwright/test": "^1.18.1",
53
53
  "@types/sinon": "^10.0.13",
@@ -88,7 +88,7 @@
88
88
  "webpack-merge": "^5.7.3"
89
89
  },
90
90
  "dependencies": {
91
- "@genesislcap/foundation-utils": "^14.24.1",
91
+ "@genesislcap/foundation-utils": "^14.24.2",
92
92
  "@microsoft/fast-element": "^1.7.0",
93
93
  "@microsoft/fast-foundation": "^2.33.2",
94
94
  "sinon": "15.0.1",
@@ -102,5 +102,5 @@
102
102
  "publishConfig": {
103
103
  "access": "public"
104
104
  },
105
- "gitHead": "0d751f4d70eed15afe10fa4dcd2eaa0af7f9dfcb"
105
+ "gitHead": "a4cd30274c02f59472b48654d8e749c2e2b28f1d"
106
106
  }