forked from eclipse-theia/theia-e2e-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust tests for electron playwright
* Update theia dependency to 1.46.1 * Use new TheiaApploader * Add workaround for Electron playwright multi root issue * Support different projects (e.g., chromium or Electron) in performance reports Contributed on behalf of STMicroelectronics Signed-off-by: Olaf Lessenich <[email protected]>
- Loading branch information
Showing
10 changed files
with
316 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
{ | ||
"private": true, | ||
"name": "theia-e2e-test-suite", | ||
"version": "1.39.0", | ||
"version": "1.46.1", | ||
"license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0", | ||
"scripts": { | ||
"prepare": "yarn clean && yarn build", | ||
"clean": "rimraf lib tsconfig.tsbuildinfo", | ||
"build": "tsc --incremental && if-env SKIP_CHROMIUM_INSTALLATION=1 && echo 'Skipping chromium install' || npx playwright install chromium", | ||
"ui-tests": "yarn && playwright test --config=./configs/playwright.config.ts", | ||
"ui-tests-ci": "yarn && playwright test --config=./configs/playwright.ci.config.ts", | ||
"ui-tests-headful": "yarn && playwright test --config=./configs/playwright.headful.config.ts", | ||
"ui-tests": "yarn && playwright test --config=./configs/playwright.config.ts --project=Browser", | ||
"ui-tests-electron": "yarn && USE_ELECTRON=true playwright test --config=./configs/playwright.config.ts --project=Electron", | ||
"ui-tests-ci": "yarn && playwright test --config=./configs/playwright.ci.config.ts --project=Browser", | ||
"ui-tests-ci-electron": "yarn && USE_ELECTRON=true playwright test --config=./configs/playwright.ci.config.ts --project=Electron", | ||
"ui-tests-headful": "yarn && playwright test --config=./configs/playwright.headful.config.ts --project=Browser", | ||
"ui-tests-report-generate": "allure generate ./allure-results --clean -o allure-results/allure-report", | ||
"ui-tests-report": "yarn ui-tests-report-generate && allure open allure-results/allure-report", | ||
"performance": "yarn run performance-on-chromium", | ||
"performance-on-chromium": "yarn && playwright test --config=./configs/performance.config.ts --project=chromium", | ||
"performance-on-chrome": "yarn && playwright test --config=./configs/performance.config.ts --project=Chrome", | ||
"performance-report": "yarn && node lib/scripts/performance-report.js" | ||
"performance-on-electron": "yarn && USE_ELECTRON=true playwright test --config=./configs/performance.config.ts --project=Electron", | ||
"performance-report": "yarn && node lib/scripts/performance-report.js --performanceMetricsPath performance-metrics/chromium --performancePublishPath=performance/chromium", | ||
"performance-report-electron": "yarn && node lib/scripts/performance-report.js --performanceMetricsPath performance-metrics/Electron --performancePublishPath=performance/Electron" | ||
}, | ||
"dependencies": { | ||
"@playwright/test": "^1.35.1", | ||
"@theia/playwright": "^1.39.0" | ||
"@playwright/test": "^1.37.1", | ||
"@theia/playwright": "^1.46.1" | ||
}, | ||
"devDependencies": { | ||
"allure-commandline": "^2.23.0", | ||
"allure-playwright": "^2.4.0", | ||
"rimraf": "^3.0.0", | ||
"node-fetch": "^2.6.7", | ||
"@types/node-fetch": "^2.6.4", | ||
"fs-extra": "^11.1.1", | ||
"@types/fs-extra": "^11.0.1", | ||
"yargs": "^17.7.2", | ||
"@types/node-fetch": "^2.6.4", | ||
"@types/yargs": "^17.0.24", | ||
"allure-commandline": "^2.23.1", | ||
"allure-playwright": "^2.5.0", | ||
"fs-extra": "^11.1.1", | ||
"if-env": "^1.0.4", | ||
"typescript": "~4.5.5" | ||
"node-fetch": "^2.6.7", | ||
"rimraf": "^3.0.0", | ||
"typescript": "~4.5.5", | ||
"yargs": "^17.7.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.