fix cypress after streamlit upgrade
@@ -133,15 +133,21 @@ describe("When running all calculations", () => {
cy.get(".stSelectbox").first().type("DICOM RTPlan file upload{enter}")
cy.compute()
- cy.get(".stRadio").first().find("input").last().click({ force: true });
+ cy
+ .contains("DICOM import method")
+ .parent()
+ .find("input")
+ .last()
+ .click({ force: true });
cy.compute()
- cy.get(".stRadio").each(($el, index, $lst) => {
- if (index === 1) {
- cy.wrap($el).find("input").last().click({ force: true });
+ cy
+ .contains("Monaco Export Location")
+ .parent()
+ .find("input")
+ .last()
+ .click({ force: true });
cy.compute()
- }
- })
cy.get(".stTextInput input")
.first()
