test - fix should create channel with shippingZone and warehouse by waiting for input to be enabled (#3981)

This commit is contained in:
wojteknowacki 2023-07-24 12:04:11 +02:00 committed by GitHub
parent a333adbb43
commit 4aa188aadd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,8 @@ export function setChannelRequiredFields({
.click({ force: true })
.type(slug, { force: true })
.get(ADD_CHANNEL_FORM_SELECTORS.currency)
.find("input")
.should("be.enabled")
.click();
cy.get(ADD_CHANNEL_FORM_SELECTORS.currency).type(currency);
cy.get("body").then($body => {