fix: gamestop false positives (#395)

Fixed issue where gamestop would generate false positives because the string add to cart was still included even when there was no stock available.  Just added the outOfStock label to look for not available, which is actually displayed on the button.
This commit is contained in:
adolfo bernal
2020-09-30 15:49:09 -05:00
committed by GitHub
parent 5a5d03b259
commit d3bb507edc
+4
View File
@@ -5,6 +5,10 @@ export const Gamestop: Store = {
inStock: {
container: '.add-to-cart',
text: ['add to cart']
},
outOfStock: {
container: '.add-to-cart',
text: ['not available']
}
},
links: [