Fix URL scheme in cypress tests related with removing labels (#4288)

main
Boris Sekachev 4 years ago committed by GitHub
parent 5915740cdb
commit c248a9a3f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -665,7 +665,7 @@ Cypress.Commands.add('deleteLabel', (labelName) => {
.and('be.visible')
.find('[aria-label="close"]')
.click();
cy.intercept('PATCH', /\/api\/v1\/(tasks|projects)\/.*/).as('deleteLabel');
cy.intercept('PATCH', /\/api\/(tasks|projects)\/.*/).as('deleteLabel');
cy.get('.cvat-modal-delete-label')
.should('be.visible')
.within(() => {

Loading…
Cancel
Save