View Code? Open in Web Editor
NEW
This project forked from eritikass/tpt-test-21-11-19
tpt-test-21-11-19's Introduction
- fork git repository
- git clone your fork
- install npm packages
npm ci
- testing:
- create merge/pull request from your fork
- You can make tasks in any order
- lines marked with bonus are optional (and much harder)
- Test neti.ee
- open http://neti.ee
- test that contains word "Äri ja Reisimine"
- open "Äri ja Reisimine" -> "Post"
- test that contains word "Kullerteenused"
- test that page title is correct
- make screenshot
- open "DHL Estonia"
- test title
- make screenshot
- bonus: check that domain of the page is now
www.logistics.dhl
- Test Eesti Päevaleht
- open https://epl.delfi.ee
- test that page title is Eesti Päevaleht
- make screenshot
- test that "ARVAMUSVEEB" is present
- test that "TOIMETAJA VALIK" is present and contains at-least 2 articles
- open "FAKTIKONTROLL"
- test that article list contains word "FAKTIKONTROLL"
- bonus: test that title of every article contains word "FAKTIKONTROLL"
- search word "kass"
- make screenshot
- Test nightwatchjs.org
- open https://nightwatchjs.org/
- open "API Reference"
- scroll to "assert.urlEquals"
- make screenshot
- bonus: test that assert.urlEquals has 2 Parameters
- Add project linter using eslint
- 2 spaces for indent
- use
'
instead of "
- all lines end with semicolon
- fix all errors
- command to run linter:
npm run lint
- add git hook to run linter locally each time you commit new code (you can use husky or any tool you like)
tpt-test-21-11-19's People
Contributors