Skip to content

Commit

Permalink
test(foxy-user-invitation-form): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pheekus committed Jan 14, 2025
1 parent c7da0de commit d86716a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ describe('UserInvitationForm', () => {
expect(form.renderRoot.querySelector('[infer="store"] [key="store_link"]')).to.not.exist;

form.getStorePageHref = (href: string) => `https://example.com?href=${href}`;
form.data = { ...form.data!, status: 'accepted' };
await form.requestUpdate();
const caption = form.renderRoot.querySelector('[infer="store"] [key="store_link"]');
expect(caption).to.exist;
Expand Down

0 comments on commit d86716a

Please sign in to comment.