Skip to content

Commit c494421

Browse files
feat: update JobTable header text for consistency and add corresponding test
1 parent 274e929 commit c494421

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

frontend/src/domains/new_dashboard/components/jobs/JobTable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ export function JobTable({
201201
<div className="overflow-hidden rounded-lg border border-border bg-card">
202202
<div className="overflow-x-auto">
203203
<table className="w-full border-collapse text-left">
204-
<thead className="border-b border-border bg-muted/45 text-xs uppercase text-muted-foreground">
204+
<thead className="border-b border-border bg-muted/45 text-xs text-muted-foreground">
205205
<tr>
206-
<th className="px-6 py-4 font-bold">Cargo / Empresa</th>
206+
<th className="px-6 py-4 font-bold">Cargo / empresa</th>
207207
<th
208208
className="px-4 py-4 font-bold"
209209
aria-sort={ariaSort("source")}

frontend/tests/unit/new_dashboard/jobs.test.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ describe("new_dashboard job components", () => {
139139
);
140140

141141
expect(screen.getByText(/exibindo 1-10 de 12 vagas/i)).toBeInTheDocument();
142+
expect(
143+
screen.getByRole("columnheader", { name: "Cargo / empresa" }),
144+
).toBeInTheDocument();
142145
expect(
143146
screen.getByRole("columnheader", { name: /publicada em/i }),
144147
).toBeInTheDocument();

0 commit comments

Comments
 (0)