未验证 提交 f3fd2e60 编写于 作者: D Dmitry Kruchinin 提交者: GitHub

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

上级 bb7dfa69
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册