Describe the bug
Scrape button shows 0 results when validating regardless of results
To Reproduce
Steps to reproduce the behavior:
- Go to https://www.imdb.com/title/tt13823494/
- Open the extension
- Enter
//span as the main selector
- Unfocus the selector input
- See "0 results found" briefly on the scrape button
Expected behavior
The scrape button shouldn't change at all, the icon in the selector input is updated correctly with the number of results
Additional context
This only happens when you submit the input field (return key) immediately, it doesn't happen if you tab out of it.
AC
- The behavior is as expected
- An e2e test case is added for this
Describe the bug
Scrape button shows 0 results when validating regardless of results
To Reproduce
Steps to reproduce the behavior:
//spanas the main selectorExpected behavior
The scrape button shouldn't change at all, the icon in the selector input is updated correctly with the number of results
Additional context
This only happens when you submit the input field (return key) immediately, it doesn't happen if you tab out of it.
AC