Skip to content

Scrape button shows 0 results when validating regardless of results #37

@zizzfizzix

Description

@zizzfizzix

Describe the bug
Scrape button shows 0 results when validating regardless of results

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.imdb.com/title/tt13823494/
  2. Open the extension
  3. Enter //span as the main selector
  4. Unfocus the selector input
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions