Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
ac3ee32
chore(ci): cancel the outdated run when a pull request is pushed again
Rushaway Nov 29, 2026
ac30a32
chore(ci): run PHPUnit and E2E nightly on main instead of on every push
Rushaway Nov 29, 2026
9eeee43
perf(tests): hash the fixture admin password once per process
Rushaway Nov 29, 2026
0fd934a
chore(ci): run the PHPUnit MariaDB on tmpfs without fsync
Rushaway Nov 29, 2026
fa4a240
chore(ci): run the Playwright E2E suite as three parallel shards
Rushaway Nov 29, 2026
0d94977
perf(tests): seed the fixture admin with a precomputed password hash
Rushaway Nov 29, 2026
ea40ee9
Merge branch 'perf/tests-fixture-admin-hash' into chore/ci-phpunit-tm…
Rushaway Nov 29, 2026
a1105b6
Merge branch 'chore/ci-phpunit-tmpfs-db' into chore/ci-e2e-shards
Rushaway Nov 29, 2026
dc196ed
perf(tests): reset the fixture tables with DELETE instead of TRUNCATE
Rushaway Nov 29, 2026
3665776
Merge branch 'chore/ci-e2e-shards' into perf/tests-fixture-delete-reset
Rushaway Nov 29, 2026
f54c572
chore(ci): build the E2E dev image with the GitHub Actions cache
Rushaway Nov 29, 2026
e3f18f0
fix(e2e): wait for the settings bounce in the password generator spec
Rushaway Nov 29, 2026
c3e82e8
perf(tests): state the measured reset time in the fixture comment
Rushaway Nov 29, 2026
facd6e0
Merge branch 'perf/tests-fixture-delete-reset' into chore/ci-e2e-imag…
Rushaway Nov 29, 2026
290f209
Merge branch 'chore/ci-e2e-image-cache' into fix/e2e-password-generat…
Rushaway Nov 29, 2026
876657a
chore(ci): take the E2E shard count from the matrix length
Rushaway Nov 29, 2026
5e0e33c
Merge branch 'chore/ci-e2e-shards' into perf/tests-fixture-delete-reset
Rushaway Nov 29, 2026
dc56b07
Merge branch 'perf/tests-fixture-delete-reset' into chore/ci-e2e-imag…
Rushaway Nov 29, 2026
895fd55
Merge branch 'chore/ci-e2e-image-cache' into fix/e2e-password-generat…
Rushaway Nov 29, 2026
a1e7dc2
Merge remote-tracking branch 'origin/main' into fix/e2e-password-gene…
Rushaway Nov 29, 2026
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ Legend:
? = Other stuff
```

(29/11/26): Version 2.2.33-srcdslab
-----------------------
```
01. ! tests: the password generator E2E spec waits for the settings page
to bounce back after a save instead of racing it with its own
navigation, which failed now and then with net::ERR_ABORTED
(#115)
```

(29/11/26): Version 2.2.32-srcdslab
-----------------------
```
Expand Down
17 changes: 14 additions & 3 deletions web/tests/e2e/specs/flows/password-generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,26 @@ test.describe('flow: configurable password generator', () => {
await page.goto(route);
await page.locator('[data-testid="setting-pwgen-length"]').fill('26');
await page.locator('[data-testid="setting-pwgen-symbols"]').uncheck();
// The save POSTs natively, then the page bounces back after
// a short toast; anchor on the POST response, not the toast.
// The save POSTs natively, then the page bounces back to the
// same URL with a GET (admin.settings.php: location.href,
// at once or after the toast). Wait for that bounce instead
// of navigating again: a page.goto() racing it was aborted
// with net::ERR_ABORTED on a CI run (29/11/2026, #115). The
// bounced page is the fresh GET the assertions below need.
const saved = page.waitForResponse(
(r) => r.request().method() === 'POST' && r.url().includes('c=settings'),
);
const bounced = page.waitForResponse(
(r) =>
r.request().method() === 'GET' &&
r.request().isNavigationRequest() &&
r.url().includes('section=settings'),
);
await page.locator('[data-testid="settings-save"]').click();
expect((await saved).status()).toBe(200);
expect((await bounced).status()).toBe(200);
await page.waitForLoadState('load');

await page.goto(route);
await expect(page.locator('[data-testid="setting-pwgen-length"]')).toHaveValue('26');
await expect(page.locator('[data-testid="setting-pwgen-symbols"]')).not.toBeChecked();
await expect(page.locator('[data-testid="setting-pwgen-lowercase"]')).toBeChecked();
Expand Down