Skip to content

Commit

Permalink
updating text for finding element
Browse files Browse the repository at this point in the history
  • Loading branch information
midhun-aot committed Aug 30, 2023
1 parent e7c475e commit 372ad0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ it('renders log in panel', () => {
<App />
</Provider>
);
const loginPanel = screen.getByText(/Log In to my LRS Account/i);
const loginPanel = screen.getByText(/Login/i);
expect(loginPanel).toBeInTheDocument();

});
Expand All @@ -33,7 +33,7 @@ test('Renders LRS Form Accordion', () =>{
<App />
</Provider>
);
const formAccordion = screen.getByText(/This is the first sample lrs form, please use this for lrs things/i)
const formAccordion = screen.getByText(/Welcome./i)
expect(formAccordion).toBeInTheDocument()
})

0 comments on commit 372ad0f

Please sign in to comment.