* Fixed failing tests * Updated tests to use the updated helpers * Clean up tests * Enabled our pipeline for E2E testing * Updated the CMS URl for our E2E tests * Bumped version of our testHelpers * Did some fixing, still a bit more to do * Updated auth tests to use LoginUiHelper * Updated Telemetry tests to use TelemetryUiHelper * Updated LogViewer tests to use LogViewerUiHelper * Updated api tests to apply AAA pattern and fix failed tests * Removed unused import * Fixed comments * Bumped version of test helper * Updated the version to 10 instead of 11 * Updated the package-lock.json file to contain the correct versions * Added a waitForTimeout The reason for this is that this test is failing on the pipeline * Bumped version of testhelpers * Removed TODO * Updated EnsurePathExists so we create the stylesheet and scripts folder * Added a waits for response, otherwise our test would be too fast * Sometimes it reloads before the save is complete * Added timeout for locator * Removed duplicate * Wait until save * This was an actual bug, so we should not use a workaround, we should fix it * Skips the tests for script. * Bug was fixed, so this can be used again --------- Co-authored-by: Andreas Zerbst <andr317c@live.dk>
33 lines
833 B
JSON
33 lines
833 B
JSON
{
|
|
"name": "acceptancetest",
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "node postinstall.js",
|
|
"config": "node config.js",
|
|
"ui": "npx playwright test --headed DefaultConfig",
|
|
"test": "npx playwright test DefaultConfig",
|
|
"all": "npx playwright test",
|
|
"createTest": "node createTest.js"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.38",
|
|
"@types/node": "^20.9.0",
|
|
"del": "^6.0.0",
|
|
"ncp": "^2.0.0",
|
|
"prompt": "^1.2.0",
|
|
"tslib": "^2.4.0",
|
|
"typescript": "^4.8.3",
|
|
"wait-on": "^7.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@umbraco/json-models-builders": "^1.0.6",
|
|
"@umbraco/playwright-testhelpers": "^2.0.0-beta.11",
|
|
"camelize": "^1.0.0",
|
|
"dotenv": "^16.3.1",
|
|
"faker": "^4.1.0",
|
|
"form-data": "^4.0.0",
|
|
"node-fetch": "^2.6.7",
|
|
"xhr2": "^0.2.1"
|
|
}
|
|
}
|