Closed rohitpaulk closed 1 week ago
[!CAUTION]
Review failed
The pull request is closed.
The changes in this pull request involve modifications to the Handlebars template and the underlying logic of the RunTestsInstructionsComponent
. The template now checks if the user has previously run tests for the current stage, altering the displayed status messages and instructions accordingly. Additionally, the component's logic is refined with the introduction of a new getter to assess user interaction with the test runner. Updates to acceptance tests and the structure of instructional steps further enhance the verification of course completion and user guidance.
File | Change Summary |
---|---|
app/components/course-page/course-stage-step/test-runner-card/run-tests-instructions.hbs | Updated conditional logic to check if the user has run tests for the stage at least once, affecting status messages and instructions. |
app/components/course-page/course-stage-step/test-runner-card/run-tests-instructions.ts | Removed lastSubmissionWasForCurrentStage getter; added userHasRunTestsForStageAtLeastOnce getter to refine user interaction logic. |
tests/acceptance/course-page/complete-second-stage-test.js | Added assertions to verify completion status and instructional messages for the second stage. |
tests/pages/components/course-page/course-stage-step/second-stage-instructions-card.ts | Added instructions property to steps collection for enhanced access to instructional text. |
π° In the garden of code, we play,
With tests and messages, bright as day.
A runner's guide, now clear and bright,
For every stage, we set it right.
So hop along, dear coder friends,
Together we'll make this journey blend! πΌ
ββ1 filesβ Β±0ββββ1 suitesβ Β±0βββ5m 53s β±οΈ - 1m 37s 583 tests Β±0ββ543 β Β±0ββ40 π€ Β±0ββ0 β Β±0β 598 runsβ Β±0ββ558 β Β±0ββ40 π€ Β±0ββ0 β Β±0β
Results for commit 87c00521.βΒ± Comparison against base commit 72da7ca1.
All modified and coverable lines are covered by tests :white_check_mark:
:white_check_mark: All tests successful. No failed tests found.
:loudspeaker: Thoughts on this report? Let us know!
Changes will increase total bundle size by 1.79kB (0.0%) :arrow_up:. This is within the configured threshold :white_check_mark:
Summary by CodeRabbit
New Features
Bug Fixes
Tests
Documentation