ipfs / ipfs/gateway-conformance

Add HTML expectations

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
feat:universality
Dominant language
Go
Stars
19
Forks
15
Avg merge
1d 4h
Merged PRs (30d)
5

Description

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:

https://github.com/ipfs/gateway-conformance/pull/9#discussion_r1145847354
https://github.com/antchfx/htmlquery

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.