@theia/playwright 1.50.1 → 1.51.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.
|
@@ -2,7 +2,7 @@ import { Page, PlaywrightWorkerArgs } from '@playwright/test';
|
|
|
2
2
|
import { TheiaApp } from './theia-app';
|
|
3
3
|
import { TheiaWorkspace } from './theia-workspace';
|
|
4
4
|
export interface TheiaAppFactory<T extends TheiaApp> {
|
|
5
|
-
new (page: Page, initialWorkspace
|
|
5
|
+
new (page: Page, initialWorkspace: TheiaWorkspace, isElectron?: boolean): T;
|
|
6
6
|
}
|
|
7
7
|
export interface TheiaPlaywrightTestConfig {
|
|
8
8
|
useElectron?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theia-app-loader.d.ts","sourceRoot":"","sources":["../src/theia-app-loader.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAyB,MAAM,kBAAkB,CAAC;AAGrF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,QAAQ;IAC/C,KAAI,IAAI,EAAE,IAAI,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"theia-app-loader.d.ts","sourceRoot":"","sources":["../src/theia-app-loader.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAyB,MAAM,kBAAkB,CAAC;AAGrF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,QAAQ;IAC/C,KAAI,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,cAAc,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC;CAC9E;AAGD,MAAM,WAAW,yBAAyB;IACtC,WAAW,CAAC,EAAE;QACV,qFAAqF;QACrF,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,gGAAgG;QAChG,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,oMAAoM;QACpM,aAAa,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAA;CACJ;AAgHD,yBAAiB,cAAc,CAAC;IAE5B,SAAsB,IAAI,CAAC,CAAC,SAAS,QAAQ,EACzC,IAAI,EAAE,yBAAyB,GAAG,oBAAoB,EACtD,gBAAgB,CAAC,EAAE,cAAc,EACjC,OAAO,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,GAC7B,OAAO,CAAC,CAAC,CAAC,CASZ;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/playwright",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"description": "System tests for Theia",
|
|
5
5
|
"license": "EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"main": "lib/index",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "fe70ec5d445d733038564d81357c78aedf5c7e0e"
|
|
50
50
|
}
|
package/src/theia-app-loader.ts
CHANGED
|
@@ -22,7 +22,7 @@ import { TheiaWorkspace } from './theia-workspace';
|
|
|
22
22
|
import { OSUtil } from './util';
|
|
23
23
|
|
|
24
24
|
export interface TheiaAppFactory<T extends TheiaApp> {
|
|
25
|
-
new(page: Page, initialWorkspace
|
|
25
|
+
new(page: Page, initialWorkspace: TheiaWorkspace, isElectron?: boolean): T;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
// TODO this is just a sketch, we need a proper way to configure tests and pass this configuration to the `TheiaAppLoader`:
|