fix: fix e2e table command
fix clickHeaderActionButtonInMoreByTitle command Change-Id: I28f7cc9b8aa89af56d38a9515bd39a1f7027624d
This commit is contained in:
parent
23bc6f8e21
commit
4edda72f53
@ -70,7 +70,7 @@ Cypress.Commands.add(
|
|||||||
(title, waitTime = 2000) => {
|
(title, waitTime = 2000) => {
|
||||||
const realTitle = getTitle(title);
|
const realTitle = getTitle(title);
|
||||||
const moreTitle = getTitle('More Actions');
|
const moreTitle = getTitle('More Actions');
|
||||||
cy.get('.table-action-header-btns')
|
cy.get('.table-header-action-btns')
|
||||||
.find('.ant-dropdown-trigger')
|
.find('.ant-dropdown-trigger')
|
||||||
.contains(moreTitle)
|
.contains(moreTitle)
|
||||||
.trigger('mouseover', { force: true });
|
.trigger('mouseover', { force: true });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user