Open charmi-v opened 1 week ago
Relates to https://github.com/eclipse-tractusx/sig-release/issues/419, which had a backend api testing focus up to now, might be a good idea to rename the issue to Automated UI E2E Testing
to differentiate it from https://github.com/eclipse-tractusx/sig-release/issues/419.
Also, relates to https://github.com/eclipse-tractusx/portal-backend/issues/617: a similar issue might be needed for portal frontend, and maybe it's better to use LocalDev as that sandbox could be kept more easily up to date with portal-backend changes than the umbrella, at the same time, LocalDev doesn't provide any interfaces other than the portal-backend and the keycloak instances, in comparison the umbrella values.yaml for portal. That decision depends on the kind of test cases and if they are supposed to include also functionalities where interfaces (other than portal-backend, centralidp, sharedidp) are involved.
@evegufy I won’t be able to join the refinement session today and would like to discuss it in the Open Planning on Wednesday.
Sana will connect to @charmi-v, as she's also planning to introduce Cypress.
I have listed some direct references for key subtasks to kickstart Cypress implementation in the repo:
Setup: Install Cypress and adjust configuration as needed (Install Guide, Config Guide).
Scripts: Define scripts for Cypress commands (Command-Line Guide).
Testing Modules: Create module-specific tests (apps, services, user management, etc.) (taking reference from Repo Link).
Standards: Use Cypress recipes for credential storage, reusable functions, and test structuring (Example Recipes).
Code Coverage: Use @cypress/code-coverage
plugin (Plugin Guide).
CI/CD Integration (In-depth assessment needed) : Set up Cypress in CI/CD, including GitHub Actions (CI Guide, GitHub Actions).
Please share thoughts regarding the CI/CD Integrations & defining testing modules @evegufy @ss-nikunj @manojava-gk @oyo
Committers: @oyo @ntruchsess @Phil91 @evegufy
Hi @charmi-v, I was informed by @mgarciaLKS and he and @CDiezRodriguez and @gomezbc, would like to contribute. I think maybe in the context of ci/cd integration would make sense.
Hi @charmi-v, I was informed by @mgarciaLKS and he and @CDiezRodriguez and @gomezbc, would like to contribute. I think maybe in the context of ci/cd integration would make sense.
Hello all, @gomezbc is not available, but @CDiezRodriguez and I would love to help with this task if possible.
@mgarciaLKS great! I guess you could start by creating an issue in the portal-frontend for creating a GH action workflow which spins up the Umbrella sandbox in a Kind cluster. @charmi-v what do you think?
Agreed, @evegufy , that sounds perfect. I’m setting up an initial testing setup with common functionalities that can be executed locally. I’ll be sharing the PR for review soon so we can combine efforts, test, and progress the initial testing setup and CI/CD workflow
We have an internal sync scheduled for tomorrow (at 2:15 IST) to plan the test automation alignment. @CDiezRodriguez @mgarciaLKS could you please share your email so we can include you in the meeting? This will help us all gain clarity on the feature integration.
Create a GitHub Issue
Define Standards for Test Cases
Cross-Browser Compatibility
Integration Automation
Step 1:
Step 2:
Step 3:
By following this roadmap, we can establish a robust and scalable automation testing strategy that aligns with our project's goals and timelines.
Please share your feedback and suggestions. @evegufy
@charmi-v sounds like a plan 👍 maybe you could share the progress in nexts week open portal meeting Nov 28? There we could talk about open decision items as well. Just one note from side regarding the testing scope. For me it would be important to have a maintainable set of tests which test the most important processes within the application (e.g. app release, app subscription, connector registration, ...).
Overview
Explain the topic in 2 sentences
What's the benefit?
This implementation improves quality assurance by providing efficient, reliable testing automation. The streamlined CI/CD integration enables faster releases with a reduced risk of errors reaching production.
What are the Risks/Dependencies ?
It requires collaboration and review of the CI/CD pipeline to ensure seamless integration.
Detailed explanation
Current implementation
Proposed improvements
@cypress/code-coverage
plugin will collect and save code coverage metrics, enabling deeper insights into test coverage.Feature Team
Contributor
Committer
User Stories
Acceptance Criteria
Test Cases
Test Case 1
Steps
Expected Result
Architectural Relevance
The following items are ensured (answer: yes) after this issue is implemented:
Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)
Additional information