test(misc): webhook header search, remove wait in openTableTab

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
Raju Udava
2022-09-23 15:13:13 +05:30
parent 8d10790f8d
commit 7c504a316c
2 changed files with 7 additions and 18 deletions

View File

@@ -26,24 +26,13 @@ function createWebhook(hook, test) {
cy.get(".nc-input-hook-header-key")
.should("exist")
.click()
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}")
.type("{downarrow}");
.type("Content-Type{enter}");
cy.getActiveSelection(".nc-dropdown-webhook-header")
.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")