uier / new-front-end

v2 client for Normal Online Judge

Home Page:https://noj.tw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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. ✨

About

v2 client for Normal Online Judge

https://noj.tw

License:Mozilla Public License 2.0


Languages

Language:Vue 84.7%Language:TypeScript 14.4%Language:JavaScript 0.5%Language:HTML 0.4%Language:CSS 0.1%