Compare commits
1 Commits
codex/fix-
...
nathaniel/
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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
|
|
|
@@ -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 }) => {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 88 KiB |