Lossing anonymous user input data problem after preview page returns back to the data submission form #18945
jamesdrupal9
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to write a cypress test case about a submission form for the anonymous user.
The test case runs 4 steps below. It fails at the step 4 because all input data in the submission form is gone after the anonymous user finishes the preview page in Cypress . Do you know how to keep the user input data in the submission form?
Step 1) Input data into all fields of a submission form as an anonymous user
Step 2) Click the preview button to preview the data in the preview page
Step 3) Click the "back edit link" button in the preview page
Step 4) Check the existing data in the submission form
All existing user input fields are empty in the submission form.
I have tested the same test case in Behat automated tool, which is able to keep the user data.
Could you please advise how i should do in Cypress?
Beta Was this translation helpful? Give feedback.
All reactions