Skip to content

Add time running to _running.html.erb#452

Merged
Andy-H-Nguyen merged 1 commit intomainfrom
time_spent_running
Jul 19, 2021
Merged

Add time running to _running.html.erb#452
Andy-H-Nguyen merged 1 commit intomainfrom
time_spent_running

Conversation

@Andy-H-Nguyen
Copy link
Contributor

@Andy-H-Nguyen Andy-H-Nguyen commented Jul 15, 2021

What are you trying to accomplish?

Shows the run time for tasks while it is running. (Because almost everywhere else (paused, errored) show time elapsed, except for running strangely enough.

Closes #446

Questions

I am looking into the proper way to test this? Atm this is currently untested in the gem.

@Andy-H-Nguyen Andy-H-Nguyen force-pushed the time_spent_running branch 2 times, most recently from 1fecdc9 to 640c5a7 Compare July 19, 2021 13:33
@Andy-H-Nguyen Andy-H-Nguyen marked this pull request as ready for review July 19, 2021 13:33
Copy link
Contributor

@adrianna-chang-shopify adrianna-chang-shopify left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Member

@gmcgibbon gmcgibbon left a comment

Choose a reason for hiding this comment

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

I am looking into the proper way to test this? Atm this is currently untested in the gem.

You would typically assert the content of the partial in an integration test. We don't appear to have any of those. You could technically assert in a system test, but I don't think it is worth it. :shipit:

@Andy-H-Nguyen Andy-H-Nguyen merged commit d943b24 into main Jul 19, 2021
@Andy-H-Nguyen Andy-H-Nguyen deleted the time_spent_running branch July 19, 2021 18:30
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems July 28, 2021 16:59 Inactive
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.

Display time spent running

3 participants