Skip to content

Commit

Permalink
Merge pull request #736 from golemfactory/fix-e2e-tests
Browse files Browse the repository at this point in the history
Fix e2e tests for alpha
  • Loading branch information
grisha87 authored Dec 20, 2023
2 parents 5e72876 + 671afda commit 5d68a53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/strategies.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe("Strategies", function () {

expect(finalOutputs).toEqual(expect.arrayContaining(data));
await executor.shutdown();
await logger.expectToInclude(`Reason: Invoice rejected by Invoice Filter`, 100);
await logger.expectToMatch(/Invoice .* for agreement .* rejected by Invoice Filter/, 100);
});

it("should only accept debit notes below 0.00001 GLM", async () => {
Expand All @@ -90,7 +90,7 @@ describe("Strategies", function () {

expect(finalOutputs).toEqual(expect.arrayContaining(data));
await executor.shutdown();
await logger.expectToInclude(`DebitNote rejected by DebitNote Filter`, 100);
await logger.expectToMatch(/DebitNote .* for agreement .* rejected by DebitNote Filter/, 100);
});
});
});

0 comments on commit 5d68a53

Please sign in to comment.