Compare commits

...

1 Commits

Author SHA1 Message Date
Nathaniel Parson Koroso
e5074c999d test(website): expect 6 cloud model cards and refresh home product-cards baselines
The website e2e job has failed on every main push since #13431 and
#13445 landed:

- #13431 added the sixth AI model card (GPT Image 2) to /cloud but left
  cloud.spec.ts asserting toHaveCount(5).
- #13431 and #13445 were split from one branch and each regenerated the
  home-product-cards baselines against its own branch state (#13431
  without the button label centering, #13445 without the ProductCard
  Button CTA), so merged main matches neither.

Bump the model card count to 6 and regenerate the four
home-product-cards baselines against merged main inside the CI image
(mcr.microsoft.com/playwright:v1.58.1-noble, linux/amd64). The
regenerated PNGs are sha1-identical to the actual renders CI produced
at 747f76db7, and the full website e2e suite passes locally in that
container.
2026-07-07 15:28:58 -07:00
5 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ test.describe('Cloud page @smoke', () => {
}
})
test('AIModelsSection heading and 5 model cards are visible', async ({
test('AIModelsSection heading and 6 model cards are visible', async ({
page
}) => {
const heading = page.getByRole('heading', { name: /leading AI models/i })
@@ -49,7 +49,7 @@ test.describe('Cloud page @smoke', () => {
const section = heading.locator('xpath=ancestor::section')
const grid = section.locator('.grid')
const modelCards = grid.locator('a[href="https://comfy.org/workflows"]')
await expect(modelCards).toHaveCount(5)
await expect(modelCards).toHaveCount(6)
})
test('AIModelsSection CTA links to workflows', async ({ page }) => {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 88 KiB