Setting Cookies and Headers to either authenticate to your Sites or control the test environment has been in Calibre for some time (set via either the Test Agent or Test Profiles). Now, you can specify those settings while using Pull Request Reviews too:
version: 2
pullRequestReviews:
# Headers
- headers:
- name: X-Calibre-Test
value: Pull Request
- name: User-Agent
value: Calibre
# Cookies
- cookies:
- name: seen-cookie-notice
value: true
- name: uid
value: 1
domain: calibreapp.com
path: /
secure: true
httpOnly: trueThis is especially useful if you’d like to set cookies and headers only for Pull Request Reviews tests (not inherited from Test Profiles settings). For example, you could set a header to signify that the test is for a Pull Request and should be safely routed to the staging infrastructure.