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

Add HTML expectations #17

Open
Tracked by #121
laurentsenta opened this issue Mar 23, 2023 · 0 comments
Open
Tracked by #121

Add HTML expectations #17

laurentsenta opened this issue Mar 23, 2023 · 0 comments
Labels
feat:universality Minimize implementation-specific checks

Comments

@laurentsenta
Copy link
Contributor

In some test (subdomain 114) we check for HTML responses like

does this response contains a link to another page

We ported sharness tests, which used raw string comparisons,
It would be less fragile to provide HTML expectations like Body().Contains(A(href="")).

Context:

#9 (comment)
https://github.com/antchfx/htmlquery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat:universality Minimize implementation-specific checks
Projects
None yet
Development

No branches or pull requests

1 participant