Skip to content

Hypersequent/bistro-e2e

Repository files navigation

E2E Tests for Bistro Delivery

This repository contains end-to-end tests for Bistro Delivery, implemented using Playwright.

Prerequisites

  • Node.js 20.x or higher
  • npm 10.x or higher

Getting Started

  1. Clone the repository:

    git clone https://github.com/Hypersequent/bistro-e2e.git
    cd bistro-e2e
  2. Install dependencies:

    npm install
  3. Create .env file in the project root:

    DEMO_BASE_URL='https://hypersequent.github.io/bistro/'

    See .env.example for reference.

  4. Install Playwright browsers and dependencies:

    npx playwright install --with-deps

Running Tests

Basic Test Execution

npm run test               # Run tests in Chromium
npm run test-head         # Run tests in headed mode

Browser-Specific Tests

npm run chromium          # Run tests in Chromium
npm run firefox           # Run tests in Firefox
npm run webkit           # Run tests in WebKit

Test Report

npm run play-report      # Open Playwright HTML report

License

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


Maintained by Hypersequent

About

e2e test cases example for Hypersequent/bistro

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •