var golang.org/x/pkgsite/internal/testing/pagecheck.text
18 uses
golang.org/x/pkgsite/internal/testing/pagecheck (current package)
pagecheck.go#L76: text = htmlcheck.HasText
pagecheck.go#L100: text(`Imports: [0-9]+\+?`))),
pagecheck.go#L104: text(`Imported by: [0-9]+\+?`))))
pagecheck.go#L115: text("The highest tagged major version is"),
pagecheck.go#L118: text(p.LatestMajorVersion),
pagecheck.go#L125: in(`[data-test-id="UnitHeader-breadcrumbCurrent"]`, text(curBreadcrumb)),
pagecheck.go#L126: in(`[data-test-id="UnitHeader-title"]`, text(p.Title)),
pagecheck.go#L133: text(p.CommitTime)),
pagecheck.go#L137: text(licenseText))),
pagecheck.go#L144: in(`[data-test-id="Unit-readmeContent"]`, text("readme")),
pagecheck.go#L150: return in(".Documentation", text(`Overview`))
pagecheck.go#L162: in("th:nth-child(1)", text("^Path$")),
pagecheck.go#L163: in("th:nth-child(2)", text("^Synopsis$")),
pagecheck.go#L181: in("th:nth-child(1)", text("^Path$")),
pagecheck.go#L182: in("th:nth-child(2)", text("^Synopsis$")),
pagecheck.go#L190: text(regexp.QuoteMeta(ltype)),
pagecheck.go#L191: text("This is not legal advice"),
pagecheck.go#L196: text(regexp.QuoteMeta(bodySubstring)))),
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |