stage('E2E') { steps { sh ''' npm install serve node_modules/.bin/serve -s build & sleep 10 npx playwright test --reporter=html ''' } }



System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox allow-same-origin allow-scripts; default-src 'self' 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; style-src * 'unsafe-inline'; img-src * data:; font-src *;")
