# PG-33 clean-install run

Run this on the same remote machine that hosts the disposable WordPress stack. The stack must
start without the checkout plugin mount so the first plugin-list assertion proves that the release
ZIP, rather than source checkout files, is installed.

```bash
IPZ_STACK_NO_PLUGIN_MOUNT=1 tests/e2e/remote-stack.sh
```

In a second terminal on that machine, provide the absolute release ZIP path and run the focused
spec from `tests/e2e/`, which contains its Playwright configuration and package. `IPZ_EXPECTED_VERSION`
defaults to `0.9.81`; set it when proving another release.

```bash
cd tests/e2e
IPZ_STACK_NO_PLUGIN_MOUNT=1 \
IPZ_ZIP_PATH=/absolute/path/international-press-zone-0.9.81.zip \
IPZ_EXPECTED_VERSION=0.9.81 \
npx playwright test clean-install-zip.spec.js
```

The spec uploads and activates the ZIP through wp-admin, verifies the admin SPA and version,
deactivates and deletes it through the plugins UI, then uploads and activates the ZIP again.
