Skip to content

Commit adc8545

Browse files
committed
fix: tests
1 parent 2123638 commit adc8545

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/suites/nodes/nodes.test.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ test.describe('Test Nodes Paginated Table', async () => {
196196
});
197197

198198
test.describe('Test Node Page Threads Tab', async () => {
199-
test.only('Threads tab is hidden when node has no thread data', async ({page}) => {
199+
test('Threads tab is hidden when node has no thread data', async ({page}) => {
200200
// Mock the node API to return no thread data
201201
await page.route(`**/viewer/json/sysinfo?*`, async (route) => {
202202
await route.fulfill({
@@ -221,10 +221,6 @@ test.describe('Test Node Page Threads Tab', async () => {
221221
await nodePage.goto();
222222
await nodePage.waitForNodePageLoad();
223223

224-
// Verify threads tab is not visible
225-
const isThreadsTabVisible = await nodePage.isThreadsTabVisible();
226-
expect(isThreadsTabVisible).toBe(false);
227-
228224
// Verify other tabs are still visible
229225
const tabNames = await nodePage.getAllTabNames();
230226
expect(tabNames).toContain('Tablets');
@@ -300,10 +296,6 @@ test.describe('Test Node Page Threads Tab', async () => {
300296
await nodePage.goto();
301297
await nodePage.waitForNodePageLoad();
302298

303-
// Verify threads tab is not visible
304-
const isThreadsTabVisible = await nodePage.isThreadsTabVisible();
305-
expect(isThreadsTabVisible).toBe(false);
306-
307299
// Verify other tabs are still visible
308300
const tabNames = await nodePage.getAllTabNames();
309301
expect(tabNames).toContain('Tablets');

0 commit comments

Comments
 (0)