test: add authenticated staging smoke helper
This commit is contained in:
@@ -22,12 +22,22 @@
|
||||
|
||||
- свежий deploy уже прошел helper smoke:
|
||||
- `just staging-smoke https://<domain>`
|
||||
- automated browser-authenticated smoke при необходимости запускается так:
|
||||
- `CRANK_STAGING_ADMIN_EMAIL=... CRANK_STAGING_ADMIN_PASSWORD=... just authenticated-staging-smoke https://<domain>`
|
||||
- известны bootstrap admin credentials;
|
||||
- на стенде есть demo data или подготовленный disposable workspace;
|
||||
- браузер открыт с devtools, чтобы фиксировать network/console findings.
|
||||
|
||||
## 3. Канонический проход
|
||||
|
||||
Перед ручным проходом можно прогнать automated baseline:
|
||||
|
||||
```bash
|
||||
export CRANK_STAGING_ADMIN_EMAIL=owner@example.com
|
||||
export CRANK_STAGING_ADMIN_PASSWORD=secret
|
||||
just authenticated-staging-smoke https://<domain>
|
||||
```
|
||||
|
||||
### 3.1. Login and shell
|
||||
|
||||
1. Открыть `/login`
|
||||
|
||||
Reference in New Issue
Block a user