Skip to content
Snippets Groups Projects
Unverified Commit 4e59bdf6 authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Fix e2e test to not assume it’s been run on Feb 28, 2023 (#717)

parent de69e158
No related branches found
No related tags found
No related merge requests found
......@@ -57,11 +57,16 @@ test.describe('Schedules', () => {
// go to rules page
const rulesPage = await navigation.goToRulesPage();
expect(await rulesPage.getNthRule(0)).toMatchObject({
actions: ['link schedule Home Depot (2023-02-28)'],
// actions: ['link schedule Home Depot (2023-02-28)'],
actions: [
expect.stringMatching(
/^link schedule Home Depot \(\d{4}-\d{2}-\d{2}\)$/,
),
],
conditions: [
'payee is Home Depot',
'account is HSBC',
'date is approx Every month on the 28th',
expect.stringMatching(/^date is approx Every month on the/),
'amount is approx -25.00',
],
});
......
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