fix: onboarding feedback follow-ups: root files warning, pins, help texts, docs (#446) #475
1 changed files with 3 additions and 3 deletions
|
|
@ -145,9 +145,9 @@ describe("OnboardingBanner — banner mode (#397)", () => {
|
|||
|
||||
it("once the total is known, a decorative dot separates the counter from the next step (#446)", () => {
|
||||
const props = bannerProps();
|
||||
const [dot] = dots(props);
|
||||
expect(dots(props)).toHaveLength(1);
|
||||
expect(dot.props["aria-hidden"]).toBe("true");
|
||||
const found = dots(props);
|
||||
expect(found).toHaveLength(1);
|
||||
expect(found[0].props["aria-hidden"]).toBe("true");
|
||||
const html = markup(props);
|
||||
const counter = html.indexOf("t(onboarding.banner.progress");
|
||||
const dotAt = html.search(/<span aria-hidden="true" class="h-1 w-1 /);
|
||||
|
|
|
|||
Loading…
Reference in a new issue