authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-05 08:42:52-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-05 08:42:52-07:00
log47e250a842ee254cd2230949f8575093da6a7adf
tree30df1fcebd3d23a059b8a6549f604ec16eafcd00
parent6a8f4d3b8f1c73df33fb6ac3f1ff89e38b4cf633
signature Signed by PGP key B5690EEEBB952194

test(web): drop provider banner styling assertions (#10148)


1 files changed, 0 insertions(+), 10 deletions(-)

apps/web/src/components/chat/ProviderStatusBanner.test.tsx-10
......@@ -78,16 +78,6 @@ describe("ProviderStatusBanner", () => {
7878
7979 expect(markup).toContain('role="alert"');
8080 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"');
9181 });
9282
9383 it("labels error dismiss controls with the correct severity", () => {