Files
supabase/e2e/studio/features/home.spec.ts
Ali Waseem 3f6f8aa906 Fix: Use storage API for downloading files in the Dashboard (#40592)
* added ability to download files from storage api directly

* updated to rechange size

* updated test methods

* updated test suite

* updated tests

* updated to remove loops

* removed AI slop

* Updated to use single API key in mem

* Fix the memoization of the getOrRefreshTempApiKey function.

* updated imports

* updated imports

* updated to use import meta

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-11-19 11:56:04 -07:00

14 lines
499 B
TypeScript

import { expect } from '@playwright/test'
import { test } from '../utils/test.js'
import { toUrl } from '../utils/to-url.js'
test.describe('Project', async () => {
test('Can navigate to project home page', async ({ page, ref }) => {
await page.goto(toUrl(`/project/${ref}`))
// The home page has 2 variants (classic and new). Both render an H1 heading.
// Assert on a stable, variant-agnostic selector.
await expect(page.getByRole('heading', { level: 1 })).toBeVisible()
})
})