Skip to content

Pin the save-from-a-page path - #17

Open
iamrraj wants to merge 1 commit into
mainfrom
test/save-prompt-guard
Open

iamrraj wants to merge 1 commit into
mainfrom
test/save-prompt-guard

Conversation

@iamrraj

@iamrraj iamrraj commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Asked whether saving a password from a website still worked after the item form was rebuilt. It did — but the only coverage was an end-to-end test asserting the prompt appears, and "the prompt appeared" is not "the password was saved".

Two tests now cover what matters: a credential submitted on a page becomes a usable login and is offered back to the site it came from, and it carries a revision counter.

The second is the subtle one — an entry created by the save prompt without a counter would look unchanged to every future merge and never propagate to another device.

The form and the save prompt are different code paths, which is exactly why a change to one is the kind that quietly takes the other with it.

Asked whether saving a password from a website still worked after the item
form was rebuilt. It did — but only the end-to-end test asserting the prompt
appears covered it, and "the prompt appeared" is not "the password was
saved".

Two tests now cover what actually matters: a credential submitted on a page
becomes a usable login and is offered back to the site it came from, and it
carries a revision counter. The second is the subtle one — an entry created
by the save prompt without a counter would look unchanged to every future
merge and never propagate to another device.

The form and the save prompt are different paths, which is exactly why a
change to one is the kind that quietly takes the other with it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant