Skip to content

Commit

Permalink
PR #115 introduced rand param for all requests, need to ensure cy.int…
Browse files Browse the repository at this point in the history
…ercept in tests still matches

Signed-off-by: Gavin Reynolds <[email protected]>
  • Loading branch information
gsreynolds committed Jun 29, 2023
1 parent ad486e9 commit 9337f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/app.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('PagerDuty Live', () => {

it('Application indicates when the required ability is missing/disabled on the account', () => {
// Intercept call to PagerDuty API with mock fixture
cy.intercept('https://api.pagerduty.com/abilities', {
cy.intercept('https://api.pagerduty.com/abilities*', {
abilities: ['teams', 'read_only_users', 'service_support_hours', 'urgencies'],
}).as('getAbilities');
cy.visit('http://localhost:3000/pd-live-react');
Expand Down

0 comments on commit 9337f14

Please sign in to comment.