mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Extract URLs in extra file and change riot link to element-link (#551)
* Update matrix chat link to new element URL * Correct other usages of the element link * Extracted static external links into separate file
This commit is contained in:
parent
ca2bd1d90f
commit
be2428f22c
8 changed files with 43 additions and 22 deletions
|
@ -138,8 +138,8 @@ describe('Links Intro', () => {
|
|||
|
||||
describe('Follow us Links', () => {
|
||||
it('Github', () => {
|
||||
cy.get('a[href="https://github.com/codimd/server"]')
|
||||
.checkExternalLink('https://github.com/codimd/server')
|
||||
cy.get('a[href="https://github.com/codimd/"]')
|
||||
.checkExternalLink('https://github.com/codimd/')
|
||||
})
|
||||
|
||||
it('Discourse', () => {
|
||||
|
@ -148,13 +148,13 @@ describe('Links Intro', () => {
|
|||
})
|
||||
|
||||
it('Matrix', () => {
|
||||
cy.get('a[href="https://riot.im/app/#/room/#hedgedoc:matrix.org"]')
|
||||
.checkExternalLink('https://riot.im/app/#/room/#hedgedoc:matrix.org')
|
||||
cy.get('a[href="https://app.element.io/#/room/#hedgedoc:matrix.org"]')
|
||||
.checkExternalLink('https://app.element.io/#/room/#hedgedoc:matrix.org')
|
||||
})
|
||||
|
||||
it('Mastodon', () => {
|
||||
cy.get('a[href="https://social.codimd.org/mastodon"]')
|
||||
.checkExternalLink('https://social.codimd.org/mastodon')
|
||||
cy.get('a[href="https://social.codimd.org"]')
|
||||
.checkExternalLink('https://social.codimd.org')
|
||||
})
|
||||
|
||||
it('POEditor', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue