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

Add test that checks that Core and Container WC clientAPI are the same #3663

Open
ndricimrr opened this issue Feb 29, 2024 · 0 comments
Open
Labels
follow up Follow up tasks

Comments

@ndricimrr
Copy link
Contributor

ndricimrr commented Feb 29, 2024

Follow up from #3643

To be done after Container Cypress Integration tests are restructured properly in #3562

Possible solution:

This can work as a Cypress Integration test.

Have two apps that use WC microfrontend with the same exact UI, but one of them is built as a Core based App, the other as a Container based only WC microfrontend. Maybe just put these under two different routes if possible.

At the end have one singular Cypress test file/s for both apps.

The same tests should be ran twice but on different app routes. If test passes twice it means both Core and Client have the same clientAPI functionality.

(Keep in mind that there might be exceptions where some Core WC clientAPI functionality might not make sense in Container scenario)

@ndricimrr ndricimrr added the follow up Follow up tasks label Feb 29, 2024
@ndricimrr ndricimrr changed the title Add test that checks that Core and Container WC LuigiClient API are the same Add test that checks that Core and Container WC clientAPI are the same Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
follow up Follow up tasks
Projects
None yet
Development

No branches or pull requests

1 participant