Keep passwords secret in E2E tests

1 ยท Gleb Bahmutov ยท Dec. 1, 2019, 5 a.m.
Summary
Visible passwordDo not hardcode passwordsValidate passwordAvoid UI loginContinuous integrationPluginsConclusionsNote: source code for this blog post is the repository bahmutov/keep-password-secret.Visible passwordImagine we have a password-protected web application. For example I have cloned passport/express-4.x-local-example - you need to enter login and password to see your personal profile. We can easily write an end-to-end test for this application using Cypress test runner.cypress/integrati...