Zopu candidate for create-pr-26-c24dce7b-ffc7-4b73-97fb-3516e6c44c75
This commit is contained in:
@@ -36,7 +36,7 @@ export const ProjectHeader = ({
|
||||
</p>
|
||||
</div>
|
||||
<Button
|
||||
aria-label="Project settings"
|
||||
aria-label="Workspace settings"
|
||||
className="mr-2 size-9"
|
||||
onClick={() => setSettingsOpen((open) => !open)}
|
||||
size="icon"
|
||||
|
||||
@@ -60,6 +60,12 @@ describe("Workspace frontend regression contracts", () => {
|
||||
expect(messageRenderer).toContain("plugins={streamdownPlugins}");
|
||||
});
|
||||
|
||||
test("exposes an accessible label on the workspace settings button", () => {
|
||||
const header = source("../../components/workspace/project-header.tsx");
|
||||
|
||||
expect(header).toContain('aria-label="Workspace settings"');
|
||||
});
|
||||
|
||||
test("keeps markdown readable on the forced-dark workspace surface", () => {
|
||||
const styles = source("../../index.css");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user