aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cypress
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine CV pageArmand Philippot2023-11-291-2/+29
| | | | | | * reduce the number of statements by grouping the messages * remove LinkedIn from the widget (it is obviously not a repo and my CV is already here, no need to link to an external site)
* refactor(pages): improve HomepageArmand Philippot2023-11-291-1/+26
| | | | | | | | | * move custom homepage components that does not require props to the MDX file (links should not need to be translated here but where they are defined) * move SEO title and meta desc to MDX file * make Page component the wrapper instead of using a React fragment * fix MDX module types
* test: fix most of the e2e tests errorsArmand Philippot2023-11-155-33/+57
| | | | | | | | | * back-to-top test is not working: for some reasons, the link only appears when manually scrolling * search test has failure test: it seems the page meta is too long to load Anyway, the pages will be refactored and the e2e should also be refactored. But the back to top test remains problematic...
* refactor(hooks): remove useSettings hookArmand Philippot2023-11-152-6/+6
| | | | | | | It does not make sense to re-export an existing object through a hook. On some pages both the hook and the object was imported... It is better to use the CONFIG (previously settings) object directly and by doing it we avoid potential errors because of conditional hooks.
* refactor(routes): replace hardcoded routes with constantsArmand Philippot2023-10-246-32/+52
| | | | | | | | It makes it easier to change a route if needed and it avoid typo mistakes. I also refactored a bit the concerned files to be complient with the new ESlint config. However, I should rewrite the pages to reduce the number of statements.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-192-2/+2
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* test(e2e): add settings form testArmand Philippot2022-06-031-0/+177
|
* test(e2e): add other pages testArmand Philippot2022-06-034-0/+27
| | | | | Sometimes a build can be successful but the page is not working, so these tests allows me to check if the page is correctly loaded.
* test(e2e): add contact page testArmand Philippot2022-06-031-0/+41
|
* test(e2e): add loading more button test for blog pageArmand Philippot2022-06-031-0/+44
|
* test(e2e): add back to top button visibility testArmand Philippot2022-06-021-0/+14
|
* test(e2e): add search feature testArmand Philippot2022-06-021-0/+41
|
* test(e2e): add Footer navigation testArmand Philippot2022-06-021-0/+12
|
* test(e2e): add main navigation testArmand Philippot2022-06-021-0/+62
|
* test: install and configure cypressArmand Philippot2022-06-025-0/+63
I also configure Jest to avoid conflicts between Cypress and Jest.