Skip to content
Snippets Groups Projects
Unverified Commit 85affae7 authored by Joel Jeremy Marquez's avatar Joel Jeremy Marquez Committed by GitHub
Browse files

[Maintenance] Fix slow/flaky VRT test (#2634)

* Reduce iterations on schedule test

* Release notes

* Set longer timeout
parent 57d4cc57
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,8 @@ test.describe('Schedules', () => {
});
test('creates a new schedule, posts the transaction and later completes it', async () => {
test.setTimeout(40000);
await schedulesPage.addNewSchedule({
payee: 'Home Depot',
account: 'HSBC',
......@@ -79,7 +81,7 @@ test.describe('Schedules', () => {
await expect(page).toMatchThemeScreenshots();
// Schedules search shouldn't shrink with many schedules
for (let i = 0; i < 15; i++) {
for (let i = 0; i < 10; i++) {
await schedulesPage.addNewSchedule({
payee: 'Home Depot',
account: 'HSBC',
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
---
category: Maintenance
authors: [joel-jeremy]
---
Fix slow VRT test - reduced number of iterations to speed up test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment