Feature: Auto-fill phone number on step 4

User Story

As a returning seller,
I want my previously entered phone number to be automatically pre-filled
So that I don’t have to re-enter it every time I submit a bag for sale.

Scenario: Pre-fill phone number field on return visit
Given I am a logged-in user
And I have previously submitted a bag for sale
And I entered my phone number in the submission form
When I go to http://saclab.com/sell to submit another bag
Then the phone number field should be pre-filled with my last used phone number

Screenshot 2025-05-29 at 12.40.38.png

Scenario: No phone number stored
Given I am a logged-in user
And I have never submitted a phone number before
When I go to http://saclab.com/sell
Then the phone number field should be empty

Scenario: Update phone number on new submission
Given I am a logged-in user
And I submit a new bag with a different phone number
When the submission is completed
Then the new phone number should replace the previously saved number for future autofill

Comments

Leave a Reply