Skip to content

Vineyard-Technologies/DaggerTest

DaggerTest Logo

A Playwright JavaScript testing framework for DaggerQuest and DaggerQuest.com.

🛠️ Setup & Development

Prerequisites

  • Node.js (version 18.0 or higher)
  • npm (comes with Node.js)
  • A web browser (Chrome, Firefox, Edge, or Safari)

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
    This will automatically install Playwright browsers via the postinstall script.

🚀 Running Tests

  • 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

📁 Test Structure

  • tests/ - Contains all test files
  • tests/test-helpers.js - Test utilities and helper functions
  • tests/daggerquest-basic.spec.js - Basic navigation and URL verification tests
  • playwright.config.js - Playwright configuration and browser settings

🌐 Browser Support

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.

📋 Related Repositories

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

✒️ License

This project is licensed under the AGPL 3.0 License - see the LICENSE file for details.

About

DaggerQuest Testing Framework, using Playwright

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project