Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Removed unused variables from login.spec.ts #380

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading