test: fix multiple 'Add Product' match in App.test.tsx
This commit is contained in:
parent
d1efa596c8
commit
1461d2a73d
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ describe('Supplier Portal Onboarding & Active Dashboard Tests', () => {
|
|||
fireEvent.click(productsTabBtn)
|
||||
|
||||
expect(screen.getAllByText(/Products/i).length).toBeGreaterThan(0)
|
||||
expect(screen.getByText(/Add Product/i)).toBeInTheDocument()
|
||||
expect(screen.getAllByText(/Add Product/i).length).toBeGreaterThan(0)
|
||||
|
||||
// Check Sidebar Tab click: Orders & Transit
|
||||
const ordersTabBtn = screen.getByText(/Orders/i)
|
||||
|
|
|
|||
Loading…
Reference in a new issue