* Created test for block list editor * Added a couple of test for the block list editor * Changed parts of builder * Split the test into two files instead of one * Updated and added test for blockListEditor * Updated version * Fixed so it now targets the correct selector * Removed unnecessary login in the afterEach * Fixed up the test so they are now using constants and the correct helpers * Bumped version * Updated the package-lock * Added local function to battle code reuse! * Updated the path of the image for the test 'can edit a block list editor' * Placed an expect before the button so it waits to click the button till it's visible * Yet another fix for the imagePath and a missing "
32 lines
798 B
JSON
32 lines
798 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.19.2",
|
|
"typescript": "^4.8.3",
|
|
"tslib": "^2.4.0",
|
|
"del": "^6.0.0",
|
|
"ncp": "^2.0.0",
|
|
"prompt": "^1.2.0",
|
|
"wait-on": "^6.0.1"
|
|
},
|
|
"dependencies": {
|
|
"@umbraco/json-models-builders": "^1.0.2",
|
|
"@umbraco/playwright-testhelpers": "^1.0.12",
|
|
"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"
|
|
}
|
|
}
|