Skip to content

test: add dungeon-adventure tutorial end to end test#169

Merged
cogwirrel merged 3 commits intomainfrom
test/dungeon
May 13, 2025
Merged

test: add dungeon-adventure tutorial end to end test#169
cogwirrel merged 3 commits intomainfrom
test/dungeon

Conversation

@cogwirrel
Copy link
Copy Markdown
Contributor

@cogwirrel cogwirrel commented May 9, 2025

Reason for this change

To help ensure that our tutorial stays up to date, as well as our code changes not breaking our tutorial!

Description of changes

  • Implement the dungeon game tutorial as an end to end test.
  • Refactor code snippets so they are shared between the e2e test and the docs.
  • Added a diff component so we can still nicely highlight changes in the UI while keeping a single source of truth for each code snippet

Description of how you validated changes

This PR build!

Issue # (if applicable)

Fixes #121

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2025

📚 Documentation translations have been updated and committed (187d22d) to this PR.

docs/src/content/docs/es/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/es/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/2.mdx

@github-actions
Copy link
Copy Markdown
Contributor

📚 Documentation translations have been updated and committed (82edd66) to this PR.

docs/src/content/docs/es/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/3.mdx

@github-actions
Copy link
Copy Markdown
Contributor

📚 Documentation translations have been updated and committed (e3efbe5) to this PR.

docs/src/content/docs/es/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/3.mdx

@cogwirrel cogwirrel force-pushed the test/dungeon branch 2 times, most recently from d42463a to 553874f Compare May 12, 2025 02:03
@github-actions
Copy link
Copy Markdown
Contributor

📚 Documentation translations have been updated and committed (b9db2dc) to this PR.

docs/src/content/docs/es/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/es/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/es/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/es/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/4.mdx

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.26%. Comparing base (5fb69f1) to head (1570237).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   95.26%   95.26%           
=======================================
  Files          52       52           
  Lines        6102     6102           
  Branches      755      755           
=======================================
  Hits         5813     5813           
  Misses        282      282           
  Partials        7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cogwirrel cogwirrel changed the title test: add dungeon-adventure test (module 1 and 2) test: add dungeon-adventure tutorial end to end test May 12, 2025
@cogwirrel cogwirrel force-pushed the test/dungeon branch 11 times, most recently from 7b65229 to 646c045 Compare May 12, 2025 06:32
Adds an e2e test which walks through the dungeon adventure tutorial, as
well as refactoring code snippets such that they are shared between the
test and the docs.

For now, we don't deploy anything, just check that everything builds at
each stage of the process.

Fixes #121
@github-actions
Copy link
Copy Markdown
Contributor

📚 Documentation translations have been updated and committed (5d73be6) to this PR.

docs/src/content/docs/es/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/es/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/es/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/es/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/fr/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/it/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/jp/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/ko/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/pt/get_started/tutorials/dungeon-game/4.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/1.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/2.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/3.mdx
docs/src/content/docs/zh/get_started/tutorials/dungeon-game/4.mdx

Comment thread e2e/src/smoke-tests/dungeon-adventure.spec.ts Outdated
agdimech
agdimech previously approved these changes May 13, 2025
@cogwirrel cogwirrel merged commit 4d055ee into main May 13, 2025
9 of 14 checks passed
@cogwirrel cogwirrel deleted the test/dungeon branch May 13, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(e2e) add e2e test for dungeon adventure tutorial

3 participants