diff --git a/src/www/views/contact_view/index.spec.ts b/src/www/views/contact_view/index.spec.ts index 5e8a95dd137..e3b8854d519 100644 --- a/src/www/views/contact_view/index.spec.ts +++ b/src/www/views/contact_view/index.spec.ts @@ -56,7 +56,7 @@ describe('ContactView client variant', () => { radioButton.click(); await nextFrame(); - const exitCard = el.shadowRoot!.querySelector('outline-card.exit')!; + const exitCard = el.shadowRoot!.querySelector('.exit')!; expect(exitCard.textContent).toContain('experiencing high support volume'); }); @@ -68,7 +68,7 @@ describe('ContactView client variant', () => { el.reset(); await nextFrame(); - const exitCard = el.shadowRoot!.querySelector('outline-card.exit')!; + const exitCard = el.shadowRoot!.querySelector('.exit')!; expect(exitCard).toBeNull(); }); @@ -128,7 +128,7 @@ describe('ContactView client variant', () => { issue.click(); await nextFrame(); - const exitCard = el.shadowRoot!.querySelector('outline-card.exit')!; + const exitCard = el.shadowRoot!.querySelector('.exit')!; expect(exitCard.textContent).toContain(expectedMsg); }); }