Skip to content

lonely-caat/cypress-e2e-with-email-verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Thought Process

  1. Of course the best scenario would be to run the tests in the CICD pipeline, depending on the project (frequency of releases, frequency of code commits, team composition) we would run it either on each change or on a recurring basis.
  2. I've implemented logic to check the email in my tests, but for production I would love to share my ideas on the next interview:)
  3. we can run the same scenarios via methods I've added into BasePage, we can feed our tests with different screen sizes, but for actual device testing we should stick to Selenium

TODO

  1. Depending where this test repo will be located (separate or as a part of the UI functionality) we might need to add other functionality like e.g. linters
  2. Depending on the project details we might also break our e2e test into smaller chunks (e.g. more it-s)
  3. We might also add more comments/blocks of text for test cases if we have juniors working on our tests as well
  4. We would also need to implement different envs handling (with e.g. cyenv or .env)
  5. I went with static methods just as a showcase, in real world scenarios we would still need to follow the classic constructor classes

Installation

yarn install

Running locally

cy:open  --> e2e Testing 

About

A sample e2e test setup with email verification w/ mailslurp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published