5 |
6 | ----
7 | ### What was done:
8 | - [x] implement responsive design (mobile first) [DEMO https://keleya.netlify.app/](https://keleya.netlify.app/)
9 | - [x] add translation EN/DE
10 | - [x] store email/password in localStorage
11 | - [x] E2E screenshot tests
12 |
13 | ### Want to change translation manually DE/EN?
14 | - http://localhost:3002/?lng=en
15 | - http://localhost:3002/?lng=de
16 |
17 | ### Reset password flow
18 | - `$ yarn start`
19 | - Forgot password page [http://localhost:3002/](http://localhost:3002/)
20 | - Email sent page [http://localhost:3002/email-sent](https://keleya.netlify.app/email-sent)
21 | - Choose New Password page [http://localhost:3002/choose-new-password](http://localhost:3002/choose-new-password)
22 | - Change Password page [http://localhost:3002/change-password](http://localhost:3002/change-password)
23 | - Success page [http://localhost:3002/success](http://localhost:3002/success)
24 |
25 | -----
26 |
27 | ### How to run screenshot comparison E2E tests:
28 |
29 | 
30 |
31 | - `$ yarn cypress:run`
32 | - find failed screen into `__diff_output__` folder:
33 | ```
34 | Cypress
35 | ├── integration
36 | │ ├── screenshot-tests.spec.ts
37 | │ ├── snapshots
38 | │ │ └── screenshot-tests.spec.ts
39 | │ │ ├── __diff_output__
40 | │ │ │ └── ... navigate to forgot password page.snap.png
41 | │ │ └── ... forgot password page.snap.png
42 | ```
43 | - more info here [cypress-image-snapshot](https://github.com/jaredpalmer/cypress-image-snapshot) npm library
44 |
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 |