Files
Umbraco-CMS/tests/Umbraco.Tests.AcceptanceTest/package.json
Andreas Zerbst 158cef1692 V10 fixed up failing acceptance test (#14829)
* Updated playwright, our builders, and our helpers

* Updated the use of our testhelper methods, we removed the need for sending umbracoApi through the methods as a parameter since it was unnecessary

* Added a timeout

* Updated successNotifications and added a locator

* Removed timeout from successNotification

* Added additional timeouts and updated old locators which were failing

* Updated locator so it only finds one element

* Removed timeouts and added a waitForTimeout

* Removed timeouts

* Removed timeouts

* Added timeouts

* Updated locator

* Added a timeout

* Updated locators for clicking button

* Changed locator for adding the image, sometimes the old locator would find 2 locators
2023-09-20 12:15:24 +02:00

31 lines
771 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",
"typescript": "^4.8.3",
"tslib": "^2.4.0",
"del": "^6.0.0",
"ncp": "^2.0.0",
"prompt": "^1.2.0"
},
"dependencies": {
"@umbraco/json-models-builders": "^1.0.6",
"@umbraco/playwright-testhelpers": "^1.0.25",
"camelize": "^1.0.0",
"faker": "^4.1.0",
"form-data": "^4.0.0",
"node-fetch": "^2.6.7",
"xhr2": "^0.2.1",
"dotenv": "^16.0.2"
}
}