-
Notifications
You must be signed in to change notification settings - Fork 86
chore: add Next.js e2e tooling #1773
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
Conversation
✅ Deploy Preview for netlify-plugin-nextjs-nx-monorepo-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for netlify-plugin-nextjs-next-auth-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for next-plugin-edge-middleware ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for netlify-plugin-nextjs-static-root-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for next-i18next-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for nextjs-plugin-custom-routes-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for netlify-plugin-nextjs-export-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for next-plugin-canary ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for netlify-plugin-nextjs-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
994a1b0
to
1cac95e
Compare
1cac95e
to
22a638b
Compare
❌ Deploy Preview for nextjs-plugin-next-11-demo failed.
|
f7e43e2
to
ca1c8e9
Compare
ca1c8e9
to
7dca0cd
Compare
console.log(`Using Netlify CLI version:`, res.stdout) | ||
} catch (_) { | ||
console.log(`Installing Netlify CLI`) | ||
await execa('npm', ['i', '-g', 'netlify-cli@latest'], { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we use yarn to install this as we're using yarn above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is a global install, so it doesn't really matter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So excited for this! Just one question, but otherwise the code you added LGTM
Summary
Adds test tooling to allow us to run e2e tests from the Next.js monorepo. Most of the changes in this PR are files copied from the Next.js monorepo. See next section for details.
Test plan
The following directories do not need reviewing:
test/e2e/getserversideprops
: test and fixture site copied from Next.js monorepotest/e2e/next-test-lib
excepttest/e2e/next-test-lib/next-modes/next-deploy.ts
This e2e test is failing because it's caught a bug already! Issue: #1776 Fix: #1780
Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal
Standard checks:
🧪 Once merged, make sure to update the version if needed and that it was published correctly.