Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
4 changes: 4 additions & 0 deletions exercises/02.accessibility/01.problem.labels/app/routes/$.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
4 changes: 4 additions & 0 deletions exercises/02.accessibility/02.problem.aria/app/routes/$.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
4 changes: 4 additions & 0 deletions exercises/02.accessibility/02.solution.aria/app/routes/$.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
4 changes: 4 additions & 0 deletions exercises/02.accessibility/03.problem.focus/app/routes/$.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
4 changes: 4 additions & 0 deletions exercises/02.accessibility/03.solution.focus/app/routes/$.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export async function loader() {
throw new Response('Not found', { status: 404 })
}

export async function action() {
throw new Response('Not found', { status: 404 })
}

export default function NotFound() {
// due to the loader, this component will never be rendered, but we'll return
// the error boundary just in case.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { test, expect } from '@playwright/test'

test('can visit the home page', async ({ page }) => {
await page.goto('/')
await expect(page.getByText('Hello World')).toBeVisible()
await expect(page.getByRole('heading', { name: 'Epic Notes' })).toBeVisible()

// TODO: figure out how to assert the favicon was loaded
})

test('returns 404 for POST requests to unmatched routes', async ({ request }) => {
const response = await request.post('/connectors/resource/index.php')
expect(response.status()).toBe(404)
})
Loading
Loading