Repository navigation
test(e2e): complete critical-path coverage for #1 (auth) and #2 (ctb create) - #26713
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
21b1b4e to
c3c1c32
Compare
|
Merged #27064 here temporarily to confirm the E2E test CI fix |
|
Size Change: -36.9 kB (-1.11%) Total Size: 3.3 MB 📦 View Changed
ℹ️ View Unchanged
|
|
CI passes so once the fix via #27064 is merged I will update from develop and clean up the commit history |
…(ctb create) #1 auth.admin.login-and-navigate: - Tag the fresh-instance signup test @critical — first-admin registration is the untagged first step of this path. Navigation across CM/CTB/Settings is already exercised by every other @critical test, so login.spec.ts is intentionally left unchanged (verifying routing inside the auth test would test the wrong thing). #2 ctb.create-collection-type/single-type.scalar-fields: - After creating the type in the CTB, navigate to the Content Manager and assert the type is usable: the collection type appears in the list and its create form renders scalar fields (text, boolean, email); the single type opens its edit form with the same. Previously both tests ended at the CTB save with zero CM verification. Stacked on chore/tag-critical-e2e-tests (#26555) so it builds on the @critical tags. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
d3a20f9 to
d8d2332
Compare
|
I'll merge this after todays release. The issue with the experimental could potentially relate to this PR and I don't want to cause test failures / conflicts on develop |
What does it do?
Completes the critical-path coverage for #1
auth.admin.login-and-navigateand #2ctb.create-collection-type/single-type.scalar-fields— both were@critical-tagged (via #26555) but stopped short of their full path.#1 — auth:
a user should be able to signup when the strapi instance starts fresh)@critical— first-admin registration was covered but untagged.A logged-in admin can reach the core sections of the appto theSuccessful logindescribe: after login it navigates to the Content Manager, Content-Type Builder and Settings and asserts each loads (URL + heading). The login test previously stopped at the home page.#2 — ctb create:
create-collection-typeandcreate-single-typenow navigate to the Content Manager and assert the type is usable: the collection type appears in the list and its create form renders a scalar field; the single type opens its edit form with the field. Previously both ended at the CTB save with zero CM verification.Why is it needed?
The coverage tracker had #1 and #2 at 🟡 Partial. These changes make them fully cover their critical path so they can move to ✅.
How to test it?
Verified on chromium, firefox, and webkit. (The pre-existing all-field-types
createSingleTypeutil is occasionally flaky under sequential load — unrelated to this change; passes standalone.)Related issue(s)/PR(s)
Stacked on #26555 (Phase 0 tagging) so it builds on the
@criticaltags — retargets todeveloponce #26555 merges. Part of E2E coverage focus. https://app.notion.com/p/strapi/E2E-coverage-focus-3738f35980748111a75bcc596272f8d7🤖 Generated with Claude Code