From cbec0e38fa87a46e68388b2b5a9ae96c1c3dada8 Mon Sep 17 00:00:00 2001 From: Sander Bruens Date: Fri, 6 Oct 2023 14:51:47 -0400 Subject: [PATCH] Fix test. --- src/www/views/contact_view/index.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/views/contact_view/index.spec.ts b/src/www/views/contact_view/index.spec.ts index 70bacf30983..e1ad282cb43 100644 --- a/src/www/views/contact_view/index.spec.ts +++ b/src/www/views/contact_view/index.spec.ts @@ -173,7 +173,7 @@ describe('ContactView client variant', () => { await nextFrame(); - expect(el.shadowRoot?.querySelector('p')?.textContent).toContain('Tell us how we can help.'); + expect(el.shadowRoot?.querySelector('h1')?.textContent).toContain('Tell us how we can help.'); expect(el.shadowRoot?.querySelector('support-form')).toBeNull(); }); });