Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(edit-content): Fix the tests for dot-edit-content-field.component.spec #26884 #27429

Conversation

KevinDavilaDotCMS
Copy link
Contributor

Proposed Changes

  • Now each component inside on EditContentField has its own "DotTestBed", and that have the config to that component, like providers, imports, declarations, props.
  • Now test check "outsided" formControlNames. Most of EditContent components dont need [formControl], but some specific component needs, sot now the test have validation to that special cases (Check if the component have [formControlName] prop)

@fmontes fmontes changed the title Refactor on EditContentField tests chore(edit-content): Fix the tests for dot-edit-content-field.component.spec #26884 Jan 25, 2024
@fmontes fmontes added this pull request to the merge queue Jan 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 25, 2024
@oidacra oidacra added this pull request to the merge queue Jan 26, 2024
Copy link

Merged via the queue into master with commit e5aea27 Jan 26, 2024
17 checks passed
@oidacra oidacra deleted the 26884-edit-content-fix-the-tests-for-dot-edit-content-fieldcomponentspec branch January 26, 2024 02:21
manuelrojas added a commit that referenced this pull request Jan 26, 2024
…nt.spec #26884 (#27429)

* Refactor on EditContentField tests

* Fix test on Announcements Store

* Fix announcements store test

---------

Co-authored-by: Arcadio Quintero <oidacra@gmail.com>
Co-authored-by: Manuel Rojas <manuel.rojas.21@gmail.com>
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.

Edit Content: Fix the tests for dot-edit-content-field.component.spec
4 participants