feat(i18n): localize inventory assignments UI
This commit is contained in:
@@ -104,7 +104,7 @@ describe("recipient pages localization", () => {
|
||||
expect(html).toContain("No se encontraron destinatarios.")
|
||||
})
|
||||
|
||||
it("renders localized recipient-owned detail labels and keeps assignments copy unchanged", async () => {
|
||||
it("renders localized recipient-owned detail labels and localizes the embedded assignments title only", async () => {
|
||||
const { default: RecipientInfoPage } = await import(
|
||||
"@/app/(dashboard)/recipients/[recipientId]/page"
|
||||
)
|
||||
@@ -140,10 +140,10 @@ describe("recipient pages localization", () => {
|
||||
expect(html).toContain("Chofer")
|
||||
expect(html).toContain("ada")
|
||||
expect(html).toContain("ada@example.test")
|
||||
expect(html).toContain("Assignments")
|
||||
expect(html).toContain("Asignaciones")
|
||||
expect(html).toContain("Laptop")
|
||||
expect(html).not.toContain(">DRIVER<")
|
||||
expect(html).not.toContain("Asignaciones")
|
||||
expect(html).not.toContain("Assignments")
|
||||
})
|
||||
|
||||
it("renders a localized recipient detail not-found message", async () => {
|
||||
|
||||
Reference in New Issue
Block a user