Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Oct 10, 2023
1 parent 6249e03 commit b54b5a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/www/views/contact_view/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

Expand All @@ -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();
});

Expand Down Expand Up @@ -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);
});
}
Expand Down

0 comments on commit b54b5a8

Please sign in to comment.