mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 17:16:48 +00:00
test: cy-stability for dropdown
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ function createWebhook(hook, test) {
|
||||
.type('{downarrow}')
|
||||
.type('{downarrow}')
|
||||
|
||||
cy.getActiveSelection().find('.ant-select-item-option-content').contains('Content-Type').should('exist').click();
|
||||
cy.getActiveSelection('.nc-dropdown-webhook-header').find('.ant-select-item-option-content').contains('Content-Type').should('exist').click();
|
||||
|
||||
cy.get("input.nc-input-hook-header-value")
|
||||
.should("exist")
|
||||
@@ -78,7 +78,7 @@ function configureWebhook(hook, test) {
|
||||
|
||||
if (hook?.event) {
|
||||
cy.get(".nc-text-field-hook-event").should("exist").click();
|
||||
cy.getActiveSelection()
|
||||
cy.getActiveSelection('.nc-dropdown-webhook-event')
|
||||
.find(`.ant-select-item`)
|
||||
.contains(hook.event)
|
||||
.should("exist")
|
||||
|
||||
Reference in New Issue
Block a user