Skip to content

Commit

Permalink
Remove redundant regression tests/snapshots (#7670)
Browse files Browse the repository at this point in the history
* remove redundat tests already covered by cypress

* remove regression_suites from puppeteer

* remove obsolete script in package json
  • Loading branch information
mfacar authored Feb 12, 2025
1 parent 9406eef commit 1d2c52f
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 62 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_e2e_puppeteer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
suite-dir: ['regression_suites', 'suite1', 'suite2', 'mobile']
suite-dir: ['suite1', 'suite2', 'mobile']
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.7-amd64
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
60 changes: 0 additions & 60 deletions e2e/regression_suites/settings.test.ts

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"test": "node --no-experimental-fetch ./node_modules/.bin/jest -w=50%",
"e2e-puppeteer-all": "echo 'MAKE SURE UWAZI IS RUNNING WITH uwazi_e2e DATABASE AND INDEX';DATABASE_NAME=uwazi_e2e INDEX_NAME=uwazi_e2e jest --projects e2e/jest.e2e.config.ts -i --verbose true",
"e2e-puppeteer": "yarn e2e-puppeteer-all --roots '<rootDir>/suite1' '<rootDir>/suite2'",
"e2e-puppeteer-regression": "yarn e2e-puppeteer-all --roots '<rootDir>/regression_suites'",
"e2e-fixtures": "DATABASE_NAME=uwazi_e2e INDEX_NAME=uwazi_e2e ./uwazi-fixtures/restore.sh",
"eslint": "./node_modules/.bin/eslint e2e app cypress --quiet --ext js,ts,tsx",
"eslint-fulldiff": "git diff-index --name-only origin/development | grep ^app/ | grep -v snap | xargs ls -d 2>/dev/null | xargs ./node_modules/.bin/eslint ",
Expand Down

0 comments on commit 1d2c52f

Please sign in to comment.