From 41d617e936028d1177cdaf6238ee6c0d5c62d933 Mon Sep 17 00:00:00 2001 From: Sander Bruens Date: Tue, 24 Oct 2023 16:34:15 -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 e3b8854d51..d65fa84ae8 100644 --- a/src/www/views/contact_view/index.spec.ts +++ b/src/www/views/contact_view/index.spec.ts @@ -190,7 +190,7 @@ describe('ContactView client variant', () => { await nextFrame(); - expect(el.shadowRoot?.querySelector('h1')?.textContent).toContain('Tell us how we can help.'); + expect(el.shadowRoot?.querySelector('p.intro')?.textContent).toContain('Tell us how we can help.'); expect(el.shadowRoot?.querySelector('support-form')).toBeNull(); }); });