mirror of https://github.com/zulip/zulip.git
puppeteer: Mention about docs and screeshots on failure.
This commit is contained in:
parent
42b1ed23a9
commit
f2b3afcd56
|
@ -89,11 +89,15 @@ def run_tests(files: Iterable[str], external_host: str) -> None:
|
||||||
ret = run_tests()[0]
|
ret = run_tests()[0]
|
||||||
if ret != 0:
|
if ret != 0:
|
||||||
print("""
|
print("""
|
||||||
The Puppeteer frontend tests failed! Please report and ask for help in chat.zulip.org""", file=sys.stderr)
|
The Puppeteer frontend tests failed! For help debugging, read:
|
||||||
|
https://zulip.readthedocs.io/en/latest/testing/testing-with-puppeteer.html
|
||||||
|
or report and ask for help in chat.zulip.org""", file=sys.stderr)
|
||||||
if os.environ.get("CIRCLECI"):
|
if os.environ.get("CIRCLECI"):
|
||||||
print("", file=sys.stderr)
|
print("", file=sys.stderr)
|
||||||
print("In CircleCI, the Artifacts tab contains screenshots of the failure.", file=sys.stderr)
|
print("In CircleCI, the Artifacts tab contains screenshots of the failure.", file=sys.stderr)
|
||||||
print("", file=sys.stderr)
|
print("", file=sys.stderr)
|
||||||
|
else:
|
||||||
|
print("It's also worthy to see screenshots generated on failure stored under var/puppeteer/*.png")
|
||||||
sys.exit(ret)
|
sys.exit(ret)
|
||||||
|
|
||||||
external_host = "zulipdev.com:9981"
|
external_host = "zulipdev.com:9981"
|
||||||
|
|
Loading…
Reference in New Issue