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:
Matiss Janis Aboltins
2026-01-18 19:10:35 +01:00
committed by GitHub
parent fe624f0158
commit 9289932af9
2 changed files with 10 additions and 0 deletions

View File

@@ -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[]) {