Fix js unit test for report modal
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6a9fba7db8
commit
655ae4f9a1
@ -49,9 +49,9 @@
|
||||
|
||||
<o-field
|
||||
:label="t('Additional comments')"
|
||||
label-for="additonal-comments"
|
||||
label-for="additional-comments"
|
||||
>
|
||||
<o-input v-model="content" type="textarea" id="additonal-comments" />
|
||||
<o-input v-model="content" type="textarea" id="additional-comments" />
|
||||
</o-field>
|
||||
|
||||
<div class="control" v-if="outsideDomain">
|
||||
|
@ -63,7 +63,7 @@ describe("ReportModal", () => {
|
||||
},
|
||||
});
|
||||
|
||||
const commentContainer = wrapper.find("article.media");
|
||||
const commentContainer = wrapper.find("article");
|
||||
expect(commentContainer.find("strong").text()).toContain(
|
||||
"I am the comment author"
|
||||
);
|
||||
|
@ -9,8 +9,8 @@ exports[`ReportModal > renders report modal with basic informations and submits
|
||||
</div>
|
||||
<div class=\\"\\" data-v-e0cceef3=\\"\\">
|
||||
<!--v-if-->
|
||||
<div class=\\"o-field o-field--filled\\" data-v-e0cceef3=\\"\\"><label for=\\"additonal-comments\\" class=\\"o-field__label\\">Additional comments</label>
|
||||
<div class=\\"o-ctrl-input\\" data-v-e0cceef3=\\"\\"><textarea id=\\"additonal-comments\\" class=\\"o-input o-input__textarea\\"></textarea>
|
||||
<div class=\\"o-field o-field--filled\\" data-v-e0cceef3=\\"\\"><label for=\\"additional-comments\\" class=\\"o-field__label\\">Additional comments</label>
|
||||
<div class=\\"o-ctrl-input\\" data-v-e0cceef3=\\"\\"><textarea id=\\"additional-comments\\" class=\\"o-input o-input__textarea\\"></textarea>
|
||||
<!--v-if-->
|
||||
<!--v-if-->
|
||||
<!--v-if-->
|
||||
|
Loading…
Reference in New Issue
Block a user