Skip to content

Commit

Permalink
Merge pull request #1 from luhmann/add-e2e-tests
Browse files Browse the repository at this point in the history
Add E2E-Tests
  • Loading branch information
luhmann committed Mar 18, 2018
2 parents bc82250 + 4ad5b35 commit 3a4e335
Show file tree
Hide file tree
Showing 20 changed files with 1,866 additions and 42 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ npm-debug.log
*.bs.js
build
yarn-error.log
cypress/screenshots
cypress/videos
2 changes: 2 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
singleQuote: true
trailingComma: "es5"
14 changes: 5 additions & 9 deletions TECHINCAL_DEBT.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
## Write more components

* [-] Links
* [-] Tags (ABV, IBU, etc)
* [x] Links
* [ ] Tags (ABV, IBU, etc)
* [ ] Paragraphs

## Images

Images are not under my control but are potentially huge, they are all loaded right away, which is bad
especially on mobile. Consider:

* Proxying images over a scaling server
* Using lazy-loading

## Tests

* Go for cypress tests with mocked backend
* Tryout https://github.com/bahmutov/cypress-react-unit-test
* Proxying images over a scaling server
* Using lazy-loading
3 changes: 3 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"baseUrl": "http:https://localhost:8080"
}
Loading

0 comments on commit 3a4e335

Please sign in to comment.