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:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user