[automated] Apply ESLint and Oxfmt fixes

This commit is contained in:
GitHub Action
2026-04-13 13:15:52 +00:00
parent 2658d78b4e
commit d8bfbc82f3
3 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ test.describe('Curve Widget', () => {
function getCurveWidgetLocators(comfyPage: ComfyPage) {
const node = comfyPage.vueNodes.getNodeLocator('1')
const svg = node.locator('svg')
const curvePath = node.getByTestId("curve-path")
const curvePath = node.getByTestId('curve-path')
const controlPoints = svg.locator('circle')
return { node, svg, curvePath, controlPoints }
}
@@ -137,7 +137,7 @@ test.describe('Curve Widget', () => {
const pathBefore = await curvePath.getAttribute('d')
const node = comfyPage.vueNodes.getNodeLocator('1')
const select = node.getByRole("combobox")
const select = node.getByRole('combobox')
await select.click()
await comfyPage.page.getByRole('option', { name: /linear/i }).click()
await comfyPage.nextFrame()

View File

@@ -76,7 +76,7 @@ test.describe('Image Crop', () => {
async ({ comfyPage }) => {
const node = comfyPage.vueNodes.getNodeLocator('1')
const trigger = node.getByRole("combobox")
const trigger = node.getByRole('combobox')
await trigger.click()
const expectedRatios = ['1:1', '3:4', '4:3', '16:9', '9:16', 'Custom']

View File

@@ -257,7 +257,7 @@ test.describe('Painter', () => {
expect(initialSize?.trim()).toBe('20')
// Drag the slider thumb to the right to increase size
const slider = sizeRow.getByRole("slider")
const slider = sizeRow.getByRole('slider')
const sliderBox = await slider.boundingBox()
if (!sliderBox) throw new Error('Slider thumb not found')
@@ -313,7 +313,7 @@ test.describe('Painter', () => {
// Set brush size to a larger value by dragging the slider far right
const sizeLabel = painterWidget.getByText('Cursor Size')
const sizeRow = sizeLabel.locator('~ div').first()
const slider = sizeRow.getByRole("slider")
const slider = sizeRow.getByRole('slider')
const sliderBox = await slider.boundingBox()
if (!sliderBox) throw new Error('Slider thumb not found')