-
Notifications
You must be signed in to change notification settings - Fork 179
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(app): error handling for wrong pip attached #12706
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #12706 +/- ##
==========================================
+ Coverage 73.35% 73.39% +0.04%
==========================================
Files 2261 2265 +4
Lines 61480 61971 +491
Branches 6782 6984 +202
==========================================
+ Hits 45098 45486 +388
- Misses 14763 14831 +68
- Partials 1619 1654 +35
Flags with carried forward coverage won't be shown. Click here to find out more.
|
ebd1d1b
to
87f1c47
Compare
@@ -94,7 +112,9 @@ export const Results = (props: ResultsProps): JSX.Element => { | |||
} | |||
|
|||
const handleProceed = (): void => { | |||
if (currentStepIndex === totalStepCount || !isSuccess) { | |||
if (requiredPipette != null && Boolean(!isCorrectPipette)) { | |||
goBack() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This takes us back to the before you begin screen which I'm not sure makes sense from a user perspective - on the OT-2 flows we just have the CheckPipetteButton
here in this case, so we recheck for attachment of the correct pipette instead of rerouting the user through the flow again which might make more sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should add a subheader that says which pipette is the correct one to attach?
ab91f60
to
91f7f03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested this and it worked as expected!
/> | ||
) | ||
} | ||
if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we make this an else if
?
closes RLIQ-393
Overview
When attaching a pipette in run setup, if you attach the wrong pipette, the results page now renders the error modal (designs). When you click
detach and retry
it goes back to detach and reattach the correct pipette.Test Plan
test this flow on a robot to make sure it works as expected
Changelog
Results
page and add test casesReview requests
see test plan
Risk assessment
low