mirror of https://github.com/zulip/zulip.git
puppeteer_tests: Update the instruction to view generated screenshots.
On puppeteer test failure, screenshots are generated which are helpful in debugging. Earlier, the instruction to see those screenshot in github actions was not the easy way. It linked to a github doc which suggests to make API calls using artifact ID (which can be confusing to find) to download the artifact and extract it to see the screenshots. The easier way is to download the artifact directly using the download URL present in the "Store puppeteer artifacts" step of the job. This commit updates the instruction for the reason mentioned above.
This commit is contained in:
parent
9caf8b8b2b
commit
f5a1869c5b
|
@ -143,9 +143,10 @@ or report and ask for help in chat.zulip.org""",
|
||||||
print("", file=sys.stderr)
|
print("", file=sys.stderr)
|
||||||
print(
|
print(
|
||||||
"""
|
"""
|
||||||
See https://docs.github.com/en/rest/reference/actions#artifacts for information
|
Screenshots generated on failure are extremely helpful for understanding
|
||||||
on how to view the generated screenshots, which are uploaded as Artifacts.
|
puppeteer test failures, which are uploaded as artifacts. Use the
|
||||||
Screenshots are extremely helpful for understanding puppeteer test failures.
|
artifact download URL available in the "Store Puppeteer artifacts" step
|
||||||
|
below to download and view the generated screenshots.
|
||||||
""",
|
""",
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue