Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e5b8019
feat(website): generate vercel.json redirects from one typed list
MaanilVerma Sep 29, 2026
bfb89e9
fix(website): make the /minimax redirects permanent
MaanilVerma Sep 29, 2026
2c78d0a
fix(website): harden the redirect list from review
MaanilVerma Sep 29, 2026
cea4af8
feat(website): generate the reviewed old-to-new model URL map
MaanilVerma Sep 29, 2026
a0b33a0
fix(website): escape quotes and backslashes in the generated URL map
MaanilVerma Sep 29, 2026
5c81943
fix(website): reject bad old slugs and escape table cells in the URL …
MaanilVerma Sep 29, 2026
94e0e87
test(website): match Vercel path patterns in the model URL collision …
MaanilVerma Sep 29, 2026
33275d1
chore(website): mark the generated model URL map as generated
MaanilVerma Sep 29, 2026
5f27ea0
Merge remote-tracking branch 'origin/maanil/fe-2972-hub-url-map' into…
MaanilVerma Sep 29, 2026
ac62ead
feat(website): serve model pages at /hub/models and point every inter…
MaanilVerma Sep 29, 2026
9df06f7
test(website): cover model pages at /hub/models and move specs to the…
MaanilVerma Sep 29, 2026
c764e58
fix(website): resolve alias ids in hub model links, reject dot-only o…
MaanilVerma Sep 29, 2026
31f4e7f
test(website): take the onboarding model id from data, not the /hub/m…
MaanilVerma Sep 29, 2026
298d3d1
fix(website): give a model with no built page no link instead of an u…
MaanilVerma Sep 29, 2026
110ee18
test(website): enter the alias e2e through an alias and keep model da…
MaanilVerma Sep 29, 2026
24fa571
refactor(website): pass the locale to the cinematic studio back link …
MaanilVerma Sep 29, 2026
df9b1f6
Merge remote-tracking branch 'origin/main' into maanil/fe-2974-one-re…
MaanilVerma Sep 29, 2026
906fb56
fix(website): freeze published model URL slugs and tighten the review…
MaanilVerma Sep 29, 2026
3ceaa41
fix(website): address redirect list review
MaanilVerma Sep 29, 2026
b1ee33e
Merge remote-tracking branch 'origin/main' into maanil/fe-2972-hub-ur…
MaanilVerma Sep 29, 2026
ab4f655
fix(website): drop model aliases from the supported-models index
MaanilVerma Sep 29, 2026
a0b6ad7
fix(website): fail the build when a model route resolves to a model w…
MaanilVerma Sep 29, 2026
9ad6e90
fix(website): keep /zh-CN/minimax temporary alongside /minimax
MaanilVerma Sep 29, 2026
015a264
refactor(website): import zod directly in the redirect sync script
MaanilVerma Sep 29, 2026
7863a60
fix(website): list frozen model slugs whose display name has drifted
MaanilVerma Sep 29, 2026
997bda0
test(website): pin that the catalogue payload parses with the island'…
MaanilVerma Sep 29, 2026
b5de9ab
Merge branch 'maanil/fe-2986-models-url-registry' into maanil/fe-2972…
MaanilVerma Sep 29, 2026
4fc742c
Merge branch 'maanil/fe-2972-hub-url-map' into maanil/fe-2972-hub-serve
MaanilVerma Sep 29, 2026
0036005
Merge branch 'maanil/fe-2974-one-redirect-list' into maanil/fe-2972-h…
MaanilVerma Sep 29, 2026
93ceff2
fix(website): flag a frozen model slug only when its display name moves
MaanilVerma Sep 29, 2026
f32a6d6
Merge remote-tracking branch 'origin/maanil/fe-2972-hub-url-map' into…
MaanilVerma Sep 29, 2026
da1053e
fix(website): escape every string the model URL map writes
MaanilVerma Sep 29, 2026
d3ebd9b
Merge remote-tracking branch 'origin/maanil/fe-2972-hub-url-map' into…
MaanilVerma Sep 29, 2026
07e7af9
test(website): cover double quotes in model URL map string literals
MaanilVerma Sep 29, 2026
3807c73
Merge remote-tracking branch 'origin/maanil/fe-2972-hub-url-map' into…
MaanilVerma Sep 29, 2026
6040907
ci(website): check Workshop-off page parity under every Models URL root
MaanilVerma Sep 29, 2026
e91961b
fix(website): resolve dist from the models page lister's own location
MaanilVerma Sep 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ apps/website/src/content/workshop-router-aliases.json linguist-generated=true
apps/website/src/data/workshop-router-identity-audit.json linguist-generated=true
apps/website/src/data/workshop-router-openapi.snapshot.json linguist-generated=true
apps/website/src/data/workshop-node-pricing.json linguist-generated=true
apps/website/src/config/model-urls.ts linguist-generated=true
apps/website/MODEL_URL_MAP.md linguist-generated=true
4 changes: 2 additions & 2 deletions .github/workflows/ci-website-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
WEBSITE_ASHBY_JOB_BOARD_NAME: ${{ secrets.WEBSITE_ASHBY_JOB_BOARD_NAME }}
WORKSHOP_IN_BUILD: '0'
run: |
models_pages() { find apps/website/dist/models -name index.html 2>/dev/null | sed "s|.*/dist/||" | sort; }
models_pages() { pnpm --silent --filter @comfyorg/website list:models-pages; }
# dist/ still holds the "Build website" step's Workshop-enabled output.
models_pages > "$RUNNER_TEMP/models-with-workshop.txt"
if [ ! -s "$RUNNER_TEMP/models-with-workshop.txt" ]; then
echo "::error title=No Workshop-enabled baseline::apps/website/dist/models has no pages before the WORKSHOP_IN_BUILD=0 build. Run this step after \"Build website\"."
echo "::error title=No Workshop-enabled baseline::No pages under the Models URL registry's roots before the WORKSHOP_IN_BUILD=0 build. Run this step after \"Build website\"."
exit 1
fi
pnpm --filter @comfyorg/website build
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/model-page-discovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ jobs:
### Next steps

