@bigbinary/neeto-playwright-commons 1.26.32 → 1.26.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -118860,13 +118860,18 @@ class TeamMembers {
118860
118860
  const fillCredentialsAndSubmit = async ({ page, loginPath, email = CREDENTIALS.email, }) => {
118861
118861
  loginPath && (await page.goto(loginPath, { timeout: 30000 }));
118862
118862
  await page.waitForLoadState("load", { timeout: 35000 });
118863
- await page.getByTestId(LOGIN_SELECTORS.emailTextField).fill(email);
118863
+ await test.expect(page.getByTestId(COMMON_SELECTORS.pageLoader)).toBeHidden({
118864
+ timeout: 30000,
118865
+ });
118866
+ const emailInput = page.getByTestId(LOGIN_SELECTORS.emailTextField);
118867
+ await emailInput.waitFor({ state: "visible", timeout: 30000 });
118868
+ await emailInput.fill(email);
118864
118869
  await page
118865
118870
  .getByTestId(LOGIN_SELECTORS.passwordTextField)
118866
118871
  .fill(CREDENTIALS.password);
118867
118872
  const submitButton = page.getByTestId(LOGIN_SELECTORS.submitButton);
118868
118873
  await submitButton.click();
118869
- await test.expect(submitButton).toBeHidden({ timeout: 15000 });
118874
+ await test.expect(submitButton).toBeHidden({ timeout: 20000 });
118870
118875
  await test.expect(page.getByTestId(COMMON_SELECTORS.floatingActionMenuButton)).toBeVisible({ timeout: 60000 });
118871
118876
  };
118872
118877
  const loginWithoutSSO = async ({ page, loginPath = "/", email = CREDENTIALS.email, }) => {