Skip to content

Normal-OJ/new-front-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOJ second frontend (v2.noj.tw)

Coverage Badge

Development

Issues and PRs are welcome, please read the contribution guide.

Clone the repo, then install the dependencies by pnpm (v8.6):

cd new-front-end
pnpm install

To start up the dev server, run:

pnpm dev

Testing

Guidance of using playwright:

  • pnpm exec playwright test Runs the end-to-end tests.
  • pnpm exec playwright test --ui Starts the interactive UI mode.
  • pnpm exec playwright test --project=chromium Runs the tests only on Desktop Chrome.
  • pnpm exec playwright test example Runs the tests in a specific file.
  • pnpm exec playwright test --debug Runs the tests in debug mode.
  • pnpm exec playwright codegen Auto generate tests with Codegen.
  • pnpm exec playwright show-report Shows the test report in ./playwright-report.

And check out the following files:

  • ./tests/example.spec.ts - Example end-to-end test
  • ./tests-examples/demo-todo-app.spec.ts - Demo Todo App end-to-end tests
  • ./playwright.config.ts - Playwright Test configuration

Visit https://playwright.dev/docs/intro for more information. ✨