Skip to content

Commit

Permalink
make intercept more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Valiulin committed Feb 5, 2025
1 parent f57d17e commit d4ccde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ Cypress.Commands.add('headlessCreateObjects', (objects, jobID) => {
});

Cypress.Commands.add('headlessRestoreAllFrames', (jobID) => {
cy.intercept('PATCH', '/api/jobs/**/data/meta**').as('patchMeta');
cy.intercept('PATCH', `/api/jobs/${jobID}/data/meta**`).as('patchMeta');
cy.window().then(async ($win) => {
await $win.cvat.server.request(`/api/jobs/${jobID}/data/meta`, {
method: 'PATCH',
Expand Down

0 comments on commit d4ccde0

Please sign in to comment.