Commit Graph

23 Commits

Author SHA1 Message Date
Benedikt Rötsch
3a6886e4f8 test(e2e): add dev script which uses interactive cypress 2018-01-03 11:10:24 +01:00
Benedikt Rötsch
60a94f0b1e test(integration): adjust for new content and settings 2017-12-14 18:25:38 +01:00
Benedikt Rötsch
e5a8828aa1 test(e2e): pass language to tests 2017-12-14 18:22:16 +01:00
Benedikt Rötsch
e9e15b0bc2 test(e2e): run all specs, not only one specific 2017-12-12 14:38:09 +01:00
Benedikt Rötsch
d1b1d507bc test(e2e): replace integrated tests with standalone repository 2017-12-12 13:43:35 +01:00
Khaled Garbaya
b456500c9f feat: Minor fixes (#73)
* feat: Address JPs Feedback

* fix: settings config

* fix: fix tests
2017-11-30 12:46:30 +01:00
JP
c91c141bb1 Change modal text; add link to model's repo to localization files (#57) 2017-11-09 15:54:12 +01:00
Benedikt Rötsch
f3c145fef5 tests(e2e): expect only 2 courses 2017-11-09 13:22:08 +01:00
Benedikt Rötsch
67b5d09a5c Fix breadcrumb and add test for locales (#49)
* test(unit): add test to check for locale consistency

* fix(breadcrumb): translate lessons route
2017-11-09 11:25:02 +01:00
Benedikt Rötsch
767a1e8a46 test(e2e): adjust tests and make them fail on CI 2017-11-09 11:01:45 +01:00
David Litvak Bruno
81577c82fd Enhance Breadcrumbs (#39)
* chore(localization): remove duplicated locale files

* feat(localization): add localization for breadcrumbs

* feat(localization): add beadcrumb enhancements

* feat(debugging): add npm run debug command

* chore(localization): add unit tests

* chore(breadcrumbs): fix tests and typos

* chore(localization): add docs for translationAvailable

* chore(localization): refactor translationAvailable
2017-11-08 15:39:24 +01:00
Khaled Garbaya
d5ac23e3db test: Fix integration test 2017-11-08 10:41:12 +01:00
David Litvak
68a8052bdf feat(localization): add localization for static strings 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
eaec09a594 test(e2e): fix twitter card test 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
f2f2a79670 test(rebase): adjust tests from rebase and glue them together 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
1e271656de test(e2e): adjust tests to fit refactored version of the app 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
bd9e29b6eb test(e2e): add end to end tests via cypress.io 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
7ad2c1fa4f refactor: Cleanup (#21)
* refactor(routes): remove unused sitemap route

* style(comments): enforce consistent comment style

* style(exports): enforce consistent export style

* chore: Add jsDoc for contentful service

* chore: Add jsDoc for contentful service \n \n closes #23

* refactor(app): move query parameter comment to right position and mention comment route middleware

* test(npm): add temporary test script

* refactor(middlewares): split up bootstrap middleware - fixes #23759

* refactor(cookies): use constances to give context the maxAge cookie setting

* refactor(variables): use more descriptive names for variables

* space became spaceId when it was just the id not the full space instance
* all (access) token variable name variants became [api-type]Token
* all clients are now called deliveryClient or previewClient
* cpa and cda only remain when they are used as actual API id
* env variables names adjusted

* perf(helpers): only run marked when content is not empty

* refactor(comments): fix typos

* refactor(comments): add hint why error is logged to console in settings

* chore: Add comments to routes and services

* refactor(requires): order and group requires

* fix(settings): add validation for wrong preview token

* chore: Add comments to routes

* chore: fix typo

* chore: console.error -> throw

* chore: move cookie name to a constant

* chore: Fix app.js comment

* typo: removing t

* chore: typos

* chore: removed unnecessary comment line sign

* chore: newline for readabillity

* chore: remove dangling `t`

* chore: remove `t`, add `l`

* chore: typos

* Fleshed out title

* build(npm): remove unused dependencies

* build(npm): upgrade to latest stable contentful sdk

* chore: Addressing David feedbak

* fix(credentials): update to match the new space

* chore: Addressing code review comments

* chore: Addressing code review comments

* chore: res -> response, req-> request

* chore: include exactly what we need

* chore: Address JPs comments

* chore: Address JPs comments

* chore: Address Fredericks comments

* chore: Address Fredericks comments

* fixup! chore: Address Fredericks comments

* fixup! fixup! chore: Address Fredericks comments

* fixup! fixup! fixup! chore: Address Fredericks comments

* fixup! fixup! fixup! fixup! chore: Address Fredericks comments

* fixup! fixup! fixup! fixup! fixup! chore: Address Fredericks comments

* fixup! fixup! fixup! fixup! fixup! fixup! chore: Address Fredericks comments
2017-11-07 17:33:32 +01:00
Khaled Garbaya
b6ae3f9f07 test: Add unit test (#20) 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
bc73f3eec7 test(integration): test settings form and settings cookie 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
a5a23b4ea9 test(integration): add rudimentary test for settings 2017-11-07 17:33:32 +01:00
Benedikt Rötsch
4b6b355790 test(integration): fix course urls to make integration tests work again 2017-11-07 17:33:32 +01:00
Khaled Garbaya
d7654bb9bf test: add integration test 2017-11-07 17:33:32 +01:00