Skip to content

Commit ba50fcd

Browse files
authored
fix(e2e): actually test the packaged app when running npm run test-packaged (#6558)
* too many dashes * OH it works for test-ci, just not test
1 parent f98f820 commit ba50fcd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/compass-e2e-tests/helpers/test-runner-context.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ if ('then' in parsedArgs && typeof parsedArgs.then === 'function') {
279279
export const context = parsedArgs as CommonParsedArgs &
280280
Partial<DesktopParsedArgs & WebParsedArgs>;
281281

282+
debug('context:', context);
283+
282284
export function isTestingDesktop(ctx = context): ctx is DesktopParsedArgs {
283285
return testEnv === 'desktop';
284286
}

packages/compass-e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test": "xvfb-maybe --auto-servernum --server-args=\"-screen 0 1432x840x24\" -- ts-node index.ts",
1515
"test-ci": "npm run test",
1616
"posttest-ci": "npm run coverage-report",
17-
"test-packaged": "npm run test -- -- --test-packaged-app",
17+
"test-packaged": "npm run test -- --test-packaged-app",
1818
"test-packaged-ci": "npm run test-ci -- -- --test-packaged-app",
1919
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write .",
2020
"start-server-1": "mongodb-runner start --id=e2e-1 --topology=replset --secondaries=0 -- --port 27091",

0 commit comments

Comments
 (0)