test: add authenticated staging smoke helper

This commit is contained in:
a.tolmachev
2026-04-07 13:08:32 +03:00
parent e3cd02aa7e
commit 09e6260e32
9 changed files with 136 additions and 12 deletions
+10
View File
@@ -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`