mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
Fix flaky mobile payees VRT test by waiting for navbar animation (#6699)
* Fix flaky mobile payees VRT test by waiting for navbar animation to complete Add wait timeout after dragNavbarDown() to ensure react-spring animation finishes before screenshots are taken. * Add release notes for reducing payees e2e test flakiness * Fix release note formatting: use sentence case and add period Co-authored-by: matiss <matiss@mja.lv> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
committed by
GitHub
parent
fe624f0158
commit
9289932af9
@@ -90,6 +90,10 @@ export class MobileNavigation {
|
||||
y: boundingBox.height / NAVBAR_ROWS,
|
||||
},
|
||||
});
|
||||
|
||||
// Wait for the react-spring animation to complete before taking screenshots.
|
||||
// The animation typically takes a few hundred milliseconds to finish.
|
||||
await this.page.waitForTimeout(500);
|
||||
}
|
||||
|
||||
async hasNavbarState(...states: string[]) {
|
||||
|
||||
Reference in New Issue
Block a user