From 4aa188aadda89ace0e7bba564f7207f9be2a4227 Mon Sep 17 00:00:00 2001 From: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com> Date: Mon, 24 Jul 2023 12:04:11 +0200 Subject: [PATCH] test - fix should create channel with shippingZone and warehouse by waiting for input to be enabled (#3981) --- cypress/support/pages/channelsPage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cypress/support/pages/channelsPage.js b/cypress/support/pages/channelsPage.js index ae168c455..61ad8996d 100644 --- a/cypress/support/pages/channelsPage.js +++ b/cypress/support/pages/channelsPage.js @@ -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 => {