fix(auth): allow password managers to pre-fill input fields (#9390)
HTML disallows having multiple IDs with the same value. In reality this is for 1Password's feature where you can create custom fields named like input IDs and 1Password fill pre-fill that.
This commit is contained in:
@@ -20,7 +20,7 @@ describe("Security: CSS Sequential Import Chaining", () => {
|
||||
cy.visit("/?url=/documents/petstore-expanded.openapi.yaml")
|
||||
.get(".scheme-container > .schemes > .auth-wrapper > .btn > span")
|
||||
.click()
|
||||
.get("div > div > .wrapper > .block-tablet > #client_id")
|
||||
.get("div > div > .wrapper > .block-tablet > #client_id_implicit")
|
||||
.clear()
|
||||
.type("abc")
|
||||
.should("not.have.attr", "value", "abc")
|
||||
@@ -48,7 +48,7 @@ describe("Security: CSS Sequential Import Chaining", () => {
|
||||
cy.visit("/?url=/documents/petstore.swagger.yaml")
|
||||
.get(".scheme-container > .schemes > .auth-wrapper > .btn > span")
|
||||
.click()
|
||||
.get("div > div > .wrapper > .block-tablet > #client_id")
|
||||
.get("div > div > .wrapper > .block-tablet > #client_id_implicit")
|
||||
.clear()
|
||||
.type("abc")
|
||||
.should("not.have.attr", "value", "abc")
|
||||
|
||||
Reference in New Issue
Block a user