mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
test_docs: Add an end-to-end test for HTML settings links.
This would have caught the issue fixed in the last few commits.
This commit is contained in:
@@ -124,6 +124,11 @@ class DocPageTest(ZulipTestCase):
|
|||||||
# be rendered instead
|
# be rendered instead
|
||||||
self._test('/integrations/', 'native integrations.')
|
self._test('/integrations/', 'native integrations.')
|
||||||
|
|
||||||
|
class HelpTest(ZulipTestCase):
|
||||||
|
def test_html_settings_links(self) -> None:
|
||||||
|
result = self.client_get('/help/message-a-stream-by-email')
|
||||||
|
self.assertEqual(result.status_code, 200)
|
||||||
|
self.assertIn('<a target="_blank" href="../../#streams">streams page</a>', str(result.content))
|
||||||
|
|
||||||
class IntegrationTest(TestCase):
|
class IntegrationTest(TestCase):
|
||||||
def test_check_if_every_integration_has_logo_that_exists(self) -> None:
|
def test_check_if_every_integration_has_logo_that_exists(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user