From 0bdb3e103f301073c0bcd006ada9f47a2dd7d09f Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Tue, 12 Dec 2023 12:16:30 -0500 Subject: [PATCH] Delete unused files --- Makefile | 24 ------------------------ browser-test-all.sh | 4 ---- browser-test-package.json | 15 --------------- browser-test.Dockerfile | 8 -------- 4 files changed, 51 deletions(-) delete mode 100755 browser-test-all.sh delete mode 100644 browser-test-package.json delete mode 100644 browser-test.Dockerfile diff --git a/Makefile b/Makefile index 57b0bba33..32f7e47fc 100644 --- a/Makefile +++ b/Makefile @@ -46,30 +46,6 @@ prettier-check: prettier: prettier --write --plugin-search-dir=. src -browser-test: - docker compose -f local.builder.yml run --rm browser-test - -browser-test-staging: - docker compose -f local.builder.yml run --rm browser-test-staging - -browser-test-direct: - node tests/functional/suites/noindex.js - -browser-test-direct-all: - BROWSER=firefox node tests/functional/suites/noindex.js - #BROWSER=chromium node tests/functional/suites/noindex.js - BROWSER=webkit node tests/functional/suites/noindex.js - -# Set BROWSER to change the browser. e.g. BROWSER=chromium make browser-test-headful -browser-test-headful: - DEBUG=yes node tests/functional/suites/noindex.js - -browser-test-headful-staging: - DEBUG=yes node tests/functional/suites/noindex.js --envfile .env.staging - -browser-test-debug: - DEBUG=yes node debug tests/functional/suites/noindex.js - clean: # delete Webpack chunks rm -f public/index.html public/[0-9]*.*.* public/bundle.*.js public/bundle.*.css public/bundle.*.txt public/*.map public/*.*.js diff --git a/browser-test-all.sh b/browser-test-all.sh deleted file mode 100755 index 73a8f92a3..000000000 --- a/browser-test-all.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -BROWSER=firefox node tests/functional/suites/noindex.js -#BROWSER=chromium node tests/functional/suites/noindex.js -BROWSER=webkit node tests/functional/suites/noindex.js diff --git a/browser-test-package.json b/browser-test-package.json deleted file mode 100644 index 5e89478f2..000000000 --- a/browser-test-package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "documentcloud-frontend-browser-tests", - "version": "1.0.0", - "devDependencies": { - "eslint": "^7.32.0", - "prettier": "^2.2.1" - }, - "scripts": {}, - "dependencies": { - "dotenv": "^16.0.3", - "playwright": "^1.27.1", - "tape": "^5.6.1" - }, - "engine": 18 -} diff --git a/browser-test.Dockerfile b/browser-test.Dockerfile deleted file mode 100644 index 4b6aa7db4..000000000 --- a/browser-test.Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM mcr.microsoft.com/playwright:v1.27.0-focal - -RUN mkdir -p /usr/src/app -WORKDIR /usr/src/app -ADD browser-test-package.json package.json -ADD ./tests tests -ADD ./browser-test-all.sh browser-test-all.sh -RUN npm install