diff --git a/tests/playwright/pages/CheckoutPageSFRA5.mjs b/tests/playwright/pages/CheckoutPageSFRA5.mjs index 2600c0f10..9404ba97a 100644 --- a/tests/playwright/pages/CheckoutPageSFRA5.mjs +++ b/tests/playwright/pages/CheckoutPageSFRA5.mjs @@ -162,8 +162,8 @@ export default class CheckoutPageSFRA5 { await this.checkoutPageUserEmailInput.fill(''); await this.checkoutPageUserEmailInput.fill(email); // Pressing Tab to simulate component re-rendering and waiting the components to re-mount - await new Promise(r => setTimeout(r, 2000)); await this.page.keyboard.press('Tab'); + await new Promise(r => setTimeout(r, 2000)); }; submitShipping = async () => {