From d3c9e214a2fffc599a58b2e5e968a3e84505bdfa Mon Sep 17 00:00:00 2001 From: Alban Bailly Date: Tue, 22 Aug 2023 23:43:12 +0200 Subject: [PATCH] feat: [M3-6968] improve unit test --- .../features/Linodes/MigrateLinode/ConfigureForm.test.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/manager/src/features/Linodes/MigrateLinode/ConfigureForm.test.tsx b/packages/manager/src/features/Linodes/MigrateLinode/ConfigureForm.test.tsx index f89e8f0f056..ee3f5599edc 100644 --- a/packages/manager/src/features/Linodes/MigrateLinode/ConfigureForm.test.tsx +++ b/packages/manager/src/features/Linodes/MigrateLinode/ConfigureForm.test.tsx @@ -134,4 +134,12 @@ describe('ConfigureForm component with price comparison', () => { }); }); }); + + it('should provide a proper price comparison', async () => { + selectNewRegion('São Paulo', 'br-gru'); + await waitFor(() => { + expect(queryByText('$12.00')).toBeInTheDocument(); + expect(queryByText('$15.60')).toBeInTheDocument(); + }); + }); });