1. Review which of these warrant an SEO model page
2. For local models: run \`SKIP_THUMBNAILS=1 pnpm generate:models\` and commit the result
2. For local models: run \`SKIP_THUMBNAILS=1 pnpm generate:models\` and commit the result (it also regenerates \`vercel.json\` redirects)
3. For partner/API models: add to \`API_PROVIDER_MAP\` in \`generate-models.ts\`, regenerate, commit
4. After hand-editing a \`canonicalSlug\` in \`generated-models.json\`: run \`pnpm sync:redirects\` and commit \`vercel.json\`

---
*Generated by the [model-page-discovery workflow](https://github.com/$GITHUB_REPOSITORY/actions/workflows/model-page-discovery.yaml)*"
Expand Down
1 change: 1 addition & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"apps/website/src/content/**/*.mdx",
"apps/website/src/assets/world-countries.json",
"apps/website/MODELS_TEST_RESULTS.md",
"apps/website/MODEL_URL_MAP.md",
"apps/website/testing/models-test-results.json",
"apps/website/src/content/workshop-display.json",
"apps/website/src/content/workshop-models.json",
Expand Down
415 changes: 415 additions & 0 deletions apps/website/MODEL_URL_MAP.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apps/website/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import vue from '@astrojs/vue'
import tailwindcss from '@tailwindcss/vite'
import { isExcludedFromSitemap } from './src/config/indexing'
import { DEFAULT_LOCALE, LOCALE_CODES } from './src/config/locales'
import { redirects } from './src/config/redirects'
import { astroRedirects } from './src/config/redirects'
import { markdownTwins } from './src/integrations/markdown-twins'
import { workshopReleaseGate } from './src/integrations/workshop-release-gate'
import { sitemapAlternates } from './src/lib/hreflang'
Expand All @@ -20,7 +20,7 @@ export default defineConfig({
// Keep MDX punctuation verbatim; SmartyPants would turn the source's straight
// quotes into curly ones and drift from the rest of the site's copy.
markdown: { smartypants: false },
redirects,
redirects: astroRedirects,
build: {
assets: '_website'
},
Expand Down
3 changes: 2 additions & 1 deletion apps/website/e2e/acceptance/generation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
useOwnInputs
} from '../../acceptance/fixtures'
import { expectedCharge } from '../../acceptance/settings'
import { hubModelHref } from '../../src/config/hub-models'

for (const model of modelCases) {
test(`${model.slug}: defaults, own inputs, advanced settings${model.smoke ? ' @smoke' : ''}`, async ({
Expand All @@ -18,7 +19,7 @@ for (const model of modelCases) {
expectedCharge(model.slug, 'defaults')
expectedCharge(model.slug, 'own')
expectedCharge(model.slug, 'advanced')
await signIn(page, `/models/${model.slug}/`)
await signIn(page, hubModelHref(model.slug))
const defaults = await runAndVerify(
page,
billing,
Expand Down
3 changes: 2 additions & 1 deletion apps/website/e2e/acceptance/purchase.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
liveSettings,
requiredSetting
} from '../../acceptance/settings'
import { hubModelHref } from '../../src/config/hub-models'

const topupDollars = 10

Expand All @@ -34,7 +35,7 @@ for (const model of modelCases.filter((model) => model.smoke)) {
expectedCharge(model.slug, 'own')
const domain = requiredSetting('WORKSHOP_SIGNUP_EMAIL_DOMAIN')
const email = z.string().email().parse(`workshop-${randomUUID()}@${domain}`)
const path = `/models/${model.slug}/`
const path = hubModelHref(model.slug)
await page.goto(path)
await useOwnInputs(page, model)
await page.getByTestId('run-button').click()
Expand Down
5 changes: 2 additions & 3 deletions apps/website/e2e/api-keys-onboarding.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { expect } from '@playwright/test'

import { waitForIsland } from './fixtures/islands'
import { MODEL_PATH, test } from './fixtures/modelsAccount'
import { MODEL_ID, MODEL_PATH, test } from './fixtures/modelsAccount'

const API_KEYS = 'https://platform.comfy.org/profile/api-keys'
const MODEL_SLUG = MODEL_PATH.split('/')[2]

test.describe('API-keys onboarding links @smoke', () => {
for (const { path, label } of [
Expand All @@ -31,7 +30,7 @@ test.describe('API-keys onboarding links @smoke', () => {
await apiTab.click()
await expect(page.getByTestId('api-get-key')).toHaveAttribute(
'href',
`${API_KEYS}?onboarding=models&model=${MODEL_SLUG}`
`${API_KEYS}?onboarding=models&model=${MODEL_ID}`
)
})
})
16 changes: 16 additions & 0 deletions apps/website/e2e/canonical-redirects.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@ test.describe('canonical redirects', () => {
)
})

test('builds each model page at /hub/models and points its old address there', () => {
const canonical =
'rel="canonical" href="https://comfy.org/hub/models/flux-2-max-text-to-image/"'
for (const path of [
'hub/models/flux-2-max-text-to-image',
'models/bfl--flux-2-max--generate-images'
]) {
expect(readFileSync(`dist/${path}/index.html`, 'utf8')).toContain(
canonical
)
}
expect(readFileSync('dist/models/index.html', 'utf8')).toContain(
'rel="canonical" href="https://comfy.org/hub/models/"'
)
})

test('builds the former Enterprise routes with the canonical destination', () => {
for (const { source, destination } of enterpriseCases) {
const redirectPage = readFileSync(`dist${source}/index.html`, 'utf8')
Expand Down
4 changes: 3 additions & 1 deletion apps/website/e2e/fixtures/modelsAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import type {
ExchangeTokenResponse
} from '@comfyorg/ingest-types'

import { hubModelHref } from '../../src/config/hub-models'
import { test as base } from './blockExternalMedia'

export const MODEL_PATH = '/models/bfl--flux-2-max--generate-images/'
export const MODEL_ID = 'bfl--flux-2-max--generate-images'
export const MODEL_PATH = hubModelHref(MODEL_ID)

/** The identity this fixture signs in as, and the workspace its token mints. */
export const MODELS_ACCOUNT_UID = 'e2e-models-user'
Expand Down
16 changes: 12 additions & 4 deletions apps/website/e2e/font-preload.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,23 @@ import { test } from './fixtures/blockExternalMedia'
// that load. It reached a committed visual baseline once: the pricing headline
// and price, the only two elements on that page in the unpreloaded Light face,
// were captured in the fallback while every preloaded weight matched exactly.
const PAGES = ['/', '/pricing', '/download', '/about', '/customers', '/models/']
const PAGES = [
'/',
'/pricing',
'/download',
'/about',
'/customers',
'/hub/models/'
]

for (const path of PAGES) {
test(`every PP Formula face rendered above the fold on ${path} is preloaded`, async ({
page,
context
}) => {
if (path === '/models/') {
if (path === '/hub/models/') {
// The Hub only draws its own toolbar and shelves once Workshop is on;
// with it off, /models/ would hide the faces this case measures.
// with it off, /hub/models/ would hide the faces this case measures.
await context.route('**/t.comfy.org/**', (route) =>
/\/(flags|decide)\//.test(route.request().url())
? route.fulfill({
Expand All @@ -31,7 +38,8 @@ for (const path of PAGES) {
)
}
await page.goto(path)
if (path === '/models/') await page.getByTestId('workshop-hero').waitFor()
if (path === '/hub/models/')
await page.getByTestId('workshop-hero').waitFor()
await page.evaluate(() => document.fonts.ready)

const gaps = await page.evaluate(() => {
Expand Down
4 changes: 2 additions & 2 deletions apps/website/e2e/header-models-navigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ for (const viewport of viewports) {
await expect(desktopLinks).toBeVisible()
await expect(
desktopLinks.getByRole('link', { name: 'Models', exact: true })
).toHaveAttribute('href', '/models')
).toHaveAttribute('href', '/hub/models/')
await expect(menuButton).toBeHidden()
} else {
await expect(desktopLinks).toBeHidden()
Expand All @@ -47,7 +47,7 @@ for (const viewport of viewports) {
await expect(menu).toBeVisible()
await expect(
menu.getByRole('link', { name: /^Models\b/ })
).toHaveAttribute('href', '/models')
).toHaveAttribute('href', '/hub/models/')
}

await expectNoHorizontalOverflow(page)
Expand Down
6 changes: 3 additions & 3 deletions apps/website/e2e/homepage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ test.describe('Homepage @smoke', () => {
await expect(cta).toBeVisible()
await expect(cta).toHaveAttribute(
'href',
'/models/byteplus--seedance-2-5-text-to-video--generate-videos/'
'/hub/models/seedance-2-5-text-to-video/'
)
})

Expand All @@ -56,10 +56,10 @@ test.describe('Homepage @smoke', () => {
section.getByRole('heading', { name: /ready to run/i })
).toBeVisible()
const bytedance = section.getByRole('link', { name: /ByteDance/ }).first()
await expect(bytedance).toHaveAttribute('href', '/models?q=ByteDance')
await expect(bytedance).toHaveAttribute('href', '/hub/models/?q=ByteDance')
await expect(
section.getByRole('link', { name: 'Browse all models' })
).toHaveAttribute('href', '/models')
).toHaveAttribute('href', '/hub/models/')
})

test('FeaturedWorkflowsSection carousel is visible', async ({ page }) => {
Expand Down
14 changes: 7 additions & 7 deletions apps/website/e2e/models-catalogue-corrections.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ test('GPT Image generation pages remain discoverable while disabled edit pages a
await route.fallback()
})
try {
await page.goto('/models/?useCase=generate-images', { waitUntil: 'commit' })
await page.goto('/hub/models/?useCase=generate-images', {
waitUntil: 'commit'
})
await moduleRequested
await expect(page.getByTestId('workshop-search')).toHaveCount(0)
await expect(page.getByTestId('models-loading')).toBeVisible()
Expand All @@ -73,13 +75,11 @@ test('GPT Image generation pages remain discoverable while disabled edit pages a
await expect(card).toHaveAccessibleName(/GPT Image/)
await expect(card.getByRole('img', { name: /GPT Image/ })).toHaveCount(0)
await page.getByRole('link', { name: /GPT Image 1\.5/ }).click()
await expect(page).toHaveURL(
/\/models\/openai--gpt-image-1\.5--edit-images\/$/
)
await expect(page).toHaveURL(/\/hub\/models\/gpt-image-1-5-image-edit\/$/)
await expect(
page.getByRole('textbox', { name: 'Prompt', exact: true })
).toBeVisible()
await page.goto('/models/?useCase=edit-images')
await page.goto('/hub/models/?useCase=edit-images')
await page.getByTestId('workshop-search').fill('gpt image')
await expect(cards).toHaveCount(0)
const disabledPage = await page.goto(
Expand All @@ -92,15 +92,15 @@ test('GPT Image generation pages remain discoverable while disabled edit pages a
test('role-specific pages omit controls that their requests cannot accept', async ({
page
}) => {
await page.goto('/models/vertexai--veo-3--animate-images/')
await page.goto('/hub/models/veo-3-image-to-video/')
await expect(
page.getByRole('group', { name: 'First frame', exact: true })
).toBeVisible()
await expect(
page.getByRole('group', { name: 'Reference images', exact: true })
).toHaveCount(0)

await page.goto('/models/byteplus--seedream-5-pro--generate-images/')
await page.goto('/hub/models/seedream-5-0-pro-text-to-image/')
await expect(
page.getByRole('group', { name: 'Source images', exact: true })
).toHaveCount(0)
Expand Down
4 changes: 2 additions & 2 deletions apps/website/e2e/models-performance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test('catalogue browsing stays within its JavaScript budget', async ({
await page.goto('/')
const shared = new Set((await requestedScripts(page)).map(([name]) => name))

await page.goto('/models/')
await page.goto('/hub/models/')
await page.getByTestId('workshop-search').fill('kling')
await page.getByRole('heading', { level: 1 }).click()
await expect(
Expand All @@ -59,7 +59,7 @@ test('catalogue browsing stays within its JavaScript budget', async ({
test('video cards load on screen and stop playing when scrolled away', async ({
page
}) => {
await page.goto('/models/')
await page.goto('/hub/models/')
await page.getByTestId('workshop-filter').click()
const videos = page.getByTestId('section-generate-videos').locator('video')
await expect.poll(() => videos.count()).toBeGreaterThan(0)
Expand Down
2 changes: 1 addition & 1 deletion apps/website/e2e/models-row-arrows.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { test } from './fixtures/workshopVisibility'
test('the row keeps a keyboard inside it when an arrow is spent', async ({
page
}) => {
await page.goto('/models/')
await page.goto('/hub/models/')
const row = page.locator('div:has(> [data-testid="card-row-arrows"])').first()
const forward = row.getByTestId('card-row-next')
const back = row.getByTestId('card-row-prev')
Expand Down
2 changes: 1 addition & 1 deletion apps/website/e2e/models-sign-in-draft.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { expect } from '@playwright/test'

import { test } from './fixtures/modelsAccount'

const path = '/models/byteplus--seedream-4-5--edit-images/'
const path = '/hub/models/seedream-4-5-image-edit/'

for (const { entry, randomUUID, failRead } of [
{ entry: 'playground', randomUUID: true, failRead: false },
Expand Down
2 changes: 1 addition & 1 deletion apps/website/e2e/router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test.describe('Router page @smoke', () => {
).toHaveAttribute('href', /\/models\/google\/nano-banana-pro\/code$/)
await expect(
coverage.getByRole('link', { name: /^Browse all \d+ models$/ })
).toHaveAttribute('href', '/models')
).toHaveAttribute('href', '/hub/models/')
})

test('adds the chosen provider to the code sample', async ({ page }) => {
Expand Down
3 changes: 2 additions & 1 deletion apps/website/e2e/workshop-acceptance-inputs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { modelCases } from '../acceptance/cases'
import { useAdvancedInputs, useOwnInputs } from '../acceptance/fixtures'
import { signIn } from './fixtures/buyCredits'
import { test } from './fixtures/modelsAccount'
import { hubModelHref } from '../src/config/hub-models'

test.beforeEach(async ({ context, page, modelsAccount }, testInfo) => {
await context.route(
Expand Down Expand Up @@ -58,7 +59,7 @@ for (const model of modelCases) {
test(`${model.slug}: acceptance inputs reach the generation request`, async ({
page
}, testInfo) => {
await page.goto(`/models/${model.slug}/`)
await page.goto(hubModelHref(model.slug))
await useOwnInputs(page, model, testInfo.outputDir)
await useAdvancedInputs(page, model)
const submitted = page.waitForRequest(
Expand Down
2 changes: 1 addition & 1 deletion apps/website/e2e/workshop-apps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test('lists both apps in the catalogue Apps tab, on /models/apps/ pages', async
context
}) => {
await mockFlags(context, { apps: true, workflows: false })
await page.goto('/models/?type=apps')
await page.goto('/hub/models/?type=apps')
const shelf = page.getByTestId('app-shelf')
const cards = shelf.getByRole('link')
await expect(cards).toHaveCount(2)
Expand Down
3 changes: 2 additions & 1 deletion apps/website/e2e/workshop-delivery.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { z } from 'zod'
import availability from '../src/data/workshop-model-availability.json' with { type: 'json' }
import { workshopModelAvailabilitySchema } from '../src/config/workshop-model-availability-schema'
import { test } from './fixtures/modelsAccount'
import { hubModelHref } from '../src/config/hub-models'

test.use({
launchOptions: { args: ['--disable-blink-features=AutomationControlled'] }
Expand Down Expand Up @@ -87,7 +88,7 @@ test(
.fill(modelsAccount.password)
await page.getByRole('button', { name: 'Sign in', exact: true }).click()
await expect(page).toHaveURL('/')
await page.goto(`/models/${slug}/`)
await page.goto(hubModelHref(slug))
await expect(page.getByTestId('run-button')).toBeEnabled()
await page.getByTestId('run-button').click()
await expect(page.getByTestId('playground-output')).toHaveAttribute(
Expand Down
3 changes: 2 additions & 1 deletion apps/website/e2e/workshop-file-read.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { expect } from '@playwright/test'

import { workshopModelAvailabilitySchema } from '../src/config/workshop-model-availability-schema'
import { test } from './fixtures/modelsAccount'
import { hubModelHref } from '../src/config/hub-models'

const scenarios = [
{
Expand Down Expand Up @@ -98,7 +99,7 @@ for (const { name, models, field, inputField, result } of scenarios) {
.fill(modelsAccount.password)
await page.getByRole('button', { name: 'Sign in', exact: true }).click()
await expect(page).toHaveURL('/')
await page.goto(`/models/${enabledModel}/`)
await page.goto(hubModelHref(enabledModel))
await expect(page.getByTestId('run-button')).toBeVisible()
const source = page.getByTestId(`field-group-${field}`)
for (const remove of await source
Expand Down
4 changes: 1 addition & 3 deletions apps/website/e2e/workshop-frame-ratio.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ test('Seedance first/last frame warns about the stretch only while the shapes di
}
})

await page.goto(
'/models/byteplus--seedance-2-5-first-last-frame--animate-images/'
)
await page.goto('/hub/models/seedance-2-5-first-last-frame/')
const group = (name: string) => page.getByRole('group', { name, exact: true })
const upload = (name: string) => group(name).getByLabel(name, { exact: true })
const first = upload('First frame')
Expand Down
Loading
Loading