Skip to content

Commit

Permalink
Rework command.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvkruchinin committed Sep 7, 2021
1 parent 0774e21 commit ea7b45f
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 @@ -245,7 +245,7 @@ Cypress.Commands.add('interactControlButton', (objectType) => {
cy.get(`.cvat-${objectType}-control`).trigger('mouseleave').trigger('mouseout').trigger('mousemove').trigger('mouseover');
cy.get(`.cvat-${objectType}-popover-visible`).should('exist');
cy.get(`.cvat-${objectType}-popover-visible`).should('be.visible');
cy.get(`.cvat-${objectType}-popover-visible`).should('have.attr', 'style').and('not.include', 'pointer-events');
cy.get(`.cvat-${objectType}-popover-visible`).should('have.attr', 'style').and('not.include', 'pointer-events: none');
});

Cypress.Commands.add('createRectangle', (createRectangleParams) => {
Expand Down

0 comments on commit ea7b45f

Please sign in to comment.