Skip to content

Commit

Permalink
replace organization query with whoami query
Browse files Browse the repository at this point in the history
  • Loading branch information
BobanL committed Jul 7, 2023
1 parent fcf4e0e commit 4c5c9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/09-multiplex_testing.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("Testing with multiplex devices", () => {
query:
"query WhoAmI {\n whoami {\n organization {\n facilities {\n id\n name\n __typename\n }\n __typename\n }\n} \n}",
}).then((res) => {
facility = res.body.data.organization.facilities[0];
facility = res.body.data.whoami.organization.facilities[0];
cy.makePOSTRequest({
operationName: "GetPatientsByFacility",
variables: {
Expand Down

0 comments on commit 4c5c9cb

Please sign in to comment.