Skip to content

ShareDialog: fix share on Twitter URL #2487

ShareDialog: fix share on Twitter URL

ShareDialog: fix share on Twitter URL #2487

Re-run triggered January 10, 2025 09:55
Status Failure
Total duration 5m 46s
Artifacts 1

tests.yml

on: pull_request
Matrix: Jest
jest-tests
1s
jest-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors
ShareDialog › should render a share dialog for an URL: test/unit-tests/components/views/dialogs/ShareDialog-test.tsx#L58
expect(received).toMatchSnapshot() Snapshot name: `ShareDialog should render a share dialog for an URL 1` - Snapshot - 1 + Received + 1 @@ -80,11 +80,11 @@ alt="Facebook" src="image-file-stub" /> </a> <a - href="https://twitter.com/home?status=https://matrix.org/" + href="https://twitter.com/intent/tweet?text=https://matrix.org/" rel="noreferrer noopener" target="_blank" title="Twitter" > <img at toMatchSnapshot (test/unit-tests/components/views/dialogs/ShareDialog-test.tsx:58:30)
ShareDialog › should render a share dialog for a room member: test/unit-tests/components/views/dialogs/ShareDialog-test.tsx#L58
expect(received).toMatchSnapshot() Snapshot name: `ShareDialog should render a share dialog for a room member 1` - Snapshot - 1 + Received + 1 @@ -80,11 +80,11 @@ alt="Facebook" src="image-file-stub" /> </a> <a - href="https://twitter.com/home?status=https://matrix.to/#/@alice:example.org" + href="https://twitter.com/intent/tweet?text=https://matrix.to/#/@alice:example.org" rel="noreferrer noopener" target="_blank" title="Twitter" > <img at toMatchSnapshot (test/unit-tests/components/views/dialogs/ShareDialog-test.tsx:58:30)
ShareDialog › should render a share dialog for a room: test/unit-tests/components/views/dialogs/ShareDialog-test.tsx#L72
expect(received).toMatchSnapshot() Snapshot name: `ShareDialog should render a share dialog for a room 1` - Snapshot - 1 + Received + 1 @@ -107,11 +107,11 @@ alt="Facebook" src="image-file-stub" /> </a> <a - href="https://twitter.com/home?status=https://matrix.to/#/!1:example.org" + href="https://twitter.com/intent/tweet?text=https://matrix.to/#/!1:example.org" rel="noreferrer noopener" target="_blank" title="Twitter" > <img at Object.toMatchSnapshot (test/unit-tests/components/views/dialogs/ShareDialog-test.tsx:72:30)
ShareDialog › should render a share dialog for a matrix event: test/unit-tests/components/views/dialogs/ShareDialog-test.tsx#L95
expect(received).toMatchSnapshot() Snapshot name: `ShareDialog should render a share dialog for a matrix event 1` - Snapshot - 1 + Received + 1 @@ -108,11 +108,11 @@ alt="Facebook" src="image-file-stub" /> </a> <a - href="https://twitter.com/home?status=https://matrix.to/#/!1:example.org/!eventId" + href="https://twitter.com/intent/tweet?text=https://matrix.to/#/!1:example.org/!eventId" rel="noreferrer noopener" target="_blank" title="Twitter" > <img at Object.toMatchSnapshot (test/unit-tests/components/views/dialogs/ShareDialog-test.tsx:95:30)
ShareDialog › should not render the QR code if disabled: test/unit-tests/components/views/dialogs/ShareDialog-test.tsx#L131
expect(received).toMatchSnapshot() Snapshot name: `ShareDialog should not render the QR code if disabled 1` - Snapshot - 1 + Received + 1 @@ -65,11 +65,11 @@ alt="Facebook" src="image-file-stub" /> </a> <a - href="https://twitter.com/home?status=https://matrix.to/#/!1:example.org" + href="https://twitter.com/intent/tweet?text=https://matrix.to/#/!1:example.org" rel="noreferrer noopener" target="_blank" title="Twitter" > <img at Object.toMatchSnapshot (test/unit-tests/components/views/dialogs/ShareDialog-test.tsx:131:30)
Jest (1)
Process completed with exit code 1.
jest-tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage-2
401 KB