mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge pull request #13 from Human-Connection/integration-testing
Preparation for integration testing
This commit is contained in:
commit
7bce96c171
@ -1,5 +1,4 @@
|
||||
node_modules
|
||||
build
|
||||
.nuxt
|
||||
cypress/
|
||||
styleguide/
|
||||
|
||||
@ -44,6 +44,7 @@
|
||||
:disabled="pending"
|
||||
placeholder="Deine E-Mail"
|
||||
type="email"
|
||||
name="email"
|
||||
icon="envelope"
|
||||
/>
|
||||
<ds-input
|
||||
@ -52,12 +53,15 @@
|
||||
placeholder="Dein Password"
|
||||
icon="lock"
|
||||
icon-right="question-circle"
|
||||
name="password"
|
||||
type="password"
|
||||
/>
|
||||
<ds-button
|
||||
:loading="pending"
|
||||
primary
|
||||
full-width
|
||||
name="submit"
|
||||
type="submit"
|
||||
>
|
||||
Anmelden
|
||||
</ds-button>
|
||||
|
||||
@ -63,6 +63,13 @@ export default {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
/**
|
||||
* The name of the field for better accessibility
|
||||
*/
|
||||
name: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
/**
|
||||
* Whether the input should be automatically focused
|
||||
*/
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
fullWidth && `ds-button-full-width`,
|
||||
loading && `ds-button-loading`
|
||||
]"
|
||||
:name="name"
|
||||
v-bind="bindings"
|
||||
:is="linkTag">
|
||||
<ds-icon
|
||||
@ -74,6 +75,13 @@ export default {
|
||||
return value.match(/(router-link|a|button)/)
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Button name for accessibilty
|
||||
*/
|
||||
name: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
/**
|
||||
* Primary style
|
||||
* `true, false`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user