Skip to content

Commit

Permalink
Merge pull request #1574 from davemfish/bugfix/WB-1569-modal-test
Browse files Browse the repository at this point in the history
Fixes failing workbench modal test
  • Loading branch information
emlys committed May 10, 2024
2 parents f79d308 + fbaf417 commit 807a503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workbench/tests/renderer/downloadmodal.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Sample Data Download Form', () => {
});

test('Modal does not display when app has been run before', async () => {
const { findByText, queryByText } = render(<App isFirstRun />);
const { findByText, queryByText } = render(<App />);
await findByText('InVEST'); // wait for page to load before querying
const modalTitle = queryByText('Download InVEST sample data');
expect(modalTitle).toBeNull();
Expand Down

0 comments on commit 807a503

Please sign in to comment.