diff --git a/src/App.tsx b/src/App.tsx index 7e05ada..e4dc409 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -24,6 +24,9 @@ function App() {
Edit src/App.tsx and save to test HMR
Click on the Vite and React logos to learn more diff --git a/tests/example.spec.ts b/tests/example.spec.ts index 9462a8b..fa15d5d 100644 --- a/tests/example.spec.ts +++ b/tests/example.spec.ts @@ -8,5 +8,6 @@ test('has title', async ({ page, context }) => { await page.goto('/') // Expect a title "to contain" a substring. await expect(page).toHaveTitle("Vite + React + TS"); + await expect(page.getByText('Testing this out with SHTEVE')).toBeDefined() });