chore(quantic): creation of the running-quantic-e2e-tests skill - #8221
chore(quantic): creation of the running-quantic-e2e-tests skill#8221mmitiche wants to merge 2 commits into
Conversation
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
@coveo/atomic
@coveo/atomic-hosted-page
@coveo/atomic-legacy
@coveo/atomic-react
@coveo/auth
@coveo/bueno
@coveo/create-atomic
@coveo/create-atomic-component
@coveo/create-atomic-component-project
@coveo/create-atomic-result-component
@coveo/create-atomic-rollup-plugin
@coveo/create-ui
@coveo/headless
@coveo/headless-react
@coveo/relay
@coveo/shopify
commit: |
There was a problem hiding this comment.
Pull request overview
Introduces a new agent skill to standardize how contributors set up Salesforce scratch orgs and run Quantic Playwright E2E tests, and links it from the existing Quantic component workflow guidance.
Changes:
- Added the
running-quantic-e2e-testsskill documentation describing a fast iteration loop and full sanity pass. - Added an
ensure-e2e-orgs.shhelper script to verify/provision required scratch orgs and.envURLs. - Updated the
managing-quantic-componentsskill to reference the new E2E-running workflow.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.agents/skills/running-quantic-e2e-tests/SKILL.md |
New skill doc for Quantic E2E setup, quick loop, and full pass workflow |
.agents/skills/running-quantic-e2e-tests/scripts/ensure-e2e-orgs.sh |
New script to verify/provision scratch orgs and required env vars |
.agents/skills/managing-quantic-components/SKILL.md |
Cross-references the new skill in the Quantic development/testing workflow |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
| Every command below runs from `packages/quantic`, except the setup script, which works from anywhere in the repo. | ||
|
|
||
| ## 1. Ensure the environment | ||
|
|
||
| ```bash | ||
| ./.agents/skills/running-quantic-e2e-tests/scripts/ensure-e2e-orgs.sh | ||
| ``` |
| set -uo pipefail | ||
| ORGS="Quantic__LWS_enabled Quantic__LWS_disabled" | ||
| MISSING="" |
SFINT-6898
This PR introduces a new skill that let agents know how to setup the required env for running e2e tests in Quantic. The skill contains a script that will take care checking if the scratch orgs are present and building them as needed before running the E2E.