Skip to content

Commit aa2675c

Browse files
author
ALENA NABOKA
committed
fix regexp for bulk delete
1 parent f1495b8 commit aa2675c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/tests/critical-path/browser/bulk-delete.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ test('Verify that user can access the bulk actions screen in the Browser', async
5555

5656
});
5757
test('Verify that user can see summary of scanned level', async t => {
58-
const expectedAmount = new RegExp('Expected amount: ~' + '10 ' + '.');
59-
const scannedKeys = new RegExp('Scanned 5% \\(....10 ...\\) and found ... keys');
58+
const expectedAmount = new RegExp('Expected amount: ~(9|10) \\d{3} keys');
59+
const scannedKeys = new RegExp('Scanned (5|10)% \\(\\d{3,5}/10 \\d{3}\\) and found \\d{3,5} keys');
6060
const messageTitle = 'No pattern or key type set';
6161
const messageText = 'To perform a bulk action, set the pattern or select the key type';
6262

0 commit comments

Comments
 (0)