Skip to content

Commit

Permalink
Update location in ui that user gets redirected to.
Browse files Browse the repository at this point in the history
  • Loading branch information
arscan committed Feb 28, 2022
1 parent c9f2ee6 commit 96414d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/inferno/dsl/resume_test_route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def persist_request

# @private
def redirect_route
"#{Application['base_url']}/test_sessions/#{test_run.test_session_id}##{waiting_group_id}"
"#{Application['base_url']}/test_sessions/#{test_run.test_session_id}##{resume_ui_at_id}"
end

# @private
Expand All @@ -64,8 +64,8 @@ def test
end

# @private
def waiting_group_id
test.parent.id
def resume_ui_at_id
test_run.test_suite_id || test_run.test_group_id || test.parent.id
end

# @private
Expand Down

0 comments on commit 96414d2

Please # to comment.