1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-13 09:09:18 +00:00

Added a daily recurring job to cleanup tournaments. Fixed final score fields not loading without page refresh on mat stats page and added a cypress test for it.

This commit is contained in:
2025-05-07 16:01:48 -04:00
parent 2856060b11
commit 4accedbb43
16 changed files with 343 additions and 104 deletions

View File

@@ -161,6 +161,9 @@ describe('Matstats Real-time Updates', () => {
cy.get('#cable-status-indicator', { timeout: 10000 })
.should('contain.text', 'Connected');
// Select a winner
cy.get('#match_winner_id').select(1);
// Check if match form and inputs still exist after reload
cy.get('body').then(($reloadedBody) => {
if ($reloadedBody.find('#match_win_type').length &&