mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
removed unused code / comments
This commit is contained in:
parent
aa573bee21
commit
ad34f105fa
@ -40,7 +40,6 @@ export default {
|
|||||||
.carousel {
|
.carousel {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
/*border-radius: 0% 50% 70% 0%/50% 70% 70% 50%;*/
|
|
||||||
}
|
}
|
||||||
.carousel-inner {
|
.carousel-inner {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
@ -51,14 +51,6 @@ describe('ForgotPassword', () => {
|
|||||||
expect(wrapper.find('div.forgot-password').exists()).toBeTruthy()
|
expect(wrapper.find('div.forgot-password').exists()).toBeTruthy()
|
||||||
})
|
})
|
||||||
|
|
||||||
// it('has a title', () => {
|
|
||||||
// expect(wrapper.find('h1').text()).toEqual('settings.password.reset')
|
|
||||||
// })
|
|
||||||
|
|
||||||
// it('has a subtitle', () => {
|
|
||||||
// expect(wrapper.find('p.text-lead').text()).toEqual('settings.password.subtitle')
|
|
||||||
// })
|
|
||||||
|
|
||||||
describe('back button', () => {
|
describe('back button', () => {
|
||||||
it('has a "back" button', () => {
|
it('has a "back" button', () => {
|
||||||
expect(wrapper.findComponent(RouterLinkStub).text()).toEqual('back')
|
expect(wrapper.findComponent(RouterLinkStub).text()).toEqual('back')
|
||||||
@ -161,15 +153,5 @@ describe('ForgotPassword', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// describe('comingFrom login', () => {
|
|
||||||
// beforeEach(() => {
|
|
||||||
// wrapper = Wrapper(createMockObject('resetPassword'))
|
|
||||||
// })
|
|
||||||
|
|
||||||
// it('has another subtitle', () => {
|
|
||||||
// expect(wrapper.find('p.text-lead').text()).toEqual('settings.password.resend_subtitle')
|
|
||||||
// })
|
|
||||||
// })
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@ -63,42 +63,12 @@ describe('Login', () => {
|
|||||||
expect(wrapper.find('div.login-form').exists()).toBeTruthy()
|
expect(wrapper.find('div.login-form').exists()).toBeTruthy()
|
||||||
})
|
})
|
||||||
|
|
||||||
// describe('Login header', () => {
|
|
||||||
// it('has a welcome message', () => {
|
|
||||||
// expect(wrapper.find('div.header').text()).toBe('site.login.heading site.login.community')
|
|
||||||
// })
|
|
||||||
// })
|
|
||||||
|
|
||||||
// it('has a Community name', () => {
|
|
||||||
// expect(wrapper.find('.test-communitydata b').text()).toBe('Gradido Entwicklung')
|
|
||||||
// })
|
|
||||||
|
|
||||||
// it('has a Community description', () => {
|
|
||||||
// expect(wrapper.find('.test-communitydata p').text()).toBe(
|
|
||||||
// 'Die lokale Entwicklungsumgebung von Gradido.',
|
|
||||||
// )
|
|
||||||
// })
|
|
||||||
|
|
||||||
describe('links', () => {
|
describe('links', () => {
|
||||||
it('has a link "Forgot Password"', () => {
|
it('has a link "Forgot Password"', () => {
|
||||||
expect(wrapper.findAllComponents(RouterLinkStub).at(0).text()).toEqual(
|
expect(wrapper.findAllComponents(RouterLinkStub).at(0).text()).toEqual(
|
||||||
'settings.password.forgot_pwd',
|
'settings.password.forgot_pwd',
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
// it('links to /forgot-password when clicking "Forgot Password"', () => {
|
|
||||||
// expect(wrapper.findAllComponents(RouterLinkStub).at(0).props().to).toBe('/forgot-password')
|
|
||||||
// })
|
|
||||||
|
|
||||||
// it('has a link "Create new account"', () => {
|
|
||||||
// expect(wrapper.findAllComponents(RouterLinkStub).at(1).text()).toEqual(
|
|
||||||
// 'site.login.new_wallet',
|
|
||||||
// )
|
|
||||||
// })
|
|
||||||
|
|
||||||
// it('links to /register when clicking "Create new account"', () => {
|
|
||||||
// expect(wrapper.findAllComponents(RouterLinkStub).at(1).props().to).toBe('/register')
|
|
||||||
// })
|
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('Login form', () => {
|
describe('Login form', () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user