From 9dae69ef3282aa7c3ebd5243b77199108ad595f9 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 7 Apr 2024 00:25:15 +0200 Subject: Add support of E2E tests using Playwright --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index e2e1c29..53ae529 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,11 @@ "server": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=development hugo server --verbose --source=exampleSite --buildDrafts --buildFuture --ignoreCache --disableFastRender", "lint": "npm run lint:js && npm run lint:editorconfig", "lint:editorconfig": "editorconfig-checker", - "lint:js": "eslint static/js/* assets/js/* eslint.config.js" + "lint:js": "eslint static/js/* assets/js/* eslint.config.js playwright.config.js" }, "devDependencies": { + "@playwright/test": "^1.43.0", + "@types/node": "^20.12.5", "editorconfig-checker": "^5.1.5", "eslint": "^9.0.0" } -- cgit v1.2.3