overleaf/services/web/cypress/support/shared/commands/tutorials.ts
Alf Eaton bac35566ff Add Cypress component tests for AI error assistant (#19256)
GitOrigin-RevId: 42e9e69317c97263cdcb55372e4a2cb41bccf516
2024-07-15 09:03:36 +00:00

5 lines
134 B
TypeScript

export const interceptTutorials = () => {
cy.intercept('POST', '/tutorial/**', {
statusCode: 204,
}).as('completeTutorial')
}