test - fix should create channel with shippingZone and warehouse by waiting for input to be enabled (#3981)
This commit is contained in:
parent
a333adbb43
commit
4aa188aadd
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ export function setChannelRequiredFields({
|
||||||
.click({ force: true })
|
.click({ force: true })
|
||||||
.type(slug, { force: true })
|
.type(slug, { force: true })
|
||||||
.get(ADD_CHANNEL_FORM_SELECTORS.currency)
|
.get(ADD_CHANNEL_FORM_SELECTORS.currency)
|
||||||
|
.find("input")
|
||||||
|
.should("be.enabled")
|
||||||
.click();
|
.click();
|
||||||
cy.get(ADD_CHANNEL_FORM_SELECTORS.currency).type(currency);
|
cy.get(ADD_CHANNEL_FORM_SELECTORS.currency).type(currency);
|
||||||
cy.get("body").then($body => {
|
cy.get("body").then($body => {
|
||||||
|
|
Loading…
Reference in a new issue