Skip to content

Commit

Permalink
update expected text in confirmation modal test
Browse files Browse the repository at this point in the history
  • Loading branch information
emlys committed Jul 27, 2023
1 parent b53d460 commit 35471e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workbench/tests/renderer/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ describe('InVEST global settings: dialog interactions', () => {
expect(await getSettingsValue('taskgraphLoggingLevel')).toBe(tgLoggingLevel);

await userEvent.selectOptions(languageInput, [languageValue]);
await userEvent.click(await findByText('Confirm'));
await userEvent.click(await findByText('Change to spanish'));
expect(spyInvoke).toHaveBeenCalledWith(ipcMainChannels.CHANGE_LANGUAGE, languageValue);
});

Expand Down

0 comments on commit 35471e6

Please sign in to comment.