From 0e216470c57e0a84014ff43fd12e2e36ca2f016b Mon Sep 17 00:00:00 2001 From: Madalina Raicu Date: Fri, 19 May 2023 12:00:47 +0100 Subject: [PATCH] fix(orders): fix test for pegged orders --- libs/orders/src/lib/components/order-list/order-list.spec.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/orders/src/lib/components/order-list/order-list.spec.tsx b/libs/orders/src/lib/components/order-list/order-list.spec.tsx index 574f089c3..ddd348344 100644 --- a/libs/orders/src/lib/components/order-list/order-list.spec.tsx +++ b/libs/orders/src/lib/components/order-list/order-list.spec.tsx @@ -226,8 +226,8 @@ describe('OrderListTable', () => { const amendCell = getAmendCell(); const typeCell = screen.getAllByRole('gridcell')[2]; expect(typeCell).toHaveTextContent('Mid - 10.0 Peg limit'); - expect(amendCell.queryByTestId('edit')).not.toBeInTheDocument(); - expect(amendCell.queryByTestId('cancel')).not.toBeInTheDocument(); + expect(amendCell.queryByTestId('edit')).toBeInTheDocument(); + expect(amendCell.queryByTestId('cancel')).toBeInTheDocument(); }); it.each([