E2E: QA: add acceptance tests for approved color label#23046
Conversation
|
Claude finished @andr317c's task in 2m 57s —— View job Code Review
Good addition — the two tests cover a meaningful regression scenario (label on content being updated to reflect a data type label change after re-publish), and the overall structure follows established patterns in the test suite. A few small points worth addressing:
|
…color-picker' into v18/QA/add-acceptance-tests-for-color-picker
There was a problem hiding this comment.
Pull request overview
Adds end-to-end coverage ensuring Approved Color values remain consistent when an Approved Color data type’s item label is changed, and that republishing updates both stored value metadata and rendered output.
Changes:
- Adds a new acceptance spec verifying label updates are applied to existing content after republish.
- Adds a rendered-content assertion to ensure the updated label is displayed on the frontend after republish.
- Extends the acceptance test DataType API helper with a method to update an Approved Color item label.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/ContentWithApprovedColorLabel.spec.ts |
New E2E tests for updating and rendering Approved Color labels after data type label changes. |
tests/Umbraco.Tests.AcceptanceTest/lib/helpers/DataTypeApiHelper.ts |
Adds helper API to update an Approved Color item’s label to support the new E2E scenarios. |
|



No description provided.