2023-04-26 09:36:00 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`FeedbackDialog should respect feedback config 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-describedby="mx_Dialog_content"
|
|
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
|
|
class="mx_QuestionDialog mx_FeedbackDialog mx_Dialog_fixedWidth"
|
|
|
|
data-focus-lock-disabled="false"
|
|
|
|
role="dialog"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_header"
|
|
|
|
>
|
|
|
|
<h2
|
|
|
|
class="mx_Heading_h2 mx_Dialog_title"
|
|
|
|
id="mx_BaseDialog_title"
|
|
|
|
>
|
|
|
|
Feedback
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_content"
|
|
|
|
id="mx_Dialog_content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_FeedbackDialog_section mx_FeedbackDialog_reportBug"
|
|
|
|
>
|
|
|
|
<h3>
|
|
|
|
Report a bug
|
|
|
|
</h3>
|
|
|
|
<p>
|
|
|
|
<span>
|
|
|
|
Please view
|
|
|
|
<a
|
2023-05-03 21:26:26 +00:00
|
|
|
class="mx_ExternalLink"
|
2023-04-26 09:36:00 +00:00
|
|
|
href="http://existing?foo=bar"
|
|
|
|
rel="noreferrer noopener"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
existing bugs on Github
|
2023-05-03 21:26:26 +00:00
|
|
|
<i
|
|
|
|
class="mx_ExternalLink_icon"
|
|
|
|
/>
|
2023-04-26 09:36:00 +00:00
|
|
|
</a>
|
|
|
|
first. No match?
|
|
|
|
<a
|
2023-05-03 21:26:26 +00:00
|
|
|
class="mx_ExternalLink"
|
2023-04-26 09:36:00 +00:00
|
|
|
href="https://new.issue.url?foo=bar"
|
|
|
|
rel="noreferrer noopener"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
Start a new one
|
2023-05-03 21:26:26 +00:00
|
|
|
<i
|
|
|
|
class="mx_ExternalLink_icon"
|
|
|
|
/>
|
2023-04-26 09:36:00 +00:00
|
|
|
</a>
|
|
|
|
.
|
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_buttons"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_Dialog_buttons_row"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="mx_Dialog_primary"
|
|
|
|
data-testid="dialog-primary-button"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
Go back
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|