Browse Source
Merge pull request #5613 from moisseev/e2e
[Test] Relax throughput counter check
pull/5615/head
Vsevolod Stakhov
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
test/playwright/tests/scan.spec.mjs
|
|
@ -124,8 +124,10 @@ test.describe.serial("Scan flow across WebUI tabs", () => { |
|
|
|
|
|
|
|
test("Throughput `Total messages` counter increased", async ({}, testInfo) => { |
|
|
|
testInfo.setTimeout(140000); |
|
|
|
// With empty RRD the first PDP is lost, so only +1 is visible |
|
|
|
// Depending on row boundaries, throughput may show +2 or even +3 |
|
|
|
const targetValues = [ |
|
|
|
scannedBefore.throughput + 1, |
|
|
|
scannedBefore.throughput + 2, |
|
|
|
scannedBefore.throughput + 3, |
|
|
|
]; |
|
|
|