V14 added test for the Templates (#15179)

* Updated existing locator as it was prone to failing

* Removed old tests from earlier versions

* Added a timeout and an await. This was because the locator sometimes failed

* Added missing import for crypto

* Updated locator as it sometimes failed.

* Updated the README to include information for using the UI mode for playwright

* Bumped the timeout time for our tests

* We updated the naming for out methods in our testHelpers, so we need to update the usage as well

* Added additional timeout

* Updated the config so it is easier to understand what you need to input

* Added UI acceptance tests for templates

* Added types/node, allows us to use crypto. Updated the testhelpers to use the newest version.

* fixed error with testhelper dependency

* Bumped testhelper version

* Moved to settings instead of templating
This commit is contained in:
Andreas Zerbst
2023-11-13 09:36:23 +01:00
committed by GitHub
parent 589c74e918
commit 3d6c5850dc
13 changed files with 333 additions and 126 deletions

View File

@@ -11,6 +11,7 @@
},
"devDependencies": {
"@playwright/test": "^1.38",
"@types/node": "^20.9.0",
"del": "^6.0.0",
"ncp": "^2.0.0",
"prompt": "^1.2.0",
@@ -20,7 +21,7 @@
},
"dependencies": {
"@umbraco/json-models-builders": "^1.0.6",
"@umbraco/playwright-testhelpers": "2.0.0-beta.4",
"@umbraco/playwright-testhelpers": "^2.0.0-beta.5",
"camelize": "^1.0.0",
"dotenv": "^16.3.1",
"faker": "^4.1.0",