Commit 6eed345b authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'fix-input-debounce-gitlab-ui-integration-test' into 'master'

GitLab UI: fix-input-debounce integration branch

See merge request gitlab-org/gitlab!38824
parents 0f80f3dd e447cd3a
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
:class="{ 'is-invalid': Boolean(formErrors[formGroup.key]) }" :class="{ 'is-invalid': Boolean(formErrors[formGroup.key]) }"
class="col-sm-3" class="col-sm-3"
type="number" type="number"
@input="checkCapacity(formGroup)" @update="checkCapacity(formGroup)"
/> />
</gl-form-group> </gl-form-group>
</div> </div>
......
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
:class="{ 'is-invalid': Boolean(formErrors.name) }" :class="{ 'is-invalid': Boolean(formErrors.name) }"
data-qa-selector="node_name_field" data-qa-selector="node_name_field"
type="text" type="text"
@input="checkName" @update="checkName"
/> />
<span class="gl-text-gray-700 m-n5 gl-z-index-2">{{ 255 - nodeData.name.length }}</span> <span class="gl-text-gray-700 m-n5 gl-z-index-2">{{ 255 - nodeData.name.length }}</span>
</div> </div>
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
:class="{ 'is-invalid': Boolean(formErrors.url) }" :class="{ 'is-invalid': Boolean(formErrors.url) }"
data-qa-selector="node_url_field" data-qa-selector="node_url_field"
type="text" type="text"
@input="checkUrl" @update="checkUrl"
/> />
<span class="gl-text-gray-700 m-n5 gl-z-index-2">{{ 255 - nodeData.url.length }}</span> <span class="gl-text-gray-700 m-n5 gl-z-index-2">{{ 255 - nodeData.url.length }}</span>
</div> </div>
......
...@@ -56,6 +56,7 @@ export default { ...@@ -56,6 +56,7 @@ export default {
v-model="timeout" v-model="timeout"
class="col-sm-2" class="col-sm-2"
type="number" type="number"
number
:class="{ 'is-invalid': Boolean(formErrors.timeout) }" :class="{ 'is-invalid': Boolean(formErrors.timeout) }"
@blur="checkTimeout" @blur="checkTimeout"
/> />
......
...@@ -107,7 +107,7 @@ describe('GeoSettingsForm', () => { ...@@ -107,7 +107,7 @@ describe('GeoSettingsForm', () => {
beforeEach(() => { beforeEach(() => {
createStore(); createStore();
createComponent(); createComponent();
findGeoSettingsTimeoutField().vm.$emit('input', data); findGeoSettingsTimeoutField().setValue(data);
findGeoSettingsTimeoutField().trigger('blur'); findGeoSettingsTimeoutField().trigger('blur');
}); });
...@@ -134,7 +134,7 @@ describe('GeoSettingsForm', () => { ...@@ -134,7 +134,7 @@ describe('GeoSettingsForm', () => {
beforeEach(() => { beforeEach(() => {
createStore(); createStore();
createComponent(); createComponent();
findGeoSettingsAllowedIpField().vm.$emit('input', data); findGeoSettingsAllowedIpField().setValue(data);
findGeoSettingsAllowedIpField().trigger('blur'); findGeoSettingsAllowedIpField().trigger('blur');
}); });
......
...@@ -848,10 +848,10 @@ ...@@ -848,10 +848,10 @@
resolved "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-1.158.0.tgz#300d416184a2b0e05f15a96547f726e1825b08a1" resolved "https://registry.yarnpkg.com/@gitlab/svgs/-/svgs-1.158.0.tgz#300d416184a2b0e05f15a96547f726e1825b08a1"
integrity sha512-5OJl+7TsXN9PJhY6/uwi+mTwmDZa9n/6119rf77orQ/joFYUypaYhBmy/1TcKVPsy5Zs6KCxE1kmGsfoXc1TYA== integrity sha512-5OJl+7TsXN9PJhY6/uwi+mTwmDZa9n/6119rf77orQ/joFYUypaYhBmy/1TcKVPsy5Zs6KCxE1kmGsfoXc1TYA==
"@gitlab/ui@18.6.2": "@gitlab/ui@18.7.0":
version "18.6.2" version "18.7.0"
resolved "https://registry.yarnpkg.com/@gitlab/ui/-/ui-18.6.2.tgz#92d18dd36482ae412500820835e9d62f30f108d4" resolved "https://registry.yarnpkg.com/@gitlab/ui/-/ui-18.7.0.tgz#aee0054d50e50aaf9e7c4ea4b9e36ca4b97102bf"
integrity sha512-3g22Q9RM1rmexipsZdroETJXd20+Fam1CHsC1h8vOWV4Fad5u3lgQp3KIQQlbmROIGTJ4PbiwE1Qldg+XAMsUw== integrity sha512-y1Gix1aCHvVO+zh6TCDmsCr97nLLHFnfEZRtg69EBnLBCLgwBcucC3mNeR4Q2EHTWjy/5U035UkyW6LDRX05mA==
dependencies: dependencies:
"@babel/standalone" "^7.0.0" "@babel/standalone" "^7.0.0"
"@gitlab/vue-toasted" "^1.3.0" "@gitlab/vue-toasted" "^1.3.0"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment