Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Install dependencies e2e-tests
working-directory: ./e2e-tests
run: yarn install --mode=skip-build
run: yarn install

- name: Run TypeScript Compiler check
working-directory: ./e2e-tests
Expand Down
9 changes: 1 addition & 8 deletions docs/e2e-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ From the root of the project directory, navigate to the `e2e-tests` directory:
```bash
cd e2e-tests
yarn install
```

## Install Playwright Browsers

The Playwright browsers should be installed automatically via the `postinstall` script in `package.json`. If not, you can manually install them:

```bash
yarn playwright install chromium
```

Expand All @@ -46,7 +39,7 @@ To run the tests, ensure you have:

- **Node.js** (minimum version 18)
- An instance of the application to run the tests against
- [Playwright browsers installed](#install-playwright-browsers)
- [Playwright browsers installed](#navigate-to-the-e2e-tests-directory-and-install-dependencies)

#### macOS Users
**Important**: If you're using macOS, you need to install GNU `grep` and GNU `sed` to avoid compatibility issues with scripts and CI/CD pipelines:
Expand Down
14 changes: 2 additions & 12 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,7 @@ The easiest and fastest method for getting started: RHDH app, running it locally

1. Copy `app-config.example.yaml` and rename it as `app-config.local.yaml`.

2. Ensure you have the following developer tools installed:

- If you are on a Fedora/Red Hat Linux distribution run: `sudo dnf install python3 make g++ zlib-devel brotli-devel openssl-devel libuv-devel`
- If you are on a Debian/Ubuntu Linux distribution run: `sudo apt-get install python3 g++ build-essential`
- If you are on Windows, then follow the [instructions](https://github.com/nodejs/node-gyp#on-windows) in `node-gyp` for Windows
- If you are on macOS, then follow the [instructions](https://github.com/nodejs/node-gyp#on-macos) in `node-gyp` for macOS
2. Use the Node.js version from `.nvmrc` and enable Corepack (`corepack enable`) so the Yarn version pinned in `package.json` is used.

3. Run `yarn install` to install the dependencies

Expand All @@ -282,12 +277,7 @@ The easiest and fastest method for getting started: RHDH app, running it locally

1. Create an `app-config.local.yaml` file that will be used for storing the environment variables that the showcase app needs

2. Ensure you have the following developer tools installed:

- If you are on a Fedora/Red Hat Linux distribution run: `sudo dnf install python3 make g++ zlib-devel brotli-devel openssl-devel libuv-devel`
- If you are on a Debian/Ubuntu Linux distribution run: `sudo apt-get install python3 g++ build-essential`
- If you are on Windows, then follow the [instructions](https://github.com/nodejs/node-gyp#on-windows) in `node-gyp` for Windows
- If you are on macOS, then follow the [instructions](https://github.com/nodejs/node-gyp#on-macos) in `node-gyp` for macOS
2. Use the Node.js version from `.nvmrc` and enable Corepack (`corepack enable`) so the Yarn version pinned in `package.json` is used.

3. Run `yarn install` to install the dependencies

Expand Down
1 change: 0 additions & 1 deletion e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"showcase-localization-ja": "LOCALE=ja playwright test --project=showcase-localization-ja",
"lint:check": "eslint . --ext .js,.ts",
"lint:fix": "eslint . \"playwright/**/*.{ts,js}\" --fix",
"postinstall": "playwright install chromium",
"tsc": "tsc",
"tsc:check": "tsc -p tsconfig.json",
"shellcheck": "git ls-files -z '*.sh' | xargs -0 shellcheck --severity=warning --color=always",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"jest": "30.3.0",
"jsdom": "27.4.0",
"lint-staged": "15.5.2",
"node-gyp": "10.3.1",
"rulesync": "7.30.0",
"sherif": "1.11.1",
"turbo": "2.9.6"
Expand Down
Loading
Loading