-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/screentest: update goldens to latest chromedp version
Use a more recent version of chromedp and screentest. The newer screentest takes arguments differently, so update its invocations. The newer chromedp displays things slightly differently, so update the goldens. Also use the suffix "want" instead of "a", as the new screentest requires. Comment out buggy or flaky tests. These will be handled in followup CLs. Also, improve and enhance run.sh, notably adding the -run flag to run a subset of the tests. Change-Id: Ia46bf02f8cae15a763c80c6d6744f4ac9c005b9b Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/631780 kokoro-CI: kokoro <[email protected]> Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
- Loading branch information
Showing
163 changed files
with
109 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
windowsize 1536x960 | ||
compare {{.Origin}}::cache {{.Origin}} | ||
output tests/screentest/testdata/ci | ||
# Prevent dynamic readme bages from rendering | ||
block https://codecov.io/* https://travis-ci.com/* | ||
|
||
|
@@ -9,66 +7,66 @@ block https://codecov.io/* https://travis-ci.com/* | |
{{$scrollTop := "window.scrollTo({top:0});"}} | ||
|
||
test vuln | ||
pathname /vuln/ | ||
path /vuln/ | ||
capture fullscreen | ||
capture fullscreen 540x1080 | ||
|
||
test vuln list | ||
pathname /vuln/list | ||
path /vuln/list | ||
capture fullscreen | ||
capture fullscreen 540x1080 | ||
|
||
test vuln entry | ||
pathname /vuln/GO-2022-0229 | ||
path /vuln/GO-2022-0229 | ||
capture fullscreen | ||
capture fullscreen 540x1080 | ||
|
||
test vuln entry withdrawn | ||
pathname /vuln/GO-2024-2730 | ||
path /vuln/GO-2024-2730 | ||
capture fullscreen | ||
capture fullscreen 540x1080 | ||
|
||
test vuln entry no packages | ||
pathname /vuln/GO-2024-2659 | ||
path /vuln/GO-2024-2659 | ||
capture fullscreen | ||
capture fullscreen 540x1080 | ||
|
||
test vuln entry custom ranges module | ||
pathname /vuln/GO-2024-2979 | ||
path /vuln/GO-2024-2979 | ||
capture fullscreen | ||
capture fullscreen 540x1080 | ||
|
||
test vuln entry custom ranges package | ||
pathname /vuln/GO-2024-2527 | ||
path /vuln/GO-2024-2527 | ||
capture fullscreen | ||
capture fullscreen 540x1080 | ||
|
||
test vuln entry unreviewed | ||
pathname /vuln/GO-2024-2864 | ||
path /vuln/GO-2024-2864 | ||
capture fullscreen | ||
capture fullscreen 540x1080 | ||
|
||
test vuln stdlib module | ||
pathname /archive/[email protected] | ||
path /archive/[email protected] | ||
capture viewport | ||
capture viewport 540x1080 | ||
|
||
test vuln toolchain module | ||
pathname /cmd/[email protected] | ||
path /cmd/[email protected] | ||
capture viewport | ||
capture viewport 540x1080 | ||
|
||
test vuln nonstdlib module | ||
pathname /golang.org/x/crypto?tab=versions | ||
path /golang.org/x/crypto?tab=versions | ||
capture viewport | ||
capture viewport 540x1080 | ||
|
||
test vuln search | ||
pathname /search?q=github.com%2Fbeego&m=vuln | ||
path /search?q=github.com%2Fbeego&m=vuln | ||
capture viewport | ||
capture viewport 540x1080 | ||
|
||
test vuln no results | ||
pathname /search?q=github.com%2Fnoresults&m=vuln | ||
path /search?q=github.com%2Fnoresults&m=vuln | ||
capture viewport | ||
capture viewport 540x1080 |
Oops, something went wrong.