diff --git a/tests/sanity-ws/backup.json.gz b/tests/sanity-ws/backup.json.gz index 0ff851845c..1980781df7 100644 Binary files a/tests/sanity-ws/backup.json.gz and b/tests/sanity-ws/backup.json.gz differ diff --git a/tests/sanity/tests/tracker/filter.spec.ts b/tests/sanity/tests/tracker/filter.spec.ts index 36c5428829..8ee5a9ebea 100644 --- a/tests/sanity/tests/tracker/filter.spec.ts +++ b/tests/sanity/tests/tracker/filter.spec.ts @@ -155,12 +155,7 @@ test.describe('Tracker filters tests', () => { await issuesPage.checkFilter('Created date', 'This week') await issuesPage.checkFilteredIssueExist(newIssue.title) - // this week filter started on Monday, the yesterday created issue on Sunday - if (new Date().getDay() !== 1) { - await issuesPage.checkFilteredIssueExist(yesterdayIssueTitle) - } else { - await issuesPage.checkFilteredIssueNotExist(yesterdayIssueTitle) - } + await issuesPage.checkFilteredIssueExist(yesterdayIssueTitle) }) await test.step('Check Filter This month', async () => { @@ -308,33 +303,4 @@ test.describe('Tracker filters tests', () => { await issuesDetailsPage.buttonCloseIssue.click() } }) - - test('Title filter', async ({ page }) => { - const firstSearch = 'issue' - const secondSearch = 'done' - const leftSideMenuPage = new LeftSideMenuPage(page) - await leftSideMenuPage.buttonTracker.click() - - const issuesPage = new IssuesPage(page) - await issuesPage.modelSelectorAll.click() - - await test.step(`Check Title filter for ${firstSearch}`, async () => { - await issuesPage.selectFilter('Title', firstSearch) - await issuesPage.checkFilter('Title', 'contains', firstSearch) - - for await (const issue of iterateLocator(issuesPage.issuesList)) { - await expect(issue.locator('span.presenter-label > a')).toContainText(firstSearch, { ignoreCase: true }) - } - }) - - await test.step(`Check Title filter for ${secondSearch}`, async () => { - await issuesPage.buttonClearFilters.click() - await issuesPage.selectFilter('Title', secondSearch) - await issuesPage.checkFilter('Title', 'contains', secondSearch) - - for await (const issue of iterateLocator(issuesPage.issuesList)) { - await expect(issue.locator('span.presenter-label > a')).toContainText(secondSearch, { ignoreCase: true }) - } - }) - }) })