A Playwright JavaScript testing framework for DaggerQuest and DaggerQuest.com.
- Node.js (version 18.0 or higher)
- npm (comes with Node.js)
- A web browser (Chrome, Firefox, Edge, or Safari)
- Clone this repository
- Install dependencies:
This will automatically install Playwright browsers via the
npm install
postinstallscript.
- Run all tests:
npm test - Run basic DaggerQuest.com test:
npm run test:basic - Run with visible browser:
npm run test:headed - Interactive UI mode:
npm run test:ui - Debug mode:
npm run test:debug - View test reports:
npm run test:report
tests/- Contains all test filestests/test-helpers.js- Test utilities and helper functionstests/daggerquest-basic.spec.js- Basic navigation and URL verification testsplaywright.config.js- Playwright configuration and browser settings
Playwright supports multiple browsers out of the box:
- Chromium (Chrome/Edge)
- Firefox
- WebKit (Safari)
- Cross-platform testing (Windows, macOS, Linux)
The framework runs tests across all configured browsers by default. You can target specific browsers using the --project flag.
- DaggerQuest - The main repository for the DaggerQuest codebase.
- DaggerQuest.com - The website where you can play DaggerQuest, read news posts, and browse the guide.
- DaggerQuest-Test-Realm - The official testing environment for DaggerQuest.
- Overlord - An render pipeline management tool used to generated assets for DaggerQuest.
- CAFfeine - An automation and testing framework for DaggerQuest and Construct 3 in general.
This project is licensed under the AGPL 3.0 License - see the LICENSE file for details.
