|
@@ -265,6 +265,7 @@ describe('table', () => {
|
|
|
cy.get('.semi-button').contains('筛选+关闭').click();
|
|
|
cy.get('.semi-table-tbody .semi-table-row').should('have.length', 1);
|
|
|
cy.get('.semi-table-column-filter').eq(0).click();
|
|
|
+ cy.wait(200);
|
|
|
cy.get('.semi-input').should('be.focused');
|
|
|
cy.get('.semi-button').contains('清除+关闭').click();
|
|
|
cy.get('.semi-table-tbody .semi-table-row').should('have.length', 10);
|
|
@@ -272,7 +273,7 @@ describe('table', () => {
|
|
|
cy.get('.semi-input').should('be.focused');
|
|
|
cy.get('.semi-button').contains('直接关闭').click();
|
|
|
cy.get('.semi-dropdown').should('not.exist');
|
|
|
-
|
|
|
+ cy.wait(300);
|
|
|
// 测试第二个筛选器
|
|
|
cy.get('.semi-table-column-filter').eq(1).click();
|
|
|
cy.get('.semi-input').should('have.value', '姜鹏志');
|