Skip to content

Conversation

@joel-krueger
Copy link
Contributor

Description

Fixes the npm run test:captcha test.
The wikipedia has apparently changed the image class, such that img.thumbimage no longer selects anything on the page.

Testing

If you run the test it throws a timeout exception as it is today.

My testing consisted of inspecting the rick roll element, clicking copy selector, and pasting it to replace img.thumbimage, and then running the test.

I'm not a node expert, or a selector expert, so feel free to decline this and change it to something more efficient / less likely to break as this is a very specific selector replacement.

New dependencies

N/A

@joel-krueger joel-krueger requested a review from jef as a code owner January 31, 2025 03:47
@joel-krueger
Copy link
Contributor Author

That suggestion unfortunately does let the test pass, but it just sends a small image of a lock.
Screenshot 2025-01-31 131430

I tried this less precise, but still successful, selector.

@joel-krueger
Copy link
Contributor Author

#3213 was opened for this issue

@jef jef merged commit d02ae7f into jef:main Apr 24, 2025
3 checks passed
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.

2 participants