Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/e2e/tests/home.spec.ts |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/e2e/tests/home.spec.ts |
| Original SHA-256 | 2ed67d02ca98f6f127eac419887c8f2cda3b9852ec74cc0a0d7fdc868324efbb |
| Git blob SHA | 59c590fb0eb8c8a9584a140e980e1d3dbc0caecc |
| Reading-copy SHA-256 | 2ed67d02ca98f6f127eac419887c8f2cda3b9852ec74cc0a0d7fdc868324efbb |
Recovered source transcript
Download complete source text ↓18 lines · 0.5 KB
import { expect, test } from '@playwright/test'
test.describe('Homepage', () => {
test('should load successfully', async ({ page }) => {
// Navigate to the homepage
await page.goto('/')
// Wait for the page to be fully loaded
await page.waitForLoadState('domcontentloaded')
// Verify that we're on the homepage by checking the URL
expect(page.url()).toBe('http://localhost:3000/')
// Check if the page is accessible
expect(await page.title()).toBeTruthy()
})
})