Browser Tests often fail in GitHub Actions #163

Closed
opened 2026-03-20 13:39:20 +00:00 by niddelicious · 0 comments
niddelicious commented 2026-03-20 13:39:20 +00:00 (Migrated from github.com)

The Virtual Entry Test often fail on the first try in GitHub Actions, yet usually succeeds if the test is rerun.

Figure out a way to improve the test so that it succeeds when expected while still testing the functionality.

FAILED Tests\Browser\ETransactions\VirtualEntryTest > `Virtual Entry Act…
Timeout 5000ms exceeded. A screenshot of the page has been saved to [Tests/Browser/Screenshots/Virtual_Entry_Actualization_→_virtual_entry_converts_to_real_entry_and_persists_correctly].

at tests/Browser/E-Transactions/VirtualEntryTest.php:56
52▕ visit('/ledger')
53▕ ->assertTitleContains('Ledger')
54▕ ->assertVisible($rowSelector)
55▕ ->assertAttributeContains($rowSelector, 'class', 'transaction-card--virtual')
➜ 56▕ ->press($confirmButtonSelector)
57▕ ->wait(3)
58▕ ->assertMissing($rowSelector)
59▕ ->assertSee($template->name);
60▕

The Virtual Entry Test often fail on the first try in GitHub Actions, yet usually succeeds if the test is rerun. Figure out a way to improve the test so that it succeeds when expected while still testing the functionality. FAILED Tests\Browser\ETransactions\VirtualEntryTest > `Virtual Entry Act… Timeout 5000ms exceeded. A screenshot of the page has been saved to [Tests/Browser/Screenshots/_Virtual_Entry_Actualization__→_virtual_entry_converts_to_real_entry_and_persists_correctly]. at tests/Browser/E-Transactions/VirtualEntryTest.php:56 52▕ visit('/ledger') 53▕ ->assertTitleContains('Ledger') 54▕ ->assertVisible($rowSelector) 55▕ ->assertAttributeContains($rowSelector, 'class', 'transaction-card--virtual') ➜ 56▕ ->press($confirmButtonSelector) 57▕ ->wait(3) 58▕ ->assertMissing($rowSelector) 59▕ ->assertSee($template->name); 60▕
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nidde/parenting-tool#163
No description provided.