mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 02:23:57 +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
|
||||
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):
|
||||
def test_check_if_every_integration_has_logo_that_exists(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user