fix: fix e2e table command

fix clickHeaderActionButtonInMoreByTitle command

Change-Id: I28f7cc9b8aa89af56d38a9515bd39a1f7027624d
This commit is contained in:
zhangjingwei 2023-11-20 09:41:19 +08:00
parent 23bc6f8e21
commit 4edda72f53

View File

@ -70,7 +70,7 @@ Cypress.Commands.add(
(title, waitTime = 2000) => {
const realTitle = getTitle(title);
const moreTitle = getTitle('More Actions');
cy.get('.table-action-header-btns')
cy.get('.table-header-action-btns')
.find('.ant-dropdown-trigger')
.contains(moreTitle)
.trigger('mouseover', { force: true });