Skip to content

development

Hiroshi Ogawa edited this page May 4, 2022 · 5 revisions

e2e test

  • adding new e2e test
    • inject await page.pause()
    • use Record feature of playwright to write down rough testing scenario
# start test server (convenient to see log in a separate terminal for debugging)
npm run dev:e2e

# filter test case via e.g. `test.only` or specifing a test file
npm run test-e2e:headed /home/hiroshi/code/personal/ytsub-v3/app/__e2e__/decks.test.ts
Clone this wiki locally