diff --git a/tests/cypress/integration/actions_tasks/issue_2473_import_annotations_frames_dots_in_name.js b/tests/cypress/integration/actions_tasks/issue_2473_import_annotations_frames_dots_in_name.js index 9cb52acc6029..c82494d46de7 100644 --- a/tests/cypress/integration/actions_tasks/issue_2473_import_annotations_frames_dots_in_name.js +++ b/tests/cypress/integration/actions_tasks/issue_2473_import_annotations_frames_dots_in_name.js @@ -99,11 +99,8 @@ context('Import annotations for frames with dots in name.', { browser: '!firefox .get('input[type=file]') .attachFile(annotationArchiveName); }); - cy.intercept('PUT', '/api/v1/jobs/**/annotations**').as('uploadAnnotationsPut'); - cy.intercept('GET', '/api/v1/jobs/**/annotations**').as('uploadAnnotationsGet'); + cy.intercept('GET', '/api/v1/jobs/**/annotations').as('uploadAnnotationsGet'); confirmUpdate('.cvat-modal-content-load-job-annotation'); - cy.wait('@uploadAnnotationsPut', { timeout: 5000 }).its('response.statusCode').should('equal', 202); - cy.wait('@uploadAnnotationsPut').its('response.statusCode').should('equal', 201); cy.wait('@uploadAnnotationsGet').its('response.statusCode').should('equal', 200); cy.get('.cvat-notification-notice-upload-annotations-fail').should('not.exist'); cy.get('#cvat_canvas_shape_1').should('exist');