(vrt) improving stability - rules test (#3186)

This commit is contained in:
Matiss Janis Aboltins
2024-08-03 19:06:48 +01:00
committed by GitHub
parent e0d7233b40
commit 7e3ff1ad03
5 changed files with 7 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ test.describe('Rules', () => {
});
test('creates a rule and makes sure it is applied when creating a transaction', async () => {
await rulesPage.searchFor('Fast Internet');
await rulesPage.createRule({
conditions: [
{
@@ -48,7 +49,6 @@ test.describe('Rules', () => {
],
});
await rulesPage.searchFor('Fast Internet');
const rule = rulesPage.getNthRule(0);
await expect(rule.conditions).toHaveText(['payee is Fast Internet']);
await expect(rule.actions).toHaveText(['set category to General']);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [MatissJanis]
---
Improve VRT test stability.