Skip to content

Commit

Permalink
Update search to match new query
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcnulty committed Mar 29, 2024
1 parent e86db3b commit ea0955c
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,9 @@ describe('Checklists App Form', () => {
};

const interceptFindRisks = (risks) => {
cy.conditionalIntercept(
'**/graphql',
(req) => req.body.operationName == 'findRisks',
'findRisks',
{ data: { risks } }
);
cy.conditionalIntercept('**/graphql', (req) => req.body.query.includes('GMF'), 'findRisks', {
data: { risks },
});
};

it('Should have read-only access for non-logged-in users', () => {
Expand Down

0 comments on commit ea0955c

Please sign in to comment.