From d3a786c06b9312edeb404860805f46fa8b173906 Mon Sep 17 00:00:00 2001 From: Ricky Mettler Date: Tue, 25 Jun 2024 22:00:15 +0000 Subject: [PATCH 1/2] change label to actual weight --- src/components/Office/WeightSummary/WeightSummary.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Office/WeightSummary/WeightSummary.jsx b/src/components/Office/WeightSummary/WeightSummary.jsx index 81a757c8114..ee43acf9f03 100644 --- a/src/components/Office/WeightSummary/WeightSummary.jsx +++ b/src/components/Office/WeightSummary/WeightSummary.jsx @@ -50,7 +50,7 @@ const WeightSummary = ({ maxBillableWeight, weightRequested, weightAllowance, to
{formatWeight(maxBillableWeight)}
-

Weight requested

+

Actual weight

{formatWeight(weightRequested)}
From 4e701a2a62aa82417e0711dac3534a58fc927d2e Mon Sep 17 00:00:00 2001 From: Ricky Mettler Date: Tue, 25 Jun 2024 22:54:58 +0000 Subject: [PATCH 2/2] update test label --- src/components/Office/WeightSummary/WeightSummary.test.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Office/WeightSummary/WeightSummary.test.jsx b/src/components/Office/WeightSummary/WeightSummary.test.jsx index 76c19a0de8e..2b11df7f15e 100644 --- a/src/components/Office/WeightSummary/WeightSummary.test.jsx +++ b/src/components/Office/WeightSummary/WeightSummary.test.jsx @@ -77,7 +77,7 @@ describe('WeightSummary', () => { render(); // labels expect(screen.getByText('Max billable weight')).toBeInTheDocument(); - expect(screen.getByText('Weight requested')).toBeInTheDocument(); + expect(screen.getByText('Actual weight')).toBeInTheDocument(); expect(screen.getByText('Weight allowance')).toBeInTheDocument(); expect(screen.getByText('Actual billable weight')).toBeInTheDocument();