Skip to content

just some boilerplate to experiment with

Notifications You must be signed in to change notification settings

ryyppy/nextjs-experiments

Repository files navigation

This is a Next.js project bootstrapped with create-next-app with some extra adjustments.

Setup

npm install
npx playwright install

Getting Started

First, run the development server:

npm run dev

Run unit tests with jest

npm run test

# or

npx jest

Run the e2e tests with Playwright

All e2e tests are meant to test the functionality of a GitHub repository and require authentication. Make sure you don't have MFA enabled on your GitHub account.

Create a .env file in the root of the project and add the following:

GITHUB_USERNAME=your_username
GITHUB_PASSWORD=your_password

All test cases should be in the ./e2e-playwright/e2e.spec.ts file.

  • Run all the tests npx playwright test

  • Run the test with the title npx playwright test -g "add a todo item"

  • Run tests in interactive UI mode, with a built-in watch mode (Preview) npx playwright test --ui

About

just some boilerplate to experiment with

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •