diff options
Diffstat (limited to 'browser/extensions/formautofill/test/fixtures/third_party/Staples')
4 files changed, 431 insertions, 0 deletions
diff --git a/browser/extensions/formautofill/test/fixtures/third_party/Staples/Basic.html b/browser/extensions/formautofill/test/fixtures/third_party/Staples/Basic.html new file mode 100644 index 0000000000..cf9e892cb2 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/Staples/Basic.html @@ -0,0 +1,117 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta name="generator" content="HTML Tidy for HTML5 for Mac OS X version 5.4.0"> + <title>It's easy to find the Office Supplies, Copy Paper, + Furniture, Ink, Toner, Cleaning Products, Electronics and the + Technology you need | Staples®</title> + <meta content="checkout" name="PageName"> + <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> + <meta content="noindex,follow" name="robots"> + <meta content="Shop Staples® for everyday low prices and get everything you need for a home office or business. Staples Rewards� members get free shipping every day and up to 5% back in rewards, some exclusions apply." + name="description"> + <meta name="viewport" content="width=null, initial-scale=1"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="x-dns-prefetch-control" content="on"> + <meta http-equiv="content-language" content="en-us"> +</head> +<body> + <form> + <input autocomplete="false" name="hidden" type="text"> + <div> + <div> + <div> + <label for="firstName"> +<span>First Name</span> + <span>*</span> +</label> +<br> + <input name="firstName" maxlength="40" autocomplete="off" + placeholder="" type="text"> + </div> + </div> + <div> + <div> + <label for="lastName"> +<span>Last + Name</span> +<span>*</span> +</label> +<br> + <input name="lastName" maxlength="40" autocomplete="off" + placeholder="" type="text"> + </div> + </div> + <div> + <div> + <div> + <div> + <label for="address1">Shipping + Address<span>*</span> +</label> +<br> + <input name="address1" maxlength="35" autocomplete="off" placeholder="" id="oneAutoComplete" type="text"> + </div> + </div> + </div> + </div> + <div> + <div> + <label for="emailId"> +<span>Email + Address</span> +<span>*</span> +</label> +<br> + <input name="emailId" maxlength="80" autocomplete="off" + placeholder="" type="text"> + </div> + </div> + <div> + <div> + <label for="phoneNo"> +<span>Phone</span> +<span>*</span> +</label> +<br> + <input name="phoneNo" autocomplete="off" type="text"> + </div> + </div> + <div> + <div> + <label for="phoneEx"> +<span>Extn.</span> +</label> +<br> + <input name="phoneEx" maxlength="6" autocomplete="off" + placeholder="" type="text"> + </div> + </div> + <div> + <div> + <label for="companyName"> +<span>Company Name + (optional)</span> +</label> +<br> + <input name="companyName" maxlength="50" autocomplete="off" placeholder="" type="text"> + </div> + </div> + <div> + <div> + <div tabindex="0"> + <label>Email me exclusive offers & deals from + Staples</label> +<input value="true" name="isEmailOfferChecked" type="hidden"> + </div> + </div> + </div> + <div> + <div> + <button type="submit">continue</button> + </div> + </div> + </div> + </form> +</body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/Staples/Basic_ac_on.html b/browser/extensions/formautofill/test/fixtures/third_party/Staples/Basic_ac_on.html new file mode 100644 index 0000000000..d3ba1116aa --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/Staples/Basic_ac_on.html @@ -0,0 +1,117 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta name="generator" content="HTML Tidy for HTML5 for Mac OS X version 5.4.0"> + <title>It's easy to find the Office Supplies, Copy Paper, + Furniture, Ink, Toner, Cleaning Products, Electronics and the + Technology you need | Staples®</title> + <meta content="checkout" name="PageName"> + <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> + <meta content="noindex,follow" name="robots"> + <meta content="Shop Staples® for everyday low prices and get everything you need for a home office or business. Staples Rewards� members get free shipping every day and up to 5% back in rewards, some exclusions apply." + name="description"> + <meta name="viewport" content="width=null, initial-scale=1"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="x-dns-prefetch-control" content="on"> + <meta http-equiv="content-language" content="en-us"> +</head> +<body> + <form> + <input name="hidden" type="text"> + <div> + <div> + <div> + <label for="firstName"> +<span>First Name</span> + <span>*</span> +</label> +<br> + <input name="firstName" maxlength="40" placeholder="" + type="text"> + </div> + </div> + <div> + <div> + <label for="lastName"> +<span>Last + Name</span> +<span>*</span> +</label> +<br> + <input name="lastName" maxlength="40" placeholder="" + type="text"> + </div> + </div> + <div> + <div> + <div> + <div> + <label for="address1">Shipping + Address<span>*</span> +</label> +<br> + <input name="address1" maxlength="35" placeholder="" + id="oneAutoComplete" type="text"> + </div> + </div> + </div> + </div> + <div> + <div> + <label for="emailId"> +<span>Email + Address</span> +<span>*</span> +</label> +<br> + <input name="emailId" maxlength="80" placeholder="" type="text"> + </div> + </div> + <div> + <div> + <label for="phoneNo"> +<span>Phone</span> +<span>*</span> +</label> +<br> + <input name="phoneNo" type="text"> + </div> + </div> + <div> + <div> + <label for="phoneEx"> +<span>Extn.</span> +</label> +<br> + <input name="phoneEx" maxlength="6" placeholder="" type="text"> + </div> + </div> + <div> + <div> + <label for="companyName"> +<span>Company Name + (optional)</span> +</label> +<br> + <input name="companyName" maxlength="50" placeholder="" + type="text"> + </div> + </div> + <div> + <div> + <div tabindex="0"> + <label>Email me exclusive offers & deals from + Staples</label> +<input value="true" name="isEmailOfferChecked" type="hidden"> + </div> + </div> + </div> + <div> + <div> + <button type="submit">continue</button> + </div> + </div> + </div> + </form> +</body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/Staples/PaymentBilling.html b/browser/extensions/formautofill/test/fixtures/third_party/Staples/PaymentBilling.html new file mode 100644 index 0000000000..37dadeb514 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/Staples/PaymentBilling.html @@ -0,0 +1,99 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta name="generator" content="HTML Tidy for HTML5 for Mac OS X version 5.4.0"> + <title>It's easy to find the Office Supplies, Copy Paper, + Furniture, Ink, Toner, Cleaning Products, Electronics and the + Technology you need | Staples®</title> + <meta content="checkout" name="PageName"> + <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> + <meta content="noindex,follow" name="robots"> + <meta content="Shop Staples® for everyday low prices and get everything you need for a home office or business. Staples Rewards� members get free shipping every day and up to 5% back in rewards, some exclusions apply." + name="description"> + <meta name="viewport" content="width=null, initial-scale=1"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="x-dns-prefetch-control" content="on"> + <meta http-equiv="content-language" content="en-us"> +</head> +<body> + <form id="payment-cc" name="payment-cc"> + <input autocomplete="false" name="hidden" type="text"> + <div> + <div> + <div> + <div> + <label for="cardNumber"> +<span>Card + Number</span> +<span>*</span> +</label> +<br> + <input name="cardNumber" autocomplete="off" type="text"> + </div> + </div> + <div> + <div> + <label for="expDate"> +<span>Expiration + Date</span> +<span>*</span> +</label> +<br> + <input name="expDate" placeholder="MM/YY" autocomplete="off" type="text"> + </div> + </div> + <div> + <div> + <label for="secCode"> +<span>Security + Code</span> +<span>*</span> +</label> +<br> + <input name="secCode" value="" autocomplete="off" + maxlength="4" type="password"> + </div> + </div> + </div> + <div> + <input value="" name="cardBrand" type="hidden"> + </div> + <div> + <div> + <div tabindex="0"> + <label>Billing address is the same as shipping + address</label> +<input value="true" name="isBillAddrSameShipAddr" type="hidden"> + </div> + </div> + </div> + <div> + <input value="1F16D1368309E3DBE15C391E7571B371" name="addressId" type="hidden"> + </div> + <div> + <p>Purchase Order # (optional) <span tabindex="0">Add</span> +</p> + </div> + <section id="paymentGuestRadio"> +</section> + <div> + <div> + <button type="submit">place my order</button> + </div> + </div> + <div> + <div> + <p> +<span>By placing your order, you agree to + Staples</span> +<a target="_blank"> +<span>Terms & + Conditions.</span> +</a> +</p> + </div> + </div> + </div> + </form> +</body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/Staples/PaymentBilling_ac_on.html b/browser/extensions/formautofill/test/fixtures/third_party/Staples/PaymentBilling_ac_on.html new file mode 100644 index 0000000000..98c9fb8555 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/Staples/PaymentBilling_ac_on.html @@ -0,0 +1,98 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta name="generator" content="HTML Tidy for HTML5 for Mac OS X version 5.4.0"> + <title>It's easy to find the Office Supplies, Copy Paper, + Furniture, Ink, Toner, Cleaning Products, Electronics and the + Technology you need | Staples®</title> + <meta content="checkout" name="PageName"> + <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> + <meta content="noindex,follow" name="robots"> + <meta content="Shop Staples® for everyday low prices and get everything you need for a home office or business. Staples Rewards� members get free shipping every day and up to 5% back in rewards, some exclusions apply." + name="description"> + <meta name="viewport" content="width=null, initial-scale=1"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="x-dns-prefetch-control" content="on"> + <meta http-equiv="content-language" content="en-us"> +</head> +<body> + <form id="payment-cc" name="payment-cc"> + <input name="hidden" type="text"> + <div> + <div> + <div> + <div> + <label for="cardNumber"> +<span>Card + Number</span> +<span>*</span> +</label> +<br> + <input name="cardNumber" type="text"> + </div> + </div> + <div> + <div> + <label for="expDate"> +<span>Expiration + Date</span> +<span>*</span> +</label> +<br> + <input name="expDate" placeholder="MM/YY" type="text"> + </div> + </div> + <div> + <div> + <label for="secCode"> +<span>Security + Code</span> +<span>*</span> +</label> +<br> + <input name="secCode" value="" maxlength="4" type="password"> + </div> + </div> + </div> + <div> + <input value="" name="cardBrand" type="hidden"> + </div> + <div> + <div> + <div tabindex="0"> + <label>Billing address is the same as shipping + address</label> +<input value="true" name="isBillAddrSameShipAddr" type="hidden"> + </div> + </div> + </div> + <div> + <input value="1F16D1368309E3DBE15C391E7571B371" name="addressId" type="hidden"> + </div> + <div> + <p>Purchase Order # (optional) <span tabindex="0">Add</span> +</p> + </div> + <section id="paymentGuestRadio"> +</section> + <div> + <div> + <button type="submit">place my order</button> + </div> + </div> + <div> + <div> + <p> +<span>By placing your order, you agree to + Staples</span> +<a target="_blank"> +<span>Terms & + Conditions.</span> +</a> +</p> + </div> + </div> + </div> + </form> +</body> +</html> |