Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Dec 12, 2020

Conversation

dylf
Copy link
Contributor

@dylf dylf commented Dec 9, 2020

Description

  • Noticed the bestbuy ca selectors were using generated class names, switched it to be more generic in case those class names change

@dylf dylf requested a review from jef as a code owner December 9, 2020 02:11
Comment on lines -5 to -8
inStock: {
container: '.addToCartContainer_2uzan',
text: ['add to cart']
},
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll want to keep some form of inStock. This is good for false positive detection.

Copy link
Owner

@jef jef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this in and go from there.

Thanks!

@jef jef changed the title chore(bestbuy-ca): Simplify add to cart button query for bestbuy-ca fix(bestbuy-ca): update selectors to help false positives Dec 12, 2020
@jef jef merged commit 0525119 into jef:main Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants