diff --git a/lib/helpers/ConstantHelper.ts b/lib/helpers/ConstantHelper.ts index 14e0e5b5..c302d45f 100644 --- a/lib/helpers/ConstantHelper.ts +++ b/lib/helpers/ConstantHelper.ts @@ -35,8 +35,8 @@ } public static readonly approvedColorSettings = { - 0: ['Include labels?', 'Displays colored field and a label for each color in the color picker, rather than just a colored field.'], - 1: ['Colors', 'Add, remove or sort colors (and labels).'], + 0: ['Include labels?', 'Stores colors as a JSON object containing both the color hex string and label, rather than just the hex string.'], + 1: ['Colors', 'Add, remove or sort colors'], } public static readonly checkboxListSettings = { diff --git a/lib/helpers/UiBaseLocators.ts b/lib/helpers/UiBaseLocators.ts index 2c5d4ba2..bf0e0e24 100644 --- a/lib/helpers/UiBaseLocators.ts +++ b/lib/helpers/UiBaseLocators.ts @@ -214,7 +214,7 @@ export class UiBaseLocators { this.addPropertyBtn = page.getByLabel('Add property', {exact: true}); this.typeToFilterSearchTxt = page.locator('[type="search"] #input'); this.editorSettingsBtn = page.getByLabel('Editor settings'); - this.labelAboveBtn = page.locator('.appearance-option').filter({hasText: 'Label above'}); + this.labelAboveBtn = page.locator('button').filter({hasText: 'Label above'}); // tab: means that the tab is unnamed this.unnamedTabTxt = page.getByTestId('tab:').getByTestId('tab:name-input').locator('#input'); this.deleteThreeDotsBtn = page.getByLabel('Delete…'); @@ -252,7 +252,7 @@ export class UiBaseLocators { this.backOfficeHeader = page.locator('umb-backoffice-header'); this.failedStateButton = page.locator('uui-button[state="failed"]'); this.mediaCardItems = page.locator('uui-card-media'); - this.enterPropertyEditorDescriptionTxt = this.sidebarModal.getByTestId('input:entity-description').locator('#textarea'); + this.enterPropertyEditorDescriptionTxt = this.sidebarModal.getByLabel('Enter a description...'); this.breadcrumbsTemplateModal = this.sidebarModal.locator('umb-template-workspace-editor uui-breadcrumbs'); this.documentTypeNode = page.locator('uui-ref-node-document-type'); this.groupLabel = page.getByLabel('Group', {exact: true}); diff --git a/package-lock.json b/package-lock.json index 60dbd553..a3afe8b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@umbraco/playwright-testhelpers", - "version": "16.0.57", + "version": "16.0.58", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@umbraco/playwright-testhelpers", - "version": "16.0.57", + "version": "16.0.58", "license": "MIT", "dependencies": { "@umbraco/json-models-builders": "2.0.40", diff --git a/package.json b/package.json index 6cefedf5..4b389c8b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@umbraco/playwright-testhelpers", - "version": "16.0.57", + "version": "16.0.58", "description": "Test helpers for making playwright tests for Umbraco solutions", "main": "dist/lib/index.js", "files": [