fix(walmart): instock container and add test:series

Related #1106

Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Jef LeCompte
2020-12-02 15:51:02 -05:00
parent ea456116da
commit 21e74cfe76
+9 -2
View File
@@ -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',