• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rero / rero-ils / 30333989079
91%

Build:
DEFAULT BRANCH: staging
Ran 28 Jul 2026 07:03AM UTC
Jobs 1
Files 612
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jul 2026 06:11AM UTC coverage: 91.259% (-0.005%) from 91.264%
30333989079

push

github

rerowep
test(e2e): replace Cypress with Playwright E2E tests

Replace the unmaintained Cypress test suite (last updated 2020) with a
modern Playwright-based suite using pytest-playwright. All tests are
driven via the REST API for state management and the Angular UI only
for interaction assertions.

* delete all Cypress specs, fixtures, support files and the
  scripts/cypress runner
* add pytest-playwright to dev dependencies and configure poe tasks:
  e2e (all browsers, cross-browser mark), e2e_chromium, e2e_firefox,
  e2e_webkit
* add bootstrap step to install Chromium, Firefox and WebKit browsers
* add E2E=yes to conftest.py so pytest-invenio does not skip the tests
* introduce isolated browser contexts per fixture so concurrent
  librarian/patron/spock sessions do not share cookies
* add @pytest.mark.chromium_only for tests requiring Angular PrimeNG
  form submission (document editor, collections, templates); these
  tests are excluded from Firefox/WebKit runs
* implement test_login.py: librarian login, logout, patron login
* implement test_circulation_scenario_a.py: standard loan at owning
  library (ADD_REQUEST_1.1 → VALIDATE_1.2 → CHECKOUT_2.1 →
  CHECKIN_3.1.1)
* implement test_circulation_scenario_b.py: standard loan with
  inter-library transit (VALIDATE_1.2 → CHECKIN_4.1 → CHECKOUT_2.1 →
  CHECKIN_3.1.2 → CHECKIN_5.1.1)
* implement test_circulation_scenario_c.py: multiple in-transit
  requests, two patrons
* implement test_circulation_scenario_d.py: denied actions and
  unconventional workflow
* implement test_circulation_scenario_e.py: complex workflow with
  mid-cycle cancellations and pickup location changes
* implement test_document_editor.py: create document via Angular editor
  (chromium_only)
* implement test_collections.py: create, edit and delete a collection
  (chromium_only)
* add tests/e2e/README.md documenting how to run the tests, why
  chromium_only exists and how to remove it via rero-ils-ui/ng-core
* rename "cypress" to "e2e" in dat... (continued)

10 of 13 new or added lines in 4 files covered. (76.92%)

24241 of 26563 relevant lines covered (91.26%)

0.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
87.27
-1.51% rero_ils/modules/migrations/cli.py
Jobs
ID Job ID Ran Files Coverage
1 30333989079.1 28 Jul 2026 07:03AM UTC 612
91.26
GitHub Action Run
Source Files on build 30333989079
  • Tree
  • List 612
  • Changed 4
  • Source Changed 4
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30333989079
  • 742f9dc9 on github
  • Prev Build on staging (#30275310719)
  • Next Build on staging (#30339895103)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc