Commit d3aebd0
authored
e2e test - publisher test screenshot addition for skips (#8114)
### QA Notes
This PR adds the ability to attach a screenshot to the report if dogfood
is down. Upon failing to get a desired response from the API (_e.g.,_
due to it being down), it takes a screenshot like the one below. If API
is down, such screenshot will have message `502 Bad Request` or similar
_(i.e.,_ page will not load properly).
<img alt="image" width="1722"
src="https://private-user-images.githubusercontent.com/129895386/454950056-dcfa0428-2d56-4e32-9bc8-c13f965eda89.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDk4NDczMjUsIm5iZiI6MTc0OTg0NzAyNSwicGF0aCI6Ii8xMjk4OTUzODYvNDU0OTUwMDU2LWRjZmEwNDI4LTJkNTYtNGUzMi05YmM4LWMxM2Y5NjVlZGE4OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwNjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDYxM1QyMDM3MDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MmIyYWI1NDk0Y2RiZGI3MDZmYWFhNDRmZWM4MGNjZjBlZTdjODk3MDQ3YjM0MmJjMjcwZjJkM2RjM2E4NjhiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.maOCIdM0OVOzk0tp-V_6AKXR5WJKrj3Z6at-bBCBAPQ">
**Overall, this addition to the test ensures that, when test fails, we
know the root cause without having to assume that it was because dogfood
was down.**
@:web @:win @:publisher1 parent 2d3f4b0 commit d3aebd0
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
| |||
0 commit comments