From 1ae05df4a186a0238c13e3426ebca2816e73fa6c Mon Sep 17 00:00:00 2001 From: Vikrant Gupta Date: Fri, 10 Nov 2023 01:16:19 +0530 Subject: [PATCH] feat: complete all the three tab flows --- frontend/src/index.tsx | 4 +++- frontend/tests/service/servicesLanding.spec.ts | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index cac992cacc6..712fb4cc582 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -31,7 +31,9 @@ if (container) { - {process.env.NODE_ENV === 'development' && } + {process.env.NODE_ENV === 'development' && ( + + )} , diff --git a/frontend/tests/service/servicesLanding.spec.ts b/frontend/tests/service/servicesLanding.spec.ts index c9064ced905..49d3f8b274f 100644 --- a/frontend/tests/service/servicesLanding.spec.ts +++ b/frontend/tests/service/servicesLanding.spec.ts @@ -6,7 +6,7 @@ import { loginApi } from '../fixtures/common'; let page: Page; -test.describe('Service Flow', () => { +test.describe('Service flow', () => { test.beforeEach(async ({ baseURL, browser }) => { const context = await browser.newContext({ storageState: 'tests/auth.json' }); const newPage = await context.newPage(); @@ -18,7 +18,7 @@ test.describe('Service Flow', () => { page = newPage; }); - test('Services Empty Page', async ({ baseURL }) => { + test('Services empty page', async ({ baseURL }) => { // visit services page await page.goto(`${baseURL}${ROUTES.APPLICATION}`); @@ -33,7 +33,9 @@ test.describe('Service Flow', () => { await expect(page.getByText('No data')).toBeVisible(); }); - test('Services Table Rendered with correct data', async ({ baseURL }) => { + test('Services table and service details page rendered with correct data', async ({ + baseURL, + }) => { // visit services page await page.goto(`${baseURL}${ROUTES.APPLICATION}`);