create html report for playwright tests
This commit is contained in:
parent
40de32cc3f
commit
719cf4dad4
1 changed files with 3 additions and 3 deletions
|
|
@ -213,9 +213,9 @@ in
|
||||||
|
|
||||||
|
|
||||||
browsers = {
|
browsers = {
|
||||||
"chromium": ["--headless", "--disable-gpu"],
|
"chromium": ["--reporter", "html", "--headless", "--disable-gpu"],
|
||||||
"firefox": [],
|
"firefox": ["--reporter", "html"],
|
||||||
"webkit": []
|
"webkit": ["--reporter", "html"]
|
||||||
}
|
}
|
||||||
if len(sys.argv) != 2 or sys.argv[1] not in browsers.keys():
|
if len(sys.argv) != 2 or sys.argv[1] not in browsers.keys():
|
||||||
print(f"usage: {sys.argv[0]} [{'|'.join(browsers.keys())}]")
|
print(f"usage: {sys.argv[0]} [{'|'.join(browsers.keys())}]")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue