mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
Replace acme.png with demo.png (#1089)
* Replace acme.png with demo.png Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
6d2dde477c
commit
029295dd3b
9 changed files with 12 additions and 9 deletions
Binary file not shown.
Before Width: | Height: | Size: 6.2 KiB |
BIN
cypress/fixtures/demo.png
Normal file
BIN
cypress/fixtures/demo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -44,13 +44,13 @@ describe('File upload', () => {
|
|||
cy.get('.fa-upload')
|
||||
.click()
|
||||
cy.get('div.btn-group > input[type=file]')
|
||||
.attachFile({ filePath: 'acme.png', mimeType: 'image/png' })
|
||||
.attachFile({ filePath: 'demo.png', mimeType: 'image/png' })
|
||||
cy.get('.CodeMirror-activeline > .CodeMirror-line > span')
|
||||
.should('have.text', `![](${ imageUrl })`)
|
||||
})
|
||||
|
||||
it('via paste', () => {
|
||||
cy.fixture('acme.png')
|
||||
cy.fixture('demo.png')
|
||||
.then((image: string) => {
|
||||
const pasteEvent = {
|
||||
clipboardData: {
|
||||
|
@ -65,7 +65,7 @@ describe('File upload', () => {
|
|||
})
|
||||
|
||||
it('via drag and drop', () => {
|
||||
cy.fixture('acme.png')
|
||||
cy.fixture('demo.png')
|
||||
.then((image: string) => {
|
||||
const dropEvent = {
|
||||
dataTransfer: {
|
||||
|
@ -92,10 +92,10 @@ describe('File upload', () => {
|
|||
})
|
||||
cy.get('.fa-upload')
|
||||
.click()
|
||||
cy.fixture('acme.png')
|
||||
cy.fixture('demo.png')
|
||||
.then(() => {
|
||||
cy.get('input[type=file]')
|
||||
.attachFile({ filePath: 'acme.png', mimeType: 'image/png' })
|
||||
.attachFile({ filePath: 'demo.png', mimeType: 'image/png' })
|
||||
})
|
||||
cy.get('.CodeMirror-activeline > .CodeMirror-line > span > span')
|
||||
.should('have.text', String.fromCharCode(8203)) //thanks codemirror....
|
||||
|
|
|
@ -16,8 +16,8 @@ export const banner = {
|
|||
}
|
||||
|
||||
export const branding = {
|
||||
name: 'ACME Corp',
|
||||
logo: '/img/acme.png'
|
||||
name: 'DEMO Corp',
|
||||
logo: '/img/demo.png'
|
||||
}
|
||||
|
||||
export const authProviders = {
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
},
|
||||
"allowRegister": true,
|
||||
"branding": {
|
||||
"name": "ACME Corp",
|
||||
"logo": "/img/acme.png"
|
||||
"name": "DEMO Corp",
|
||||
"logo": "/img/demo.png"
|
||||
},
|
||||
"banner": {
|
||||
"text": "This is the test banner text",
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 6.2 KiB |
BIN
public/img/demo.png
Normal file
BIN
public/img/demo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
3
public/img/demo.png.license
Normal file
3
public/img/demo.png.license
Normal file
|
@ -0,0 +1,3 @@
|
|||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: CC0-1.0
|
Loading…
Reference in a new issue