From 4e4d2eb25365be861e19f9756cf334ba2faa6911 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 14 Dec 2023 18:55:21 +0100 Subject: test(e2e): fix broken Cypress tests Since #93db24b MSW is used in Cypress tests to intercept requests. Some tests relied on WordPress data so it becames broken. Tests are now successful but there are still some issues with hydration because all GraphQL requests are not intercepted and data are mixed between WordPress and fixtures. --- next.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'next.config.js') diff --git a/next.config.js b/next.config.js index 5bd458d..02aa847 100644 --- a/next.config.js +++ b/next.config.js @@ -107,6 +107,10 @@ const nextConfig = { protocol: 'https', hostname: 'cloudflare-ipfs.com', }, + { + protocol: 'https', + hostname: 'picsum.photos', + }, ], }, output: 'standalone', @@ -190,4 +194,4 @@ const withMDX = nextMDX({ export default withBundleAnalyzer(withMDX(nextConfig)); -// cSpell:ignore ipfs +// cSpell:ignore ipfs picsum -- cgit v1.2.3