Skip to content

Commit c116474

Browse files
autofix-ci[bot]AlemTuzlak
authored andcommitted
ci: apply automated fixes
1 parent e799158 commit c116474

3 files changed

Lines changed: 16 additions & 4 deletions

File tree

testing/e2e/tests/tools-test/client-tool.spec.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ test.describe('Client Tool E2E Tests', () => {
6363
await page.waitForFunction(
6464
() => {
6565
const el = document.querySelector('#test-metadata')
66-
return parseInt(el?.getAttribute('data-execution-complete-count') || '0') >= 2
66+
return (
67+
parseInt(el?.getAttribute('data-execution-complete-count') || '0') >=
68+
2
69+
)
6770
},
6871
{ timeout: 10000 },
6972
)
@@ -123,7 +126,10 @@ test.describe('Client Tool E2E Tests', () => {
123126
await page.waitForFunction(
124127
() => {
125128
const el = document.querySelector('#test-metadata')
126-
return parseInt(el?.getAttribute('data-execution-complete-count') || '0') >= 2
129+
return (
130+
parseInt(el?.getAttribute('data-execution-complete-count') || '0') >=
131+
2
132+
)
127133
},
128134
{ timeout: 10000 },
129135
)

testing/e2e/tests/tools-test/race-conditions.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ test.describe('Race Condition Tests', () => {
4444
await page.waitForFunction(
4545
() => {
4646
const el = document.querySelector('#test-metadata')
47-
return parseInt(el?.getAttribute('data-execution-complete-count') || '0') >= 2
47+
return (
48+
parseInt(el?.getAttribute('data-execution-complete-count') || '0') >=
49+
2
50+
)
4851
},
4952
{ timeout: 10000 },
5053
)

testing/e2e/tests/tools-test/server-client-sequence.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ test.describe('Server-Client Sequence E2E Tests', () => {
3535
await page.waitForFunction(
3636
() => {
3737
const el = document.querySelector('#test-metadata')
38-
return parseInt(el?.getAttribute('data-execution-complete-count') || '0') >= 1
38+
return (
39+
parseInt(el?.getAttribute('data-execution-complete-count') || '0') >=
40+
1
41+
)
3942
},
4043
{ timeout: 10000 },
4144
)

0 commit comments

Comments
 (0)