diff --git a/tests/sanity/tests/model/common-page.ts b/tests/sanity/tests/model/common-page.ts index 07da181d7e..f2eaaf95a5 100644 --- a/tests/sanity/tests/model/common-page.ts +++ b/tests/sanity/tests/model/common-page.ts @@ -29,6 +29,7 @@ export class CommonPage { async fillToSelectPopup (page: Page, input: string): Promise { await expect(page.locator('div.selectPopup input')).toBeVisible() await page.locator('div.selectPopup input').fill(input) + await expect(page.locator('div.selectPopup button')).toBeVisible() await page.locator('div.selectPopup button').click() } diff --git a/tests/sanity/tests/tracker/issues-duplicate.spec.ts b/tests/sanity/tests/tracker/issues-duplicate.spec.ts index 90d00eab4d..bc3c83d088 100644 --- a/tests/sanity/tests/tracker/issues-duplicate.spec.ts +++ b/tests/sanity/tests/tracker/issues-duplicate.spec.ts @@ -48,7 +48,7 @@ test.describe('Tracker duplicate issue tests', () => { await issuesPage.checkIssuesCount(firstIssue.title, 2) await test.step('Update the first issue title', async () => { - const newIssueTitle = `Update Duplicate issue-${generateId()}` + const newIssueTitle = `Duplicate Update issue-${generateId()}` await issuesPage.openIssueById(firstIssueId) const issuesDetailsPage = new IssuesDetailsPage(page) diff --git a/tests/sanity/tests/tracker/tracker.spec.ts b/tests/sanity/tests/tracker/tracker.spec.ts index 67c0121b0f..c50a9c218c 100644 --- a/tests/sanity/tests/tracker/tracker.spec.ts +++ b/tests/sanity/tests/tracker/tracker.spec.ts @@ -298,7 +298,7 @@ test.describe('Tracker tests', () => { // Click button:has-text("No due date") await page.locator('button:has-text("Due date")').click() // Click text=24 >> nth=0 - await page.locator('.date-popup-container >> text=24').first().click() + await page.locator('.date-popup-container div.day >> text=24').first().click() await page.keyboard.press('Escape') await page.keyboard.press('Escape')