Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4279

Console CI catches CSP violations

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      Part of the Console CI suite, we should be testing if the proposed PR changes are not introducing a CSP violation and if so, the test should fail. Currently the violations are being logged into the browser console.

      Based on the CONSOLE-4428 spike it was decided that we will use Puppeteer tool, due to the Cypress limitation in the CSP domain.

       

      AC:

      • Create a separate script for detecting and CSP violation when browsing though console
      • Add this script as a standalone CI jo in the release repo

       

      Note: Console itself is currently triggering a single violation, which should be taken care of by CONSOLE-4266.

              cajieh Cyril Ajieh
              jhadvig@redhat.com Jakub Hadvig
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: