Skip to content

Commit

Permalink
test(test-unit): Rename and update unit test script for headless brow…
Browse files Browse the repository at this point in the history
…ser testing
  • Loading branch information
wajeht committed Sep 3, 2024
1 parent deac55b commit 86669e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ fix-git:
@git add .
@git commit -m "Untrack files in .gitignore"

test:
test-unit:
@docker compose -f docker-compose.dev.yml exec notify npm run test

test-ete:
@docker compose -f docker-compose.dev.yml exec notify npm run test:ete

test-w:
@docker compose -f docker-compose.dev.yml exec notify npm run test:watch
test-browser:
@docker compose -f docker-compose.dev.yml exec notify npm run test:browser:headless

format:
@docker compose -f docker-compose.dev.yml exec notify npm run format
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { defineConfig, devices } from '@playwright/test';
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
testDir: './tests',
testDir: './src/tests',
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 86669e0

Please sign in to comment.