Skip to content

Commit

Permalink
Minor testfix, MeldingIndex.spec.tsx.
Browse files Browse the repository at this point in the history
Text selector had not been changed after gui text changed.
  • Loading branch information
josstn committed Nov 17, 2023
1 parent 4877e3f commit 672ddef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ describe('<MeldingIndex>', () => {
userEvent.selectOptions(await screen.getByLabelText('Mottaker'), JSON.stringify(melding.overstyrtMottaker));
userEvent.type(await screen.getByLabelText('Fritekst'), melding.fritekst);

userEvent.click(await screen.getByLabelText('Velg annen mottaker'))
userEvent.click(await screen.getByLabelText('Send til tredjepartsmottaker'))
const tredjepartsMottaker = {
type: "ORGNR",
id: "974652269",
Expand Down

0 comments on commit 672ddef

Please sign in to comment.