@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.js CHANGED
@@ -118839,13 +118839,18 @@ class TeamMembers {
118839
118839
  const fillCredentialsAndSubmit = async ({ page, loginPath, email = CREDENTIALS.email, }) => {
118840
118840
  loginPath && (await page.goto(loginPath, { timeout: 30000 }));
118841
118841
  await page.waitForLoadState("load", { timeout: 35000 });
118842
- await page.getByTestId(LOGIN_SELECTORS.emailTextField).fill(email);
118842
+ await expect(page.getByTestId(COMMON_SELECTORS.pageLoader)).toBeHidden({
118843
+ timeout: 30000,
118844
+ });
118845
+ const emailInput = page.getByTestId(LOGIN_SELECTORS.emailTextField);
118846
+ await emailInput.waitFor({ state: "visible", timeout: 30000 });
118847
+ await emailInput.fill(email);
118843
118848
  await page
118844
118849
  .getByTestId(LOGIN_SELECTORS.passwordTextField)
118845
118850
  .fill(CREDENTIALS.password);
118846
118851
  const submitButton = page.getByTestId(LOGIN_SELECTORS.submitButton);
118847
118852
  await submitButton.click();
118848
- await expect(submitButton).toBeHidden({ timeout: 15000 });
118853
+ await expect(submitButton).toBeHidden({ timeout: 20000 });
118849
118854
  await expect(page.getByTestId(COMMON_SELECTORS.floatingActionMenuButton)).toBeVisible({ timeout: 60000 });
118850
118855
  };
118851
118856
  const loginWithoutSSO = async ({ page, loginPath = "/", email = CREDENTIALS.email, }) => {