@bigbinary/neeto-playwright-commons 1.22.31 → 1.22.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
@@ -179882,7 +179882,6 @@ const commands = {
179882
179882
  await page.goto("/", { timeout: 35000 });
179883
179883
  await page.waitForLoadState();
179884
179884
  await use(page);
179885
- await page.close();
179886
179885
  },
179887
179886
  mailerUtils: async ({ neetoPlaywrightUtilities }, use) => {
179888
179887
  const mailerUtils = new MailerUtils(neetoPlaywrightUtilities);
@@ -192478,11 +192477,6 @@ class EditorPage {
192478
192477
  const imagePath = Path__namespace.join(__dirname, filePath);
192479
192478
  await fileUploader.setFiles(imagePath);
192480
192479
  await test$1.expect(this.imageWrapper).toBeVisible({ timeout: 15000 });
192481
- await this.imageWrapper.getByTestId(COMMON_SELECTORS.dropdownIcon).click();
192482
- await this.uploadDeleteButton.click();
192483
- await test$1.expect(this.imageWrapper).toBeHidden({
192484
- timeout: 15000,
192485
- });
192486
192480
  if (shouldRemoveImage) {
192487
192481
  await this.imageWrapper
192488
192482
  .getByTestId(COMMON_SELECTORS.dropdownIcon)
@@ -198837,10 +198831,9 @@ const definePlaywrightConfig = (overrides) => {
198837
198831
  use: {
198838
198832
  baseURL: process.env.BASE_URL,
198839
198833
  testIdAttribute: "data-cy",
198840
- trace: "on",
198841
- screenshot: "on",
198834
+ trace: "retain-on-failure",
198835
+ screenshot: "only-on-failure",
198842
198836
  navigationTimeout: 35000,
198843
- video: "on",
198844
198837
  actionTimeout: 10 * 1000,
198845
198838
  timezoneId: "Asia/Calcutta",
198846
198839
  geolocation: { latitude: 18.553187, longitude: 73.948313 }, // BB Pune office