feat: test results indicator in response section's tests tab

This commit is contained in:
liyasthomas
2021-10-26 13:48:09 +05:30
parent a3eafa54fa
commit e2fd104c2d
4 changed files with 24 additions and 2 deletions

View File

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