Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable passing tests #41241

Merged
merged 2 commits into from Oct 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/e2e/app-dir/index.test.ts
Expand Up @@ -259,7 +259,7 @@ describe('app dir', () => {

describe('rewrites', () => {
// TODO-APP: rewrite url is broken
it.skip('should support rewrites on initial load', async () => {
it('should support rewrites on initial load', async () => {
const browser = await webdriver(next.url, '/rewritten-to-dashboard')
expect(await browser.elementByCss('h1').text()).toBe('Dashboard')
expect(await browser.url()).toBe(`${next.url}/rewritten-to-dashboard`)
Expand Down Expand Up @@ -826,7 +826,7 @@ describe('app dir', () => {

describe('next/router', () => {
// `useRouter` should not be accessible in server components.
it.skip('should always return null when accessed from /app', async () => {
it('should always return null when accessed from /app', async () => {
const browser = await webdriver(next.url, '/old-router')

try {
Expand Down