222 lines
8.8 KiB
JSON
222 lines
8.8 KiB
JSON
{
|
|
"include": {
|
|
"data": "./test/acceptance/metadata.json",
|
|
"homePage": "./test/acceptance/pages/home.page.js",
|
|
"productPage": "./test/acceptance/pages/product.page.js",
|
|
"cartPage": "./test/acceptance/pages/cart.page.js",
|
|
"checkoutPage": "./test/acceptance/pages/checkout.page.js",
|
|
"loginPage": "./test/acceptance/pages/login.page.js",
|
|
"accountPage": "./test/acceptance/pages/account.page.js",
|
|
"pageDesigner": "./test/acceptance/pages/pageDesigner.page.js",
|
|
"utilities": "./test/acceptance/utilities.js"
|
|
},
|
|
"gherkin_steps": [
|
|
"./test/acceptance/steps/homePage/addProductToCart.steps.js",
|
|
"./test/acceptance/steps/homePage/emailSignup.steps.js",
|
|
"./test/acceptance/steps/homePage/landHomePage.steps.js",
|
|
"./test/acceptance/steps/homePage/locateStore.steps.js",
|
|
"./test/acceptance/steps/productDetailPage/pdpSimpleLayout.steps.js",
|
|
"./test/acceptance/steps/productDetailPage/pdpQuickViewSearch.steps.js",
|
|
"./test/acceptance/steps/productDetailPage/pdpProductFilter.steps.js",
|
|
"./test/acceptance/steps/productDetailPage/pdpBackToPlp.steps.js",
|
|
"./test/acceptance/steps/checkoutPage/editCart.steps.js",
|
|
"./test/acceptance/steps/loginPage/createAccount.steps.js",
|
|
"./test/acceptance/steps/loginPage/loginUser.steps.js",
|
|
"./test/acceptance/steps/loginPage/forgotPassword.steps.js",
|
|
"./test/acceptance/steps/accountPage/editProfile.steps.js",
|
|
"./test/acceptance/steps/accountPage/changePassword.steps.js",
|
|
"./test/acceptance/steps/accountPage/addPayment.steps.js",
|
|
"./test/acceptance/steps/accountPage/addAddress.steps.js",
|
|
"./test/acceptance/steps/testSuites/happyPath.steps.js",
|
|
"./test/acceptance/steps/utilities.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/campaignBanner/campaignBanner.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/mainBanner/mainBanner.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/popularCategory/popularCategory.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/category/category.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/imageAndText/imageAndText.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/photoTile/photoTile.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/productTile/productTile.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/shopCategory/shopCategory.steps",
|
|
"./test/acceptance/steps/pageDesigner/richText/richText.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/shopTheLook/shopTheLook.steps.js",
|
|
"./test/acceptance/steps/pageDesigner/carousel/carousel.steps.js",
|
|
"./test/acceptance/steps/sourceCodeRedirects/pdpRedirect.steps.js",
|
|
"./test/acceptance/steps/sourceCodeRedirects/categoryRedirect.steps.js",
|
|
"./test/acceptance/steps/sourceCodeRedirects/pageRedirect.steps.js"
|
|
],
|
|
"user1": {
|
|
"fName": "Test1",
|
|
"lName": "User1",
|
|
"address1": "104 Presidential Way",
|
|
"country": "United States",
|
|
"state": "Massachusetts",
|
|
"stateAbr": "MA",
|
|
"city": "Woburn",
|
|
"zip": "01801",
|
|
"phone": "781-555-1212",
|
|
"email": "testuser1@demandware.com",
|
|
"password": "Test123!"
|
|
},
|
|
"CC": {
|
|
"ccNum": "4111111111111111",
|
|
"ccSecCode": "555",
|
|
"expMonth": "08",
|
|
"expYear": "2023",
|
|
"ccExpDate": "8/2023"
|
|
},
|
|
"product": {
|
|
"name": "Elbow Sleeve Ribbed Sweater",
|
|
"quantity": "2",
|
|
"editCartQuantity": "1",
|
|
"itemPrice": "$65.99",
|
|
"totalItemPrice": "$131.98",
|
|
"shipping": "$7.99",
|
|
"tax": "$7.00",
|
|
"estimatedTotal": "$146.97"
|
|
},
|
|
"product2": {
|
|
"name": "Modern Striped Dress Shirt",
|
|
"quantity": "1",
|
|
"color": "blue",
|
|
"size": "16R"
|
|
},
|
|
"product3": {
|
|
"name": "Woven Trimmed Cardigan.",
|
|
"quantity": "1",
|
|
"color": "White",
|
|
"size": "L",
|
|
"productLinkQV": "/on/demandware.store/Sites-RefArch-Site/en_US/Product-ShowQuickView?pid=701644391737M"
|
|
},
|
|
"product4": {
|
|
"searchWord": "Long Sleeve Embellished",
|
|
"name": "Long Sleeve Embellished Boat Neck Top",
|
|
"color": "Begonia Pink",
|
|
"colorAttribute": "Color: Begonia Pink",
|
|
"size": "S",
|
|
"sizeAttribute": "Size: S",
|
|
"availability": "In Stock",
|
|
"originalQuantity": "2",
|
|
"editQuantity": "1",
|
|
"finalQuantity": "2",
|
|
"originalPrice": "$57.98",
|
|
"finalPrice": "$28.99",
|
|
"afterRemoveQuantity": "0",
|
|
"pid": "701642823896M"
|
|
},
|
|
"searchPages": {
|
|
"womensTops": "/on/demandware.store/Sites-RefArch-Site/en_US/Search-Show?cgid=womens-clothing-tops"
|
|
},
|
|
"orderHistory": {
|
|
"number": "00004201",
|
|
"email": "testuser1@demandware.com",
|
|
"zip": "01801"
|
|
},
|
|
"filterProduct": {
|
|
"color": "white",
|
|
"colorTotalItems": "79 Results",
|
|
"size": "12",
|
|
"sizeTotalItems": "11 Results",
|
|
"price": "$20 - $49.99",
|
|
"priceTotalItems": "2 Results",
|
|
"option": "Price Low To High",
|
|
"productName": "Long Sleeve Seamed Button Front Shirt"
|
|
},
|
|
"storeLocator": {
|
|
"pageURL": "/on/demandware.store/Sites-RefArch-Site/en_US/Stores-Find?showMap=true&horizontalView=true&isForm=true",
|
|
"zipCode": "01801",
|
|
"numStores": "5",
|
|
"radius": "300",
|
|
"numStoresRadius": "11"
|
|
},
|
|
"home": {
|
|
"email": "testuser1@demandware.com"
|
|
},
|
|
"login": {
|
|
"loginPage": "/on/demandware.store/Sites-RefArch-Site/en_US/Account-Show?registration=false",
|
|
"homePage": "/on/demandware.store/Sites-RefArch-Site/en_US/Home-Show",
|
|
"email": "testuser1@demandware.com",
|
|
"password": "Test123!",
|
|
"fName": "John",
|
|
"lName": "Smith",
|
|
"phone": "781-555-1212",
|
|
"newRegEmail": "jsmith@email.com",
|
|
"loginHomeScreen": "span.user-message",
|
|
"emailLogin": "#login-form-email",
|
|
"passwordLogin": "#login-form-password",
|
|
"primaryButton": ".btn.btn-block.btn-primary",
|
|
"registrationError": "Username is invalid."
|
|
},
|
|
"checkout": {
|
|
"fName": "Test1",
|
|
"lName": "User1",
|
|
"address1": "104 Presidential Way",
|
|
"country": "United States",
|
|
"state": "Massachusetts",
|
|
"stateAbr": "MA",
|
|
"city": "Woburn",
|
|
"zip": "01801",
|
|
"phone": "781-555-1212",
|
|
"email": "testuser1@demandware.com",
|
|
"ccNum": "4111111111111111",
|
|
"ccSecCode": "555",
|
|
"expMonth": "08",
|
|
"expYear": "2023",
|
|
"ccExpDate": "8/2023"
|
|
},
|
|
"account": {
|
|
"accountPage": "/on/demandware.store/Sites-RefArch-Site/en_US/Account-Show",
|
|
"name": "John Smith",
|
|
"addressTitle": "Apartment",
|
|
"addressHome": "Home",
|
|
"newPassword": "Test123!",
|
|
"deletePaymentModalText": "Delete Payment?"
|
|
},
|
|
"pageDesigner": {
|
|
"richTextTitle" : "What's New Trending",
|
|
|
|
"shopTheLookOverlayText": "Spring Look",
|
|
"shopTheLookSetItems": "3 Items",
|
|
"shopTheLookButton": "Shop The Look",
|
|
"shopTheLookProductName": "Short Sleeve Raglan Smock Shirt.",
|
|
|
|
"imageAndTextOverlayText": "Summer Look",
|
|
"imageAndTextNewArrival": "/s/RefArch/new arrivals/?lang=default",
|
|
"campaignBannerMessage": "We're Taking Sale To the Next Level! 80% OFF!",
|
|
|
|
"category1": "Shoes",
|
|
"category2": "Scarves",
|
|
"category3": "Accessories",
|
|
"category4": "Men's New Arrivals",
|
|
"category5": "Women's New Arrivals",
|
|
"categoryLink": "/s/RefArch/womens/?lang=default",
|
|
|
|
"mainBannerHeading": "Dresses\nfor\nBesties",
|
|
"mainBannerHeading2":"Summer Sales",
|
|
"mainBannerSubHeading": "Shop Now",
|
|
"mainBannerLink": "/s/RefArch/womens/clothing/dresses/?lang=default",
|
|
|
|
"popularCategory1": "Outfits",
|
|
"popularCategory2": "Tops",
|
|
"popularCategory3": "Dresses",
|
|
"popularCategory4": "Bottoms",
|
|
"popularCategory5": "Jackets & Coats",
|
|
"popularCategory6": "Feeling Red",
|
|
|
|
"productTileQuickView": "Quick Shop",
|
|
"productTileProductName": "Floral Print Pencil Skirt.",
|
|
"productTileProductName5": "Incase",
|
|
"productTile1ProductPrice": "$129.00",
|
|
"productTile3ProductStrikeThroughPrice": "$59.00",
|
|
"productTile3ProductPrice": "$43.99",
|
|
"productTile1PDPLink": "/s/RefArch/floral-print-pencil-skirt/25696881M.html?lang=default",
|
|
|
|
"shopCategory1": "Women's New Arrivals",
|
|
"shopCategory2": "Men's New Arrivals",
|
|
"shopCategory3": "Shoes",
|
|
"shopCategory4": "Scarves",
|
|
"shopCategory5": "Accessories",
|
|
"shopCategoryTitle": "Shop Category",
|
|
"shopCategoryLink": "/s/RefArch/womens/accessories/shoes/?lang=default"
|
|
}
|
|
}
|