Skip to content

E2E: QA added entity picker acceptance tests#20776

Merged
andr317c merged 15 commits intomainfrom
V17/QA/add-entity-picker-acceptance-tests
Nov 12, 2025
Merged

E2E: QA added entity picker acceptance tests#20776
andr317c merged 15 commits intomainfrom
V17/QA/add-entity-picker-acceptance-tests

Conversation

@andr317c
Copy link
Contributor

No description provided.

…ker-acceptance-tests

# Conflicts:
#	tests/Umbraco.Tests.AcceptanceTest/package-lock.json
#	tests/Umbraco.Tests.AcceptanceTest/package.json
Copilot AI review requested due to automatic review settings November 10, 2025 09:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive acceptance tests for the Entity Data Picker feature in Umbraco CMS, covering both tree and collection data source implementations. The tests validate data type creation, content creation with validation rules, and content rendering scenarios.

Key Changes

  • Added acceptance tests for Entity Data Picker with tree and collection data sources
  • Implemented custom data source plugins for test fixtures
  • Updated test helper dependencies to support new test functionality
  • Configured CI/CD pipelines to run Entity Data Picker tests on Windows and Linux

Reviewed Changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/Content/EntityPickerTree.spec.ts Tests content creation with tree data source, including validation for min/max items
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/Content/EntityPickerCollection.spec.ts Tests content creation with collection data source, including validation scenarios
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/DataType/EntityPickerTree.spec.ts Tests data type creation UI for tree data source
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/DataType/EntityPickerCollection.spec.ts Tests data type creation UI for collection data source
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/RenderedContent/EntityPickerTree.spec.ts Tests rendering of content with tree data source values
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/RenderedContent/EntityPickerCollection.spec.ts Tests rendering of content with collection data source values
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/AdditionalSetup/appsettings.json Test configuration for Entity Data Picker tests
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/AdditionalSetup/App_Plugins/picker-data-source/umbraco-package.json Package definition for custom picker data sources
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/AdditionalSetup/App_Plugins/picker-data-source/tree-api.js Tree data source implementation for testing
tests/Umbraco.Tests.AcceptanceTest/tests/EntityDataPicker/AdditionalSetup/App_Plugins/picker-data-source/collection-api.js Collection data source implementation for testing
tests/Umbraco.Tests.AcceptanceTest/playwright.config.ts Added entityDataPicker test project configuration
tests/Umbraco.Tests.AcceptanceTest/package.json Updated test helper dependencies
tests/Umbraco.Tests.AcceptanceTest/package-lock.json Updated dependency lock file
build/nightly-E2E-test-pipelines.yml Added Windows and Linux test jobs for Entity Data Picker
Files not reviewed (1)
  • tests/Umbraco.Tests.AcceptanceTest/package-lock.json: Language not supported

Copy link
Contributor

@nhudinh0309 nhudinh0309 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had some comments

Copy link
Contributor

@nhudinh0309 nhudinh0309 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had more comments. You can merge after fix them.

@andr317c andr317c enabled auto-merge (squash) November 11, 2025 10:15
@andr317c andr317c merged commit c60cf90 into main Nov 12, 2025
26 checks passed
@andr317c andr317c deleted the V17/QA/add-entity-picker-acceptance-tests branch November 12, 2025 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants