-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi all,
I am currently migrating Umbraco CSP manager and have been trying to get playwright testing up and running however when trying use goToSection it says it doesn't exist, however looking at the source code I can see it is defined along with JsonHelper which also appears to be missing.
test("Can access CSP Manager Section", async ({ page }) => {
var uiHelper = new umbraco.UiHelpers(page);
await uiHelper.gotToSection("Umbraco.Community.CSPManager.Section");
});
package-lock.json ref just in case it helps
"node_modules/@umbraco/playwright-testhelpers": {
"version": "16.0.34",
"resolved": "https://registry.npmjs.org/@umbraco/playwright-testhelpers/-/playwright-testhelpers-16.0.34.tgz",
"integrity": "sha512-hCOqSUrTVZPNxD3DP+olYz/QFc8HwyZ1QZR6gTv87nIkAlvEjk44+7KblPartfBXQDd93uvasptr7dO3XCapZA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@umbraco/json-models-builders": "2.0.37",
"node-fetch": "^2.6.7"
}
},
You can see the code in this branch - https://github.com/Matthew-Wise/Umbraco-CSP-manager/tree/v15/main
thanks
Matt
Metadata
Metadata
Assignees
Labels
No labels