test(web): drop provider banner styling assertions (#10148)
This commit is contained in:
1 parent
6a8f4d3b8f
commit
47e250a842
1 file changed
-10
@@ -78,16 +78,6 @@ describe("ProviderStatusBanner", () => {
|
||||
|
||||
expect(markup).toContain('role="alert"');
|
||||
expect(markup).toContain('aria-label="Dismiss Codex provider warning"');
|
||||
expect(markup).toContain("absolute top-2 right-2");
|
||||
});
|
||||
|
||||
it("renders on a glass surface so the timeline never reads through the banner", () => {
|
||||
const markup = renderToStaticMarkup(
|
||||
<ProviderStatusBanner status={warningProvider()} onDismiss={() => {}} />,
|
||||
);
|
||||
|
||||
expect(markup).toContain("alert-glass");
|
||||
expect(markup).toContain('data-variant="warning"');
|
||||
});
|
||||
|
||||
it("labels error dismiss controls with the correct severity", () => {
|
||||
|
||||
Reference in new issue
Block a user