Skip to content

Commit

Permalink
Try to get the right envvar for the SR frontend...
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancrtr committed Oct 19, 2023
1 parent a101869 commit 526d4ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cypress/e2e/04-conduct_test.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ describe("Conducting a COVID test", () => {
cy.get(".prime-home .grid-container").should("not.have.text", patientName);
});
it("shows the result on the results table", () => {
// TODO: hopefully can remove
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
cy.get("#desktop-results-nav-link").click();
cy.get(".usa-table").contains(patientName);

Expand Down
2 changes: 1 addition & 1 deletion cypress/utils/request-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export const graphqlURL = `${
}/graphql`;

export const frontendURL = `${
Cypress.env("FRONTEND_URL") || "http://localhost:3000"
Cypress.env("REACT_APP_BASE_URL") || "http://localhost:3000"
}/`;

0 comments on commit 526d4ee

Please sign in to comment.