Skip to content

feat: e2e & admin UI updates#30

Merged
es3n1n merged 23 commits intomainfrom
feat/e2e
Nov 1, 2025
Merged

feat: e2e & admin UI updates#30
es3n1n merged 23 commits intomainfrom
feat/e2e

Conversation

@meumar-osec
Copy link
Copy Markdown
Collaborator

@meumar-osec meumar-osec commented Apr 7, 2025

Added e2e tests using Playwright
Improved admin page UI

@jktrn jktrn changed the title Feat/e2e feat: e2e Oct 28, 2025
@jktrn jktrn closed this Oct 28, 2025
@meumar-osec meumar-osec changed the title feat: e2e feat: e2e & admin UI updates Oct 29, 2025
@meumar-osec meumar-osec reopened this Oct 29, 2025
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Oct 29, 2025

Deploying rctf with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8d1f171
Status: ✅  Deploy successful!
Preview URL: https://e2792ca3.rctf.pages.dev
Branch Preview URL: https://feat-e2e.rctf.pages.dev

View logs

@jktrn jktrn added size/L and removed type/stale labels Oct 29, 2025
@jktrn jktrn added this to rCTF Oct 29, 2025
@jktrn jktrn moved this to in-progress in rCTF Oct 29, 2025
@jktrn jktrn removed the size/L label Oct 29, 2025
@jktrn jktrn requested a review from trixter-osec October 29, 2025 22:06
@jktrn jktrn added this to the v1 milestone Oct 30, 2025
@jktrn jktrn requested a review from es3n1n October 30, 2025 20:39
trixter-osec
trixter-osec previously approved these changes Oct 31, 2025
Copy link
Copy Markdown
Collaborator

@trixter-osec trixter-osec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the comments left, otherwise LGTM. You probably should also document running E2E tests in CONTRIBUTING.md as right now they're very environment-specific.

Some things that would make sense to implement eventually in the future:

  • Have separate environment in which E2E tests run in, with pre-seeded data. This way you can get more value out of the tests as for example in scoreboard tests you can actually check that the correct teams are displayed (other than "something happens")
  • integrate E2E with CI

Comment thread packages/client/playwright.config.ts Outdated
Comment thread packages/client/tests/auth.spec.ts Outdated
Comment thread packages/client/tests/challenges.spec.ts Outdated
Comment thread packages/client/tests/challenges.spec.ts
Comment thread packages/client/playwright.config.ts
Comment thread packages/client/testConfig.ts
Copy link
Copy Markdown
Collaborator

@es3n1n es3n1n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think i have much to add. As for the pre-seeded environment for the e2e tests, I think the reasonable approach would be to have a separate script that will set things up in a specific way on start (and maybe tear things down once its done), probably something we should look into in the future.

lgtm

@es3n1n es3n1n merged commit 3c001aa into main Nov 1, 2025
5 of 6 checks passed
@github-project-automation github-project-automation Bot moved this from in-progress to done in rCTF Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: done

Development

Successfully merging this pull request may close these issues.

4 participants