Commit 4dcb4f8
committed
test: widen OAuth failure diagnostics and upload Nextcloud log
The first debug run showed that the fallback /sessions/two-factor/app
returns 404 for the OAuth sudo re-verification flow, and the previous
describePage diagnostic was never reached because navigateToTotpPage
fails earlier.
- navigateToTotpPage now includes the source URL and the source page's
form/heading summary in its failure message, so we can see the actual
structure of the sudo re-verification page.
- On any integration-test failure, upload data/nextcloud.log as a CI
artifact so server-side errors are visible for later inspection.
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>1 parent 2daa831 commit 4dcb4f8
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
335 | 340 | | |
336 | 341 | | |
337 | 342 | | |
| |||
0 commit comments