n8n/cypress/utils/popper.ts
Mutasem Aldmour 8a8d4e8bb3
fix: Load remote resources even if expressions in non requried parameters resolve (#6987)
Github issue / Community forum post (link here to close automatically):
2023-08-31 16:40:20 +02:00

16 lines
340 B
TypeScript

export function getPopper() {
return cy.get('.el-popper');
}
export function getVisiblePopper() {
return getPopper().filter(':visible');
}
export function getVisibleSelect() {
return getVisiblePopper().filter('.el-select__popper');
}
export function getVisibleDropdown() {
return getVisiblePopper().filter('.el-dropdown__popper');
}