Use npx open cypress
to open cypress
If that doesn't work, please make sure you have nvm add 18
and npm use 18
on there.
The app lives in introdemo.
General process to manipulate this is:
- clone the repository using
git clone https://github.com/alexjoel42/Selector_Practice.git
- Use
npm install
to get the packages installed inside of introdemo - Use
npm run dev
inside of introdemo - Use
git checkout -b "name of branch"
to branch off of it - Edit and
npm run dev
to edit accordingly - Use
git status
after you add something to check what you added against the main repo - Use
git add .
to add all the things - Use
git commit -m "insert message here"
to commit - Use
git push
to push to your branch - Then I'll merge the PR :) .
- If you notice that you're getting
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Then it's a good time to potentially git rebase. Somebody might've made a commit to main while you were hanging. Avoid this by working on a different branch
- If you are just here to vibe and click on things, just run
npx open cypress
within the topmost directory after cloning (steps 1-2) and start playing around with the spec.cy.js file.
Challenges could be:
- Making clickButtonUntil(targetCount) into a .cy.js function and importing it
- Seeing if you could do cross-origin shenangins
- Selecting Heading 1 with a link and conquering cross origin