Revert use .not('.ant-select-dropdown') (#3161)

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

@ -59,7 +59,7 @@ context('Changing a default value for an attribute.', () => {
cy.get(`[cvat-attribute-id="${maxId}"]`).find('.cvat-attribute-values-input').click().wait(500); // Wait for the dropdown menu to transition.
});
});
cy.get('.ant-select-dropdown').not('.ant-select-dropdown-hidden').within(() => {
cy.get('.ant-select-dropdown').within(() => {
cy.contains(new RegExp(`^${newCheckboxValue}$`)).click();
});
cy.contains('[type="submit"]', 'Done').click();

Loading…
Cancel
Save