Skip to content

test(e2e): complete critical-path coverage for #1 (auth) and #2 (ctb create) - #26713

Merged
jhoward1994 merged 2 commits into
developfrom
feat/e2e-complete-auth-ctb-coverage
Jul 23, 2026
Merged

jhoward1994 merged 2 commits into
developfrom
feat/e2e-complete-auth-ctb-coverage

Conversation

@MarionLemaire

Copy link
Copy Markdown
Contributor

What does it do?

Completes the critical-path coverage for #1 auth.admin.login-and-navigate and #2 ctb.create-collection-type/single-type.scalar-fields — both were @critical-tagged (via #26555) but stopped short of their full path.

#1 — auth:

  • Tags the fresh-instance signup test (a user should be able to signup when the strapi instance starts fresh) @critical — first-admin registration was covered but untagged.
  • Adds A logged-in admin can reach the core sections of the app to the Successful login describe: 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:

  • After creating the type in the CTB, both create-collection-type and create-single-type now 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?

yarn test:e2e --domains admin -- login.spec.ts signup.spec.ts --grep @critical
yarn test:e2e --domains content-type-builder -- create-collection-type.spec.ts create-single-type.spec.ts

Verified on chromium, firefox, and webkit. (The pre-existing all-field-types createSingleType util 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 @critical tags — retargets to develop once #26555 merges. Part of E2E coverage focus. https://app.notion.com/p/strapi/E2E-coverage-focus-3738f35980748111a75bcc596272f8d7

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jun 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
contributor-docs Ready Ready Preview, Comment Jun 19, 2026 11:21pm

Request Review

@dosubot dosubot Bot added pr: enhancement This PR adds or updates some part of the codebase or features source: tooling Source is GitHub tooling/tests/ect labels Jun 19, 2026
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: f1394d7b-28ae-41b6-92bb-5c1f390ee5fb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@trunk-io

trunk-io Bot commented Jun 19, 2026 •

Copy link
Copy Markdown

Static Badge   Static Badge   Static Badge   Static Badge

View Full Report ↗︎ ⋅ Docs

@MarionLemaire
MarionLemaire force-pushed the feat/e2e-complete-auth-ctb-coverage branch from 21b1b4e to c3c1c32 Compare June 30, 2026 17:25
@MarionLemaire
MarionLemaire requested a review from jhoward1994 July 3, 2026 08:13
@MarionLemaire MarionLemaire added this to the 5.50.1 milestone Jul 3, 2026
@jhoward1994 jhoward1994 modified the milestones: 5.50.1, 5.50.2 Jul 7, 2026
@innerdvations innerdvations modified the milestones: 5.50.2, 5.50.3 Jul 14, 2026
Base automatically changed from chore/tag-critical-e2e-tests to develop July 14, 2026 08:04
jhoward1994
jhoward1994 previously approved these changes Jul 15, 2026
@jhoward1994

Copy link
Copy Markdown
Contributor

Merged #27064 here temporarily to confirm the E2E test CI fix

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: -36.9 kB (-1.11%)

Total Size: 3.3 MB

📦 View Changed
Filename Size Change
examples/getstarted/build/ca.json-*********** 9.44 kB +5.68 kB (+150.96%) 🆘
examples/getstarted/build/constants-*********** 715 B +458 B (+178.21%) 🆘
examples/getstarted/build/CreateView-*********** 382 B +85 B (+28.62%) 🚨
examples/getstarted/build/EditPage-*********** 4.74 kB +2.63 kB (+125.13%) 🆘
examples/getstarted/build/en.json-*********** 5.41 kB -1.05 kB (-16.25%) 👏
examples/getstarted/build/fr.json-*********** 5.6 kB -7.1 kB (-55.89%) 🏆
examples/getstarted/build/id.json-*********** 4.51 kB +3.12 kB (+224.14%) 🆘
examples/getstarted/build/Layout-*********** 853 B -1.34 kB (-61.09%) 🏆
examples/getstarted/build/ListView-*********** 6.84 kB +5.47 kB (+399.78%) 🆘
examples/getstarted/build/pt.json-*********** 608 B -907 B (-59.87%) 🏆
examples/getstarted/build/router-*********** 384 B -6 B (-1.54%)
examples/getstarted/build/sa.json-*********** 11.2 kB +6.59 kB (+143.22%) 🆘
examples/getstarted/build/Settings-*********** 3.66 kB +2.05 kB (+127.22%) 🆘
examples/getstarted/build/strapi-*********** 1.78 MB -57.2 kB (-3.11%)
examples/getstarted/build/sv.json-*********** 10.4 kB +6.69 kB (+181.09%) 🆘
examples/getstarted/build/th.json-*********** 3.28 kB -2.88 kB (-46.76%) 🎉
examples/getstarted/build/Widgets-*********** 1.82 kB +743 B (+68.92%) 🆘
ℹ️ View Unchanged
Filename Size Change
examples/getstarted/build/_baseEach-*********** 219 B -1 B (-0.45%)
examples/getstarted/build/_baseMap-*********** 191 B +1 B (+0.53%)
examples/getstarted/build/AdminSeatInfo-*********** 845 B -1 B (-0.12%)
examples/getstarted/build/AIUsage-*********** 703 B -1 B (-0.14%)
examples/getstarted/build/apiTokens-*********** 618 B -2 B (-0.32%)
examples/getstarted/build/App-*********** 22.8 kB 0 B
examples/getstarted/build/ApplicationInfoPage-*********** 4.31 kB -1 B (-0.02%)
examples/getstarted/build/ar.json-*********** 15.6 kB 0 B
examples/getstarted/build/AuthenticatedLayout-*********** 57.9 kB +3 B (+0.01%)
examples/getstarted/build/AuthResponse-*********** 417 B -1 B (-0.24%)
examples/getstarted/build/CardDragPreview-*********** 588 B +1 B (+0.17%)
examples/getstarted/build/ColorPickerInput-*********** 4.25 kB -1 B (-0.02%)
examples/getstarted/build/ComponentConfigurationPage-*********** 1.61 kB +2 B (+0.12%)
examples/getstarted/build/ConfigureTheView-*********** 1.54 kB 0 B
examples/getstarted/build/core.esm-*********** 14.5 kB +1 B (+0.01%)
examples/getstarted/build/CreateActionEE-*********** 514 B 0 B
examples/getstarted/build/CreatePage-*********** 2 kB +2 B (+0.1%)
examples/getstarted/build/cs-*********** 76 B 0 B
examples/getstarted/build/cs.json-*********** 16.7 kB 0 B
examples/getstarted/build/da.json-*********** 7.49 kB 0 B
examples/getstarted/build/de.json-*********** 16 kB 0 B
examples/getstarted/build/dummy-preview-*********** 3.32 kB -1 B (-0.03%)
examples/getstarted/build/EditConfigurationPage-*********** 1.09 kB +1 B (+0.09%)
examples/getstarted/build/EditView-*********** 2.01 kB +3 B (+0.15%)
examples/getstarted/build/EditViewPage-*********** 4.8 kB +2 B (+0.04%)
examples/getstarted/build/en-*********** 74 B 0 B
examples/getstarted/build/en-GB-*********** 15.1 kB 0 B
examples/getstarted/build/es-*********** 74 B 0 B
examples/getstarted/build/es.json-*********** 14.9 kB 0 B
examples/getstarted/build/eu.json-*********** 10.4 kB 0 B
examples/getstarted/build/EventsTable-*********** 391 B +3 B (+0.77%)
examples/getstarted/build/fi.json-*********** 15.3 kB 0 B
examples/getstarted/build/FieldTypeIcon-*********** 462 B -1 B (-0.22%)
examples/getstarted/build/Form-*********** 5.48 kB -1 B (-0.02%)
examples/getstarted/build/FormApiTokenContainer-*********** 1.03 kB 0 B
examples/getstarted/build/getActionTypesDefaultMessages-*********** 499 B 0 B
examples/getstarted/build/getTrad-*********** 383 B 0 B
examples/getstarted/build/groupBy-*********** 371 B 0 B
examples/getstarted/build/gu.json-*********** 9.06 kB 0 B
examples/getstarted/build/he.json-*********** 6.11 kB 0 B
examples/getstarted/build/hi.json-*********** 11.1 kB 0 B
examples/getstarted/build/History-*********** 6.95 kB 0 B
examples/getstarted/build/HomePage-*********** 247 kB 0 B
examples/getstarted/build/hooks-*********** 82 B 0 B
examples/getstarted/build/hu.json-*********** 11.2 kB 0 B
examples/getstarted/build/id-*********** 7.64 kB -1 B (-0.01%)
examples/getstarted/build/index-*********** 215 kB +1 B (0%)
examples/getstarted/build/index.html 593 B 0 B
examples/getstarted/build/InstalledPlugins-*********** 776 B -1 B (-0.13%)
examples/getstarted/build/isNil-*********** 121 B 0 B
examples/getstarted/build/it.json-*********** 15.4 kB 0 B
examples/getstarted/build/ja.json-*********** 17.2 kB 0 B
examples/getstarted/build/ko.json-*********** 17.1 kB 0 B
examples/getstarted/build/layout-*********** 3.49 kB -2 B (-0.06%)
examples/getstarted/build/LazyOutlet-*********** 307 B -1 B (-0.32%)
examples/getstarted/build/ListConfigurationPage-*********** 4.38 kB -3 B (-0.07%)
examples/getstarted/build/ListPage-*********** 2.58 kB +2 B (+0.08%)
examples/getstarted/build/ListViewPage-*********** 7.61 kB +3 B (+0.04%)
examples/getstarted/build/Login-*********** 464 B 0 B
examples/getstarted/build/MagicLinkEE-*********** 389 B 0 B
examples/getstarted/build/ml.json-*********** 11.3 kB 0 B
examples/getstarted/build/ModalForm-*********** 243 B 0 B
examples/getstarted/build/ms.json-*********** 3.93 kB 0 B
examples/getstarted/build/nl.json-*********** 16.1 kB 0 B
examples/getstarted/build/no.json-*********** 5.47 kB 0 B
examples/getstarted/build/NoContentTypePage-*********** 454 B -1 B (-0.22%)
examples/getstarted/build/NoPermissionsPage-*********** 231 B -2 B (-0.86%)
examples/getstarted/build/Permissions-*********** 11.7 kB +1 B (+0.01%)
examples/getstarted/build/pl.json-*********** 16.4 kB 0 B
examples/getstarted/build/PrivateRoute-*********** 249 B -2 B (-0.8%)
examples/getstarted/build/ProfilePage-*********** 2.48 kB 0 B
examples/getstarted/build/pt-BR.json-*********** 10.5 kB 0 B
examples/getstarted/build/purchase-review-workflows-*********** 66.3 kB 0 B
examples/getstarted/build/PurchaseAuditLogs-*********** 70.5 kB -1 B (0%)
examples/getstarted/build/PurchaseContentHistory-*********** 80.9 kB -1 B (0%)
examples/getstarted/build/PurchaseContentReleases-*********** 55.9 kB -1 B (0%)
examples/getstarted/build/PurchaseSingleSignOn-*********** 25 kB -1 B (0%)
examples/getstarted/build/RelativeTime-*********** 407 B -1 B (-0.25%)
examples/getstarted/build/ReleasesPage-*********** 4.09 kB 0 B
examples/getstarted/build/ReleasesSettingsPage-*********** 1.52 kB -1 B (-0.07%)
examples/getstarted/build/ru-*********** 91 B 0 B
examples/getstarted/build/ru.json-*********** 17.2 kB 0 B
examples/getstarted/build/schemas-*********** 3.14 kB 0 B
examples/getstarted/build/SearchInput-*********** 648 B 0 B
examples/getstarted/build/selectors-*********** 111 B 0 B
examples/getstarted/build/SelectRoles-*********** 1.03 kB -4 B (-0.39%)
examples/getstarted/build/SessionsPage-*********** 1.48 kB -2 B (-0.13%)
examples/getstarted/build/SettingsPage-*********** 3.81 kB 0 B
examples/getstarted/build/SingleSignOnPage-*********** 1.81 kB 0 B
examples/getstarted/build/sk-*********** 76 B 0 B
examples/getstarted/build/sk.json-*********** 16.9 kB 0 B
examples/getstarted/build/sortable.esm-*********** 2.86 kB -1 B (-0.03%)
examples/getstarted/build/sortBy-*********** 695 B 0 B
examples/getstarted/build/SSOProviders-*********** 756 B -1 B (-0.13%)
examples/getstarted/build/strapi-************ 844 B 0 B
examples/getstarted/build/Table-*********** 1.44 kB -3 B (-0.21%)
examples/getstarted/build/tail-*********** 244 B +1 B (+0.41%)
examples/getstarted/build/TokenBox-*********** 122 kB -1 B (0%)
examples/getstarted/build/tr-*********** 83 B 0 B
examples/getstarted/build/tr.json-*********** 13.7 kB 0 B
examples/getstarted/build/transferTokens-*********** 503 B -2 B (-0.4%)
examples/getstarted/build/uk-*********** 91 B 0 B
examples/getstarted/build/uk.json-*********** 15.5 kB 0 B
examples/getstarted/build/useAdminRoles-*********** 244 B -1 B (-0.41%)
examples/getstarted/build/UseCasePage-*********** 1.38 kB 0 B
examples/getstarted/build/useDragLayer-*********** 179 B -2 B (-1.1%)
examples/getstarted/build/useLicenseLimitNotification-*********** 709 B -1 B (-0.14%)
examples/getstarted/build/users-*********** 352 B 0 B
examples/getstarted/build/useWebhooks-*********** 645 B -1 B (-0.15%)
examples/getstarted/build/validation-*********** 534 B 0 B
examples/getstarted/build/vi.json-*********** 13.7 kB 0 B
examples/getstarted/build/WidgetHelpers-*********** 462 B 0 B
examples/getstarted/build/widgetVisibility-*********** 261 B 0 B
examples/getstarted/build/zh-Hans.json-*********** 15.4 kB 0 B
examples/getstarted/build/zh.json-*********** 333 B 0 B

compressed-size-action

@jhoward1994

Copy link
Copy Markdown
Contributor

CI passes so once the fix via #27064 is merged I will update from develop and clean up the commit history

@Adzouz Adzouz modified the milestones: 5.51.0, 5.51.1 Jul 21, 2026
MarionLemaire and others added 2 commits July 21, 2026 11:39
…(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]>
@jhoward1994
jhoward1994 force-pushed the feat/e2e-complete-auth-ctb-coverage branch from d3a20f9 to d8d2332 Compare July 21, 2026 10:40
@jhoward1994

Copy link
Copy Markdown
Contributor

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

@jhoward1994
jhoward1994 merged commit 743d4d3 into develop Jul 23, 2026
59 checks passed
@jhoward1994
jhoward1994 deleted the feat/e2e-complete-auth-ctb-coverage branch July 23, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: enhancement This PR adds or updates some part of the codebase or features source: tooling Source is GitHub tooling/tests/ect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants