Skip to content
New issue

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

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

Already on GitHub? # to your account

FI-1471 Resume Location #122

Merged
merged 1 commit into from
Mar 1, 2022
Merged

FI-1471 Resume Location #122

merged 1 commit into from
Mar 1, 2022

Conversation

arscan
Copy link
Contributor

@arscan arscan commented Feb 28, 2022

In our g10 tests, the user will almost never run the test from the group in which the wait/resume happens (exception is the 'other' launches), because it is embedded under a 'run_as_group' group. In the current behavior, this causes the user to get stranded at a level in the UI that shouldn't ever be accessed for this particular set of tests.

See #115

This update makes it so the user is redirected to the level in which they ran the test (could be suite, or group). To try it out, run the 'Standalone Patient App' group in the g10 tests (see the Gemfile for how to get those tests showing up in inferno-core). You should be redirected back to the Standalone Patient App group. If you run all tests at the suite level, you should get redirected back to the suite level.

This may not be quite perfect in every case, but it is substantially better in the g10 case, and still better in most cases.

@arscan arscan requested a review from Jammjammjamm March 1, 2022 14:18
@arscan arscan force-pushed the fi-1471-resume-location branch from 96414d2 to 7547594 Compare March 1, 2022 14:42
@arscan arscan force-pushed the fi-1471-resume-location branch from 7547594 to c13e5f4 Compare March 1, 2022 15:36
@arscan arscan merged commit a1c8055 into main Mar 1, 2022
@arscan arscan deleted the fi-1471-resume-location branch March 1, 2022 15:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants