Fix remove filter fail Firefox browser. (#2700)

main
Dmitry Kruchinin 5 years ago committed by GitHub
parent 5b30381909
commit f14a92896a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
// Copyright (C) 2020 Intel Corporation
// Copyright (C) 2020-2021 Intel Corporation
//
// SPDX-License-Identifier: MIT
@ -523,7 +523,7 @@ Cypress.Commands.add('getScaleValue', () => {
Cypress.Commands.add('writeFilterValue', (clear, filterValue) => {
if (clear) {
cy.get('.cvat-annotations-filters-input').within(() => {
cy.get('.ant-select-selection-item-remove').click();
cy.get('[aria-label="close-circle"]').click();
});
}
cy.get('.cvat-annotations-filters-input')
@ -536,7 +536,7 @@ Cypress.Commands.add('writeFilterValue', (clear, filterValue) => {
Cypress.Commands.add('selectFilterValue', (clear, filterValue) => {
if (clear) {
cy.get('.cvat-annotations-filters-input').within(() => {
cy.get('.ant-select-selection-item-remove').click();
cy.get('[aria-label="close-circle"]').click();
});
}
cy.get('body').click();

Loading…
Cancel
Save