mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
✅ (vrt) improving stability - rules test (#3186)
This commit is contained in:
committed by
GitHub
parent
e0d7233b40
commit
7e3ff1ad03
@@ -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 |
6
upcoming-release-notes/3186.md
Normal file
6
upcoming-release-notes/3186.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Improve VRT test stability.
|
||||
Reference in New Issue
Block a user