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(frontend): stop test run #3517

Merged
merged 1 commit into from
Jan 23, 2024
Merged

feat(frontend): stop test run #3517

merged 1 commit into from
Jan 23, 2024

Conversation

jorgeepc
Copy link
Contributor

This PR adds the FE code to support the Stop test functionality.

Changes

  • enable stop test run

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Loom video

https://www.loom.com/share/cc241c8b17cd40719009cfc1b299059d?sid=9b0da430-f8cd-4c4e-b611-e3914d50a041

@jorgeepc jorgeepc self-assigned this Jan 10, 2024
Copy link
Collaborator

@xoscar xoscar left a comment

Choose a reason for hiding this comment

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

GJ!

const form = Form.useFormInstance();

const handleOnRunClick = () => {
if (isRunStateFinished) {
onRunTest?.();
Copy link
Collaborator

Choose a reason for hiding this comment

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

What do you think about defaulting this to = noop instead of doing ?.()

@xoscar xoscar merged commit 224c637 into main Jan 23, 2024
37 checks passed
@xoscar xoscar deleted the feat-fe-stop-test-run branch January 23, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants