A kata project to practice an effective automation testing in Nextjs
The app enables its users to solve air traffic control riddles in favour to be always up-to-date with important knowledge about the domain.
This is a Next.js project bootstrapped with create-next-app.
Run the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result.
The auto-updates are enabled in favour to see made code changes as you edit files.
The project is configured for different types of tests.
Unit tests (vitest) will execute files matching __tests__/*.test.ts pattern:
pnpm test:unitIntegration tests (cypress) will pick files matching __tests__/*.e2m.ts pattern:
pnpm test:e2mℹ For integration tests, the app shall be compiled and running with the NEXT_PUBLIC_PHASE=test environmental variable.
-
Fork this aero-logic2 kata to your GitHub account:
Here's how: https://docs.github.com/…/fork-a-repo -
Give me access to your
aero-logic2kata fork:
Settings > Collaborators > Manage Access > Add people > niksumeiko
Here's how: https://docs.github.com…/inviting-collaborators-to-a-personal-repository -
Navigate into your local mentorship repository
The one we run discussions in -
Add your fork of the
aero-logic2kata as a submodule
Here're more details, if necessary: https://github.blog/open-source/git/working-with-submodules
$ submodule add [email protected]:YOUR_GITHUB_USERNAME/aero-logic2.git- Commit and push changes to your local mentorship repository
ℹ️ If you want, you can make a fork of the
aero-logic2repo private. From our collaboration perspective, it doesn't matter whether it's public or private because we both will have access to your fork (even if it's private).