Testing RealWorldApp with Cypress and TypeScript
- Clone https://github.com/iljapavlovs/realworld-nx-nestjs-angular.
- Follow instructions from its
README.md
. - Open your browser at http://localhost:4200 to confirm that the app is up and running.
- Restore DB dump to seed test data:
cat backup.sql | docker exec -i realworld-nx-nestjs-angular_database_1 /usr/bin/mysql -u root --password=root db
- Login to RealWorld test app with
test@test.com/test
to check that data was seed correctly.
You may run tests with 'npm test'
-[x] Add extra check for article to appear in Global Feed. -[x] Improve code readability by moving checks and actions to specific commands. -[ ] Add cleanup method. -[ ] Configure linters. -[ ] Set up a single compose file for setting up test environment.