Add feature tests for shop functionality and organization purchases
Deploy Test / test (push) Successful in 1m38s
Deploy Test / deploy (push) Successful in 31s

- Implement OfferOptionAdminTest to validate offer option management, including price display, activation, and cancellation.
- Create OrganizationPurchaseTest to ensure correct handling of organization purchases, including access control and order processing.
- Add ShopProductPageTest to verify shop product listings, search functionality, and product page details.
- Introduce BuildsShop trait for seeding test data related to shop functionality.
- Implement MoneyTest to validate money parsing and formatting, ensuring correct handling of euro amounts.
This commit is contained in:
Lars committed 2026-11-21 12:06:24 +01:00
1 parent 6c8bbee363
commit 4e0760db1e
106 files changed
+4068 -76

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

@@ -0,0 +1,9 @@
OK Anna (bestellberechtigt): Bestellung von Vera 403 | 403
OK Anna: Abruf film mit Signatur von vera gesperrt (403) | 403
OK Anna: Abruf pdf mit Signatur von vera gesperrt (403) | 403
OK Anna: Abruf film mit Signatur von anna gesperrt (403) | 403
OK Anna: Abruf pdf mit Signatur von anna gesperrt (403) | 403
OK Anna: Bibliothek ohne Vereinskauf
OK Anna: Vereinslizenz als bereits erworben, ohne Weg zur Bibliothek
OK Abbrechen verwirft die Eingabe (Preis weiter 49,00 €)
OK Warenkorb zeigt alten und neuen Preis
@@ -0,0 +1,16 @@
OK TK1 Warenkorb zwei Positionen, Summe 78,00 €
OK TK1 Rückkehr zur Kasse nach Anmeldung | http://127.0.0.1:8795/kasse
OK TK1 Bestellung offen, Testzahlung ausstehend
OK TK1 direkter Abruf vor Zahlung gesperrt (403) | 403
OK TK1 Bibliothek vor Zahlung ohne Inhalte
OK TK1 Testzahlung bestätigt, Bibliothek | http://127.0.0.1:8795/bereich/bibliothek
OK TK1 Film und Begleitmaterial laden (Konflikte) | ('laden.mp4', 47) ('laden.pdf', 76)
OK TK1 zweites Angebot (Grenzen) lädt ebenfalls | ('laden.mp4', 50)
OK TK1 Bestellung bezahlt
OK TK2 Verein als Lizenzinhaber genannt
OK TK2 bestellendes Konto lädt Film und Begleitmaterial | ('laden.mp4', 47) ('laden.pdf', 76)
OK TK2 Bestellung nennt Lizenzinhaber und bestellendes Konto
OK TK2 zweites Konto: Bestellung nicht abrufbar (403) | 403
OK TK2 zweites Konto: Abruf mit fremder Signatur gesperrt (403) | 403
OK TK2 zweites Konto: Abruf mit eigener Signatur gesperrt (403) | 403
OK TK2 zweites Konto: Bibliothek ohne Vereinskauf
@@ -0,0 +1,15 @@
OK Zustand: leerer Warenkorb
OK Zustand: Shop-Suche ohne Treffer
OK Zustand: zurückgezogene Position bleibt sichtbar
OK Zustand: Abschluss blockiert, Knopf deaktiviert
OK Zustand: nach Entfernen bleibt die andere Position bestellbar
OK Zustand: alles erworben, Hinweis und Weg zur Bibliothek
OK Zustand: Checkout gesperrt
OK Zustand: Kasse zeigt nichts zu bestellen
OK Zustand: geänderte Übersicht erzeugt keine Bestellung und wird neu gezeigt | http://127.0.0.1:8795/kasse?bestellen_als=2
OK Tastatur: Tab erreicht „In den Warenkorb“ | In den Warenkorb
: Privatlizenz
OK Tastatur: sichtbarer Fokus | solid 3px
OK Tastatur: Enter legt die Option in den Warenkorb
OK Tastatur: „Entfernen“ im Warenkorb erreichbar
OK Verwaltung: Abbrechen verwirft die Eingabe (Preis unverändert)