This is a simple HTML+JS To-Do app built for automation test candidates. It has basic features like adding, completing, and deleting tasks. Your challenge is to write automated tests for this app using JavaScript.
You can run the app in two ways:
Just open the index.html
file in your browser.
If you have Node.js installed:
npx serve
Or install globally:
npm install -g serve
serve .
Then go to: http://localhost:3000
- Add task
- Mark task as completed
- Delete task
- Tasks appear dynamically in a list
Your job is to write test automation for this app using Typescript/Javascript and Cypress, Playwright, or WebdriverIO (This will depend on the role, please ask our Team which one to use).
- Open the app
- Add a new task
- Verify it appears in the list
- Mark the task as completed and check
.completed
class is added - Delete the task and verify it's removed from the list
- Use at least one utility/helper function
- Clean, readable JavaScript
- Basic assertions
- A useful README
- Good selector strategy
- Test reusability
- Extra validations
- Production Checklist
- Tooling best practice
- Show us your work through your commit history
- Looking for you to produce working code, with enough room to demonstrate how you would structure a real-project
- Completeness: did you complete the requirements?
- Correctness: does the functionality act in sensible, thought-out ways?
- Maintainability: is it written in a clean, maintainable way?
Make sure to include all source code in the repository.
Please organisee, design and document your code as if it were going into production - then push your changes to the main branch. After you have completed everything please share a link with our Team.
Have fun building! 🚀
The Terem Technologies Team