n8n/cypress/utils/popper.ts
Milorad FIlipović ecd287564d
feat(editor): Update element-plus to 2.4.3 (no-changelog) (#10281)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-08-21 10:42:08 +02:00

16 lines
353 B
TypeScript

export function getPopper() {
return cy.get('.el-popper');
}
export function getVisiblePopper() {
return getPopper().filter('[aria-hidden="false"]');
}
export function getVisibleSelect() {
return getVisiblePopper().filter('.el-select__popper');
}
export function getVisibleDropdown() {
return getVisiblePopper().filter('.el-dropdown__popper');
}