From 91818f49175fa850d34e2ff346fd857d7757afe2 Mon Sep 17 00:00:00 2001 From: Sergei Ogorelkov Date: Thu, 7 Jul 2022 14:52:24 +0700 Subject: [PATCH 1/2] Hide inbox / views Signed-off-by: Sergei Ogorelkov --- models/tracker/src/index.ts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/models/tracker/src/index.ts b/models/tracker/src/index.ts index 9d2c632028..c5a17abbd7 100644 --- a/models/tracker/src/index.ts +++ b/models/tracker/src/index.ts @@ -456,13 +456,13 @@ export function createModel (builder: Builder): void { locationResolver: tracker.resolver.Location, navigatorModel: { specials: [ - { - id: 'inbox', - position: 'top', - label: tracker.string.Inbox, - icon: tracker.icon.Inbox, - component: tracker.component.Inbox - }, + // { + // id: 'inbox', + // position: 'top', + // label: tracker.string.Inbox, + // icon: tracker.icon.Inbox, + // component: tracker.component.Inbox + // }, { id: 'my-issues', position: 'top', @@ -470,13 +470,13 @@ export function createModel (builder: Builder): void { icon: tracker.icon.MyIssues, component: tracker.component.MyIssues }, - { - id: 'views', - position: 'top', - label: tracker.string.Views, - icon: tracker.icon.Views, - component: tracker.component.Views - }, + // { + // id: 'views', + // position: 'top', + // label: tracker.string.Views, + // icon: tracker.icon.Views, + // component: tracker.component.Views + // }, { id: 'roadmap', position: 'top', From 20363d3fbb182a0c5dee37f8499fad34955552ee Mon Sep 17 00:00:00 2001 From: Sergei Ogorelkov Date: Thu, 7 Jul 2022 16:16:08 +0700 Subject: [PATCH 2/2] Fix UI tests Signed-off-by: Sergei Ogorelkov --- tests/sanity/tests/tracker.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sanity/tests/tracker.spec.ts b/tests/sanity/tests/tracker.spec.ts index 3daad4c040..0145d7eed1 100644 --- a/tests/sanity/tests/tracker.spec.ts +++ b/tests/sanity/tests/tracker.spec.ts @@ -199,6 +199,7 @@ test('my-issues', async ({ page }) => { await openIssue(page, name) // click "Don't track" await page.click('.popupPanel-title :nth-child(3) >> button >> nth=1') + await page.waitForTimeout(100) await page.keyboard.press('Escape') await expect(page.locator('.antiPanel-component')).not.toContainText(name) })