fix(bestbuy-ca): update selectors to help false positives (#1278)

Resolves #895
This commit is contained in:
Dylan Fontaine
2020-12-12 06:23:19 -08:00
committed by GitHub
parent b6964b02f3
commit 0525119b9b
+3 -7
View File
@@ -3,17 +3,13 @@ import {Store} from './store';
export const BestBuyCa: Store = { export const BestBuyCa: Store = {
currency: '$', currency: '$',
labels: { labels: {
inStock: {
container: '.addToCartContainer_2uzan',
text: ['add to cart']
},
maxPrice: { maxPrice: {
container: '.pricingContainer_25k3c', container: 'div[class*="pricingContainer"]',
euroFormat: false euroFormat: false
}, },
outOfStock: { outOfStock: {
container: '.shippingAvailability_2RMa1', container: '.addToCartButton:disabled',
text: ['coming soon', 'sold out'] text: ['add to cart']
} }
}, },
links: [ links: [