mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: underline links in announcement banner for better visibility (#20166)
## Overview Links in announcement banners are now underlined to make them visually distinguishable without requiring users to hover over them. Context: [Slack](https://codercom.slack.com/archives/C0989BZU23T/p1759503061267819) ## Changes - Added `text-decoration: underline` to links in the announcement banner component --------- Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com> Co-authored-by: blink-so[bot] <157993532+blink-so[bot]@users.noreply.github.com> Co-authored-by: Michael Smith <michaelsmith@coder.com>
This commit is contained in:
co-authored by
blink-so[bot]
Michael Smith
parent
9f3b2cddb1
commit
5119db3cd2
@@ -83,6 +83,7 @@ test("set service banner", async ({ page }) => {
|
||||
await page.goto("/workspaces", { waitUntil: "domcontentloaded" });
|
||||
await expectUrl(page).toHavePathName("/workspaces");
|
||||
|
||||
const bar = page.locator("div.service-banner", { hasText: message });
|
||||
await expect(bar).toBeVisible();
|
||||
const banner = page.getByTestId("service-banner");
|
||||
await expect(banner).toBeVisible();
|
||||
await expect(banner).toHaveText(message);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user