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:
1version: 22pullRequestReviews:3 # Headers4 - headers:5 - name: X-Calibre-Test6 value: Pull Request7 - name: User-Agent8 value: Calibre910 # Cookies11 - cookies:12 - name: seen-cookie-notice13 value: true14 - name: uid15 value: 116 domain: calibreapp.com17 path: /18 secure: true19 httpOnly: true20
This 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.