Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/helpers/ConstantHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions lib/helpers/UiBaseLocators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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…');
Expand Down Expand Up @@ -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});
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down