[automated] Apply ESLint and Oxfmt fixes

This commit is contained in:
GitHub Action
2026-03-27 05:11:35 +00:00
committed by bymyself
parent 9c6fe99f0b
commit 3a57c4d394

View File

@@ -1,28 +1,28 @@
import { expect } from "@playwright/test";
import { expect } from '@playwright/test'
import { comfyPageFixture as test } from "../fixtures/ComfyPage";
import { TestIds } from "../fixtures/selectors";
import { comfyPageFixture as test } from '../fixtures/ComfyPage'
import { TestIds } from '../fixtures/selectors'
test.describe("Cloud distribution UI @cloud", () => {
test("subscribe button is attached in cloud mode @cloud", async ({
comfyPage,
test.describe('Cloud distribution UI @cloud', () => {
test('subscribe button is attached in cloud mode @cloud', async ({
comfyPage
}) => {
const subscribeButton = comfyPage.page.getByTestId(
TestIds.topbar.subscribeButton,
);
await expect(subscribeButton).toBeAttached();
});
TestIds.topbar.subscribeButton
)
await expect(subscribeButton).toBeAttached()
})
test("bottom panel toggle is hidden in cloud mode @cloud", async ({
comfyPage,
test('bottom panel toggle is hidden in cloud mode @cloud', async ({
comfyPage
}) => {
const sideToolbar = comfyPage.page.getByTestId(TestIds.sidebar.toolbar);
await expect(sideToolbar).toBeVisible();
const sideToolbar = comfyPage.page.getByTestId(TestIds.sidebar.toolbar)
await expect(sideToolbar).toBeVisible()
// In cloud mode, the bottom panel toggle button should not be rendered
const bottomPanelToggle = sideToolbar.getByRole("button", {
name: /bottom panel|terminal/i,
});
await expect(bottomPanelToggle).toHaveCount(0);
});
});
const bottomPanelToggle = sideToolbar.getByRole('button', {
name: /bottom panel|terminal/i
})
await expect(bottomPanelToggle).toHaveCount(0)
})
})