Skip to content

Commit f35bca2

Browse files
committed
Add flag to ensure interaction test doesn't fail on ophan function call
1 parent 06ef1e2 commit f35bca2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dotcom-rendering/src/components/LoopVideo.stories.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ export const PausePlay: Story = {
6464

6565
export const UnmuteMute: Story = {
6666
...Default,
67+
parameters: {
68+
test: {
69+
// The error is received without this flag: "TypeError: ophan.trackClickComponentEvent is not a function"
70+
dangerouslyIgnoreUnhandledErrors: true,
71+
},
72+
},
6773
play: async ({ canvasElement }) => {
6874
const canvas = within(canvasElement);
6975

0 commit comments

Comments
 (0)