Files
ThreadNet-Web/apps/web/test/unit-tests/__snapshots__/Terms-test.ts.snap
T
Michael TelatynskiandGitHub 79ac7fbc9e Use oxlint to apply jsx/tsx extension consistently (#34303)
* Remove stale max-len disablements

* Remove stale camelCase & naming-convention disablements

* Remove stale ban-ts-comment disablements

* Remove stale no-var disablements

* Remove stale no-empty-property disablements

* Remove stale react rule disablements

* Remove stale no-constant-condition disablements

* Remove stale no-unused-vars disablements

* Remove stale disablements for disabled rules

* fixup camelcase

* Remove dead code

* Tidy code

* Tweak oxlint config

* Use oxlint to apply jsx/tsx extension consistently

* Fix import

* Fix imports

* Rename affected snapshots

* Update more imports
2026-07-17 09:50:57 +00:00

127 lines
2.8 KiB
Plaintext

// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`dialogTermsInteractionCallback should render a dialog with the expected terms 1`] = `
<div
aria-describedby="mx_Dialog_content"
aria-labelledby="mx_BaseDialog_title"
class=""
data-focus-lock-disabled="false"
role="dialog"
tabindex="-1"
>
<div
class="mx_Dialog_header"
>
<h1
class="mx_Heading_h3 mx_Dialog_title"
id="mx_BaseDialog_title"
>
Terms of Service
</h1>
</div>
<div
id="mx_Dialog_content"
>
<p>
To continue you need to accept the terms of this service.
</p>
<table
class="mx_TermsDialog_termsTable"
>
<tbody>
<tr
class="mx_TermsDialog_termsTableHeader"
>
<th>
Service
</th>
<th>
Summary
</th>
<th>
Document
</th>
<th>
Accept
</th>
</tr>
<tr>
<td
class="mx_TermsDialog_service"
>
<div>
Identity server
<br />
(
base_url
)
</div>
</td>
<td
class="mx_TermsDialog_summary"
>
<div>
Find others by phone or email
<br />
Be found by phone or email
</div>
</td>
<td>
<a
class="mx_ExternalLink"
href="http://base_url/terms"
rel="noreferrer noopener"
target="_blank"
>
Terms
<svg
class="mx_ExternalLink_icon"
fill="currentColor"
height="1em"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 3h6a1 1 0 1 1 0 2H5v14h14v-6a1 1 0 1 1 2 0v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2"
/>
<path
d="M15 3h5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L17.586 5H15a1 1 0 1 1 0-2"
/>
</svg>
</a>
</td>
<td>
<input
type="checkbox"
/>
</td>
</tr>
</tbody>
</table>
</div>
<div
class="mx_Dialog_buttons"
>
<span
class="mx_Dialog_buttons_row"
>
<button
data-testid="dialog-cancel-button"
type="button"
>
Cancel
</button>
<button
class="mx_Dialog_primary"
data-testid="dialog-primary-button"
disabled=""
type="button"
>
Next
</button>
</span>
</div>
</div>
`;