| ... | @@ -78,16 +78,6 @@ describe("ProviderStatusBanner", () => { | ... | @@ -78,16 +78,6 @@ describe("ProviderStatusBanner", () => { |
| 78 | | 78 | |
| 79 | expect(markup).toContain('role="alert"'); | 79 | expect(markup).toContain('role="alert"'); |
| 80 | expect(markup).toContain('aria-label="Dismiss Codex provider warning"'); | 80 | expect(markup).toContain('aria-label="Dismiss Codex provider warning"'); |
| 81 | expect(markup).toContain("absolute top-2 right-2"); | | |
| 82 | }); | | |
| 83 | | | |
| 84 | it("renders on a glass surface so the timeline never reads through the banner", () => { | | |
| 85 | const markup = renderToStaticMarkup( | | |
| 86 | <ProviderStatusBanner status={warningProvider()} onDismiss={() => {}} />, | | |
| 87 | ); | | |
| 88 | | | |
| 89 | expect(markup).toContain("alert-glass"); | | |
| 90 | expect(markup).toContain('data-variant="warning"'); | | |
| 91 | }); | 81 | }); |
| 92 | | 82 | |
| 93 | it("labels error dismiss controls with the correct severity", () => { | 83 | it("labels error dismiss controls with the correct severity", () => { |