September 2018
Intermediate to advanced
764 pages
20h 6m
English
First, in the Gherkin specifications and Cucumber code, update anything related to passwords to use digests instead; this includes both the step description, step definitions, and sample data. For example, you may make the following changes in the E2E tests for the Bad Client Requests scenario of the Create User feature:
--- a/spec/cucumber/features/users/create/main.feature+++ b/spec/cucumber/features/users/create/main.feature@@ -34,9 +34,9 @@ Feature: Create User Examples:- | missingFields | message |- | email | The '.email' field is missing |- | password | The '.password' field is missing |+ | missingFields | message |+ | email | The '.email' field is missing |+ | digest | The '.digest' field is missing |
Read now
Unlock full access