Skip to content

Commit 4357d84

Browse files
committed
fix: tests
1 parent adc8545 commit 4357d84

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/suites/nodes/NodePage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class NodePage extends PageModel {
3131
async isThreadsTabVisible() {
3232
const threadsTab = this.tabs.locator('.g-tab:has-text("Threads")');
3333
try {
34-
await threadsTab.waitFor({state: 'visible'});
34+
await threadsTab.waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
3535
return true;
3636
} catch {
3737
console.error('Threads tab is not visible');

tests/suites/nodes/nodes.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ test.describe('Test Node Page Threads Tab', async () => {
240240
NodeId: 1,
241241
SystemState: 'Green',
242242
Version: 'test-version',
243-
},
244-
],
245-
Threads: [
246-
{
247-
Name: 'TestPool',
248-
Threads: 4,
243+
Threads: [
244+
{
245+
Name: 'TestPool',
246+
Threads: 4,
247+
},
248+
],
249249
},
250250
],
251251
}),

0 commit comments

Comments
 (0)