Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enter the "Activated" state when "Activate Detour" button is clicked #2714

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

joshlarson
Copy link
Contributor

@joshlarson joshlarson commented Jul 30, 2024

@joshlarson joshlarson marked this pull request as ready for review July 31, 2024 14:50
@joshlarson joshlarson requested a review from a team as a code owner July 31, 2024 14:50
Copy link

Coverage of commit b55a9cd

Summary coverage rate:
  lines......: 93.1% (3319 of 3566 lines)
  functions..: 72.6% (1357 of 1870 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link

Coverage of commit c148d42

Summary coverage rate:
  lines......: 93.1% (3319 of 3566 lines)
  functions..: 72.6% (1357 of 1870 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link

github-actions bot commented Aug 1, 2024

Coverage of commit 81a3828

Summary coverage rate:
  lines......: 93.1% (3319 of 3566 lines)
  functions..: 72.6% (1357 of 1870 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Base automatically changed from jdl/feat/activate-detour to main August 1, 2024 18:59
@joshlarson joshlarson force-pushed the jdl/feat/state-change-for-activating branch from 81a3828 to e7a3891 Compare August 1, 2024 21:29
@joshlarson joshlarson enabled auto-merge (squash) August 1, 2024 21:31
Copy link

github-actions bot commented Aug 1, 2024

Coverage of commit e7a3891

Summary coverage rate:
  lines......: 93.1% (3319 of 3566 lines)
  functions..: 72.6% (1357 of 1870 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link
Collaborator

@hannahpurcell hannahpurcell left a comment

Choose a reason for hiding this comment

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

👍 🎉

@@ -81,4 +81,14 @@ describe("DiversionPage activate workflow", () => {

expect(activateDetourButton.get()).toBeVisible()
})

test("clicking the activate button shows the 'Active Detour' screen", async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

non-blocking: there is not yet an "active detour" screen, so the test (appropriately, I think) checks that the old screen is gone. Should the name of the test be changed?

Suggested change
test("clicking the activate button shows the 'Active Detour' screen", async () => {
test("clicking the activate button changes screen from 'Share Detour Details'", async () => {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Errr - woops! Auto-merge scooped your (very accurate) comment.

But I think #2715 makes the test name accurate again.

@joshlarson joshlarson merged commit 952af0d into main Aug 2, 2024
9 checks passed
@joshlarson joshlarson deleted the jdl/feat/state-change-for-activating branch August 2, 2024 11:48
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.

2 participants