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

test(protocol-designer): fix e2e tests after vite migration #14635

Merged
merged 7 commits into from
Mar 12, 2024

Conversation

shlokamin
Copy link
Member

@shlokamin shlokamin commented Mar 12, 2024

Overview

This PR fixes Protocol Designer e2e tests from the vite migration. It also removes references to "beta" within PD cuz... it is not in beta.

Closes AUTH-86

Changelog

  • Fix Protocol Designer e2e tests

Review requests

Make sure PD e2e tests are passing

Risk assessment

Low

if (module === null) {
if (moduleId === null) {
Copy link
Member Author

Choose a reason for hiding this comment

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

this was a bug that slipped through years ago... module is a special global keyword that webpack injected so we never noticed the bug. vite does not inject it, so we got a null access error

@shlokamin shlokamin marked this pull request as ready for review March 12, 2024 20:17
@shlokamin shlokamin requested a review from a team March 12, 2024 20:17
@shlokamin shlokamin requested a review from a team as a code owner March 12, 2024 20:17
Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

thank you!!

@@ -1,10 +1,10 @@
# Opentrons Protocol Designer Beta
Copy link
Collaborator

Choose a reason for hiding this comment

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

lol thanks for removing this


## Overview

Protocol Designer is a tool for scientists and technicians to create protocols for their [OT-2 personal pipetting robot][ot-2] without having to write any code. It provides visual feedback including liquid tracking and tip tracking to allow users to see exactly what their protocol will do at each step. The protocols are saved to Opentrons JSON Protocol files, which can be uploaded to the Opentrons Desktop App to run on a robot.

Protocol Designer Beta is optimized for [Chrome][chrome] browser. Other browsers are not fully supported.
Copy link
Collaborator

Choose a reason for hiding this comment

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

and here too

@shlokamin shlokamin merged commit 4b0a384 into edge Mar 12, 2024
32 checks passed
@shlokamin shlokamin deleted the pd_fix-e2e-tests branch March 12, 2024 20:32
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.

2 participants