Skip to content

Merge run buttons and run serial plan#41

Open
Matt-Carre wants to merge 21 commits intomainfrom
39_merge_run_buttons
Open

Merge run buttons and run serial plan#41
Matt-Carre wants to merge 21 commits intomainfrom
39_merge_run_buttons

Conversation

@Matt-Carre
Copy link
Collaborator

@Matt-Carre Matt-Carre commented Mar 16, 2026

Closes #39

Should be able to call the discoverable i19 main setup plan.

@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.40%. Comparing base (1c09f04) to head (d54b3e9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   96.45%   96.40%   -0.06%     
==========================================
  Files          13       13              
  Lines         508      500       -8     
==========================================
- Hits          490      482       -8     
  Misses         18       18              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Matt-Carre Matt-Carre marked this pull request as ready for review March 17, 2026 10:44
@Matt-Carre Matt-Carre changed the title 39 merge run buttons Merge run buttons and run serial plan Mar 19, 2026
Copy link
Collaborator

@noemifrisina noemifrisina left a comment

Choose a reason for hiding this comment

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

Looks good, thank you! Just a few small comments

self.test_btn1 = self._create_button("Run zebra", self.run_zebra)

self.test_btn2 = self._create_button("Run panda", self.run_panda)
self.test_btn2 = self._create_button("Run Plan", self.run_panda)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should: rename this to run_btn or at least something more specific as we don't have two test buttons anymore

self.appendOutput("Run zebra plan")
self.appendOutput(f"With parameters: {params}")

def run_panda(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should: rename this function too

self.client.run_plan("run_panda_test", params)
self.appendOutput("Run panda plan")
self.client.run_plan("run_serial_from_panda", params)
self.appendOutput("Run serial from panda")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
self.appendOutput("Run serial from panda")
self.appendOutput("Start serial collection with the panda")

FETCH_HEAD Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

Must: remove this file

Copy link
Collaborator

@noemifrisina noemifrisina left a comment

Choose a reason for hiding this comment

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

Just one more thing...

self.appendOutput(f"With parameters: {params}")

def run_panda(self):
def run_btn(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should: maybe give it a name that indicates what we're running?

Copy link
Collaborator

@noemifrisina noemifrisina Mar 19, 2026

Choose a reason for hiding this comment

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

Also, comment on the button name attribute still stands - anyone who looks at this in the future should know what that button is without having to dig...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good plans - shall do!

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.

Merge the run test buttons into one and connect them to the main serial plan

2 participants