fix(e2e): harden form check against stale Gatekeeper assets
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Successful in 1m12s
Build & Deploy / 🏗️ Build (push) Successful in 3m27s
Build & Deploy / 🚀 Deploy (push) Successful in 15s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 4m42s
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Successful in 1m12s
Build & Deploy / 🏗️ Build (push) Successful in 3m27s
Build & Deploy / 🚀 Deploy (push) Successful in 15s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 4m42s
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -113,8 +113,9 @@ async function main() {
|
||||
page.on('request', (request) => {
|
||||
const url = request.url();
|
||||
// Intercept Next.js chunks and data to bypass Varnish 404-caching
|
||||
// Includes standard /_next/ and subpath /gatekeeper/_next/
|
||||
if (
|
||||
(url.includes('/_next/static/') || url.includes('/_next/data/')) &&
|
||||
(url.includes('/_next/static/') || url.includes('/_next/data/') || url.includes('/gatekeeper/_next/')) &&
|
||||
!url.includes('?cb=') &&
|
||||
!url.includes('&cb=')
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user