feat: test report pie chart

This commit is contained in:
liyasthomas
2021-08-27 14:32:07 +05:30
parent a3551c6719
commit 71619cf84b
4 changed files with 66 additions and 48 deletions

View File

@@ -9,9 +9,8 @@ pw.test("Status code is 200", ()=> {
{
name: "Response: Assert property from body",
script: `\n\n// Check JSON response property
pw.test("Status code is 200", ()=> {
const body = pw.response.body.json();
pw.expect(body.property).toBe("value");
pw.test("Check JSON response property", ()=> {
pw.expect(pw.response.method).toBe("GET");
});`,
},
{