feat: support Filter Segment in other pages (#20461)
* feat: support Filter Segment in other pages * minor changes to the behaviors * remove comment * fix type error * fix e2e test
This commit is contained in:
1 parent
1fb778ae78
commit
4cd8dbbab4
13 files changed
+107
-48
No files matched your search
@@ -676,7 +676,6 @@ test.describe("Out of office", () => {
|
||||
);
|
||||
await page.locator('[data-testid="add-filter-button"]').click();
|
||||
await page.locator('[data-testid="add-filter-item-dateRange"]').click();
|
||||
await page.locator('[data-testid="add-filter-button"]').click();
|
||||
await page.locator('[data-testid="filter-popover-trigger-dateRange"]').click();
|
||||
|
||||
await expect(page.locator('[data-testid="date-range-options-tdy"]')).toBeVisible(); //Today
|
||||
@@ -777,7 +776,6 @@ test.describe("Out of office", () => {
|
||||
);
|
||||
await page.locator('[data-testid="add-filter-item-dateRange"]').click();
|
||||
await entriesListRespPromise;
|
||||
await page.locator('[data-testid="add-filter-button"]').click(); //close popover
|
||||
|
||||
//1 OOO record should be visible for member3, end=currentDate-4days
|
||||
expect(await page.locator('[data-testid^="table-redirect-"]').count()).toBe(1);
|
||||
|
||||
Reference in new issue
Block a user