mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 22:18:00 +08:00
* 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>
14 lines
499 B
TypeScript
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()
|
|
})
|
|
})
|