Skip to content

Commit

Permalink
fix: remove unused variables from login.spec.ts (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen5959 authored Nov 19, 2024
1 parent 3b98fc1 commit f71d99a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Build Console
run: pnpm run build
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
Expand Down
5 changes: 2 additions & 3 deletions tests/login.spec.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { test, expect, BrowserContext, Page } from '@playwright/test';
import { test, expect, BrowserContext } from '@playwright/test';

const TEST_URL = 'http://localhost:3001';

test.describe('Login Page', () => {
let context: BrowserContext;
let page: Page;

test.beforeEach(async ({ browser }) => {
context = await browser.newContext();
page = await context.newPage();
await context.newPage();
});

test.afterEach(async () => {
Expand Down

0 comments on commit f71d99a

Please sign in to comment.