From 21e74cfe76a5ccf82247315c9951a25e44bb1ce5 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Wed, 2 Dec 2020 15:51:02 -0500 Subject: [PATCH] fix(walmart): instock container and add test:series Related #1106 Signed-off-by: Jef LeCompte --- src/store/model/walmart.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/store/model/walmart.ts b/src/store/model/walmart.ts index 114f601..0951b06 100644 --- a/src/store/model/walmart.ts +++ b/src/store/model/walmart.ts @@ -3,14 +3,21 @@ import {Store} from './store'; export const Walmart: Store = { labels: { inStock: { - container: '#ProductPrimaryCTA-cta_add_to_cart_button', - text: ['Add to cart'] + container: '.button.spin-button.prod-ProductCTA--primary.button--primary', + text: ['add to cart'] }, maxPrice: { container: 'span[class*="price-characteristic"]' } }, links: [ + { + brand: 'test:brand', + model: 'test:model', + series: 'test:series', + url: + 'https://www.walmart.com/ip/Keurig-K-compact-Brewer-Black-Coffee-Maker/806217614' + }, { brand: 'sony', model: 'ps5 console',