@alfresco/aca-playwright-shared 7.2.0-19028393764 → 7.2.0-19064607997

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.
@@ -3006,6 +3006,7 @@ class SearchOverlayComponent extends BaseComponent {
3006
3006
  await this.searchFoldersOption.click();
3007
3007
  }
3008
3008
  async searchFor(input) {
3009
+ await this.searchInput.clear();
3009
3010
  await this.searchInput.fill(input);
3010
3011
  await this.searchButton.click({ force: true });
3011
3012
  }
@@ -3454,10 +3455,13 @@ class SearchFiltersTags extends BaseComponent {
3454
3455
  super(page, SearchFiltersTags.rootElement);
3455
3456
  }
3456
3457
  addOptionInput = this.getChild(`[data-automation-id$='adf-search-chip-autocomplete-input']`);
3458
+ searchOption(value) {
3459
+ return this.page.locator(`[data-automation-id="option-${value}"]`);
3460
+ }
3457
3461
  async filterByTag(page, tag) {
3458
3462
  await page.searchFilters.tagsFilter.click();
3459
3463
  await page.searchFiltersTags.addOptionInput.fill(tag);
3460
- await page.page.keyboard.press('Enter');
3464
+ await this.searchOption(tag).click();
3461
3465
  await page.searchFilters.menuCardApply.click();
3462
3466
  await page.dataTable.progressBarWaitForReload();
3463
3467
  }
@@ -4493,7 +4497,8 @@ const getGlobalConfig = {
4493
4497
  screenshot: 'only-on-failure',
4494
4498
  launchOptions: {
4495
4499
  devtools: false,
4496
- args: ['--no-sandbox', '--disable-site-isolation-trials']
4500
+ args: ['--no-sandbox', '--disable-site-isolation-trials'],
4501
+ slowMo: 300
4497
4502
  }
4498
4503
  },
4499
4504
  /* Configure projects for major browsers */