fix(ui): align theme toggle with dashboard style
This commit is contained in:
parent
c84de9aaa9
commit
9c948bd746
7 changed files with 99 additions and 17 deletions
|
|
@ -34,8 +34,11 @@ describe("React app dashboard state view", () => {
|
|||
);
|
||||
|
||||
expect(html).toContain('data-ui-theme-toggle="true"');
|
||||
expect(html).toContain('data-ui-theme-current="dark"');
|
||||
expect(html).toContain('aria-label="Switch to light theme"');
|
||||
expect(html).not.toContain("aria-pressed");
|
||||
expect(html).toContain("Theme");
|
||||
expect(html).toContain("Dark");
|
||||
expect(html).toContain("Light");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue