diff --git a/scripts/qa-nepal-event-switch.mjs b/scripts/qa-nepal-event-switch.mjs
index bdcdb2aa9..4765aba43 100644
--- a/scripts/qa-nepal-event-switch.mjs
+++ b/scripts/qa-nepal-event-switch.mjs
@@ -36,6 +36,22 @@ const strict = createStrict({
body: '
QA player',
}),
},
+ // A Facebook post the playback reaches in a slower run: its SDK and
+ // post page, inert as well.
+ {
+ pattern: 'https://connect.facebook.net/*',
+ respond: () => ({
+ contentType: 'text/javascript',
+ body: '/* QA: Facebook SDK withheld */',
+ }),
+ },
+ {
+ pattern: 'https://www.facebook.com/*',
+ respond: () => ({
+ contentType: 'text/html',
+ body: 'QA post',
+ }),
+ },
],
});
await strict.run({ args: ['--use-angle=metal', '--enable-gpu'] }, async (b) => {