Skip to content

fix logout - #653

Merged
artoonie merged 4 commits into
mainfrom
fix-logout
Sep 27, 2026
Merged

artoonie merged 4 commits into
mainfrom
fix-logout

Conversation

@artoonie

@artoonie artoonie commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

And some unit test flakiness fixes

artoonie and others added 4 commits September 23, 2026 14:14
The logout link is now a form in the header, so the data-entry
validator was serializing it (just a CSRF token) instead of the
upload form, and every validation failed with "Error #20".

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
EC.staleness_of returns a callable and never raises, so wrapping it in
_ensure_eventually_asserts waited for nothing. The test then read the
old page's validation message before the navigation happened. Use
WebDriverWait so it actually waits for the reload.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.08%. Comparing base (611b71c) to head (a5e6af9).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #653      +/-   ##
==========================================
- Coverage   96.10%   96.08%   -0.02%     
==========================================
  Files         132      132              
  Lines        6363     6364       +1     
==========================================
  Hits         6115     6115              
- Misses        248      249       +1     
Files with missing lines Coverage Δ
electionpage/tests.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 611b71c...a5e6af9. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@artoonie
artoonie merged commit 0348fcf into main Sep 27, 2026
7 checks passed
@artoonie
artoonie deleted the fix-logout branch September 27, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant