diff --git a/server-ce/test/customization.spec.ts b/server-ce/test/customization.spec.ts
index 03c9bc3a5a..feabe0cc9e 100644
--- a/server-ce/test/customization.spec.ts
+++ b/server-ce/test/customization.spec.ts
@@ -2,25 +2,39 @@ import { isExcludedBySharding, startWith } from './helpers/config'
describe('Customization', () => {
if (isExcludedBySharding('CE_CUSTOM_1')) return
- startWith({
- vars: {
- OVERLEAF_APP_NAME: 'CUSTOM APP NAME',
- OVERLEAF_LEFT_FOOTER: JSON.stringify([{ text: 'CUSTOM LEFT FOOTER' }]),
- OVERLEAF_RIGHT_FOOTER: JSON.stringify([{ text: 'CUSTOM RIGHT FOOTER' }]),
- },
+
+ describe('default settings', () => {
+ startWith({})
+
+ it('should display the default right footer', () => {
+ cy.visit('/')
+ cy.get('footer').findByRole('link', { name: 'Fork on GitHub!' })
+ })
})
- it('should display custom name', () => {
- cy.visit('/')
- cy.get('nav').findByText('CUSTOM APP NAME')
- })
+ describe('custom settings', () => {
+ startWith({
+ vars: {
+ OVERLEAF_APP_NAME: 'CUSTOM APP NAME',
+ OVERLEAF_LEFT_FOOTER: JSON.stringify([{ text: 'CUSTOM LEFT FOOTER' }]),
+ OVERLEAF_RIGHT_FOOTER: JSON.stringify([
+ { text: 'CUSTOM RIGHT FOOTER' },
+ ]),
+ },
+ })
- it('should display custom left footer', () => {
- cy.visit('/')
- cy.get('footer').findByText('CUSTOM LEFT FOOTER')
- })
- it('should display custom right footer', () => {
- cy.visit('/')
- cy.get('footer').findByText('CUSTOM RIGHT FOOTER')
+ it('should display custom name', () => {
+ cy.visit('/')
+ cy.get('nav').findByText('CUSTOM APP NAME')
+ })
+
+ it('should display custom left footer', () => {
+ cy.visit('/')
+ cy.get('footer').findByText('CUSTOM LEFT FOOTER')
+ })
+ it('should display custom right footer', () => {
+ cy.visit('/')
+ cy.get('footer').findByText('CUSTOM RIGHT FOOTER')
+ })
})
})
diff --git a/services/web/config/settings.defaults.js b/services/web/config/settings.defaults.js
index 8d0913f752..99abdfb431 100644
--- a/services/web/config/settings.defaults.js
+++ b/services/web/config/settings.defaults.js
@@ -778,8 +778,7 @@ module.exports = {
right_footer: [
{
- text: " Fork on GitHub!",
- url: 'https://github.com/overleaf/overleaf',
+ text: 'Fork on GitHub!',
},
],