Foss Failure: spec/frontend/admin/signup_restrictions/components/signup_form_spec.js
Job [#2600564709](https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/2600564709) failed for gitlab-foss@a6533d71f53cd7f97a31100334154a82a9f37deb: `FOSS_ONLY=1 yarn run jest spec/frontend/admin/signup_restrictions/components/signup_form_spec.js` ``` FAIL spec/frontend/admin/signup_restrictions/components/signup_form_spec.js ● Signup Form › form data › form element [name="application_setting[password_number_required]"] gets true value for value prop when prop passwordNumberRequired is set to true [vue-test-utils]: find did not return [name="application_setting[password_number_required]"], cannot call props() on empty Wrapper 83 | break; 84 | case 'prop': > 85 | expect(formElement.props(formElementKey)).toBe(expected); | ^ 86 | break; 87 | case 'value': 88 | expect(formElement.element.value).toBe(expected); at throwError (node_modules/@vue/test-utils/dist/vue-test-utils.js:1700:9) at ErrorWrapper.props (node_modules/@vue/test-utils/dist/vue-test-utils.js:8928:3) at spec/frontend/admin/signup_restrictions/components/signup_form_spec.js:85:32 ● Signup Form › form data › form element [name="application_setting[password_number_required]"] gets true value for value prop when prop passwordNumberRequired is set to true expect.hasAssertions() Expected at least one assertion to be called but received none. 75 | // make sure that each test actually tests something 76 | // see https://jestjs.io/docs/en/expect#expecthasassertions > 77 | expect.hasAssertions(); | ^ 78 | 79 | // Reset the mocked window.location. This ensures tests don't interfere with 80 | // each other, and removes the need to tidy up if it was changed for a given at Object.<anonymous> (spec/frontend/__helpers__/shared_test_setup.js:77:10) ● Signup Form › form data › form element [name="application_setting[password_lowercase_required]"] gets true value for value prop when prop passwordLowercaseRequired is set to true [vue-test-utils]: find did not return [name="application_setting[password_lowercase_required]"], cannot call props() on empty Wrapper 83 | break; 84 | case 'prop': > 85 | expect(formElement.props(formElementKey)).toBe(expected); | ^ 86 | break; 87 | case 'value': 88 | expect(formElement.element.value).toBe(expected); at throwError (node_modules/@vue/test-utils/dist/vue-test-utils.js:1700:9) at ErrorWrapper.props (node_modules/@vue/test-utils/dist/vue-test-utils.js:8928:3) at spec/frontend/admin/signup_restrictions/components/signup_form_spec.js:85:32 ● Signup Form › form data › form element [name="application_setting[password_lowercase_required]"] gets true value for value prop when prop passwordLowercaseRequired is set to true expect.hasAssertions() Expected at least one assertion to be called but received none. 75 | // make sure that each test actually tests something 76 | // see https://jestjs.io/docs/en/expect#expecthasassertions > 77 | expect.hasAssertions(); | ^ 78 | 79 | // Reset the mocked window.location. This ensures tests don't interfere with 80 | // each other, and removes the need to tidy up if it was changed for a given at Object.<anonymous> (spec/frontend/__helpers__/shared_test_setup.js:77:10) ● Signup Form › form data › form element [name="application_setting[password_uppercase_required]"] gets true value for value prop when prop passwordUppercaseRequired is set to true [vue-test-utils]: find did not return [name="application_setting[password_uppercase_required]"], cannot call props() on empty Wrapper 83 | break; 84 | case 'prop': > 85 | expect(formElement.props(formElementKey)).toBe(expected); | ^ 86 | break; 87 | case 'value': 88 | expect(formElement.element.value).toBe(expected); at throwError (node_modules/@vue/test-utils/dist/vue-test-utils.js:1700:9) at ErrorWrapper.props (node_modules/@vue/test-utils/dist/vue-test-utils.js:8928:3) at spec/frontend/admin/signup_restrictions/components/signup_form_spec.js:85:32 ● Signup Form › form data › form element [name="application_setting[password_uppercase_required]"] gets true value for value prop when prop passwordUppercaseRequired is set to true expect.hasAssertions() Expected at least one assertion to be called but received none. 75 | // make sure that each test actually tests something 76 | // see https://jestjs.io/docs/en/expect#expecthasassertions > 77 | expect.hasAssertions(); | ^ 78 | 79 | // Reset the mocked window.location. This ensures tests don't interfere with 80 | // each other, and removes the need to tidy up if it was changed for a given at Object.<anonymous> (spec/frontend/__helpers__/shared_test_setup.js:77:10) ● Signup Form › form data › form element [name="application_setting[password_symbol_required]"] gets true value for value prop when prop passwordSymbolRequired is set to true [vue-test-utils]: find did not return [name="application_setting[password_symbol_required]"], cannot call props() on empty Wrapper 83 | break; 84 | case 'prop': > 85 | expect(formElement.props(formElementKey)).toBe(expected); | ^ 86 | break; 87 | case 'value': 88 | expect(formElement.element.value).toBe(expected); at throwError (node_modules/@vue/test-utils/dist/vue-test-utils.js:1700:9) at ErrorWrapper.props (node_modules/@vue/test-utils/dist/vue-test-utils.js:8928:3) at spec/frontend/admin/signup_restrictions/components/signup_form_spec.js:85:32 ● Signup Form › form data › form element [name="application_setting[password_symbol_required]"] gets true value for value prop when prop passwordSymbolRequired is set to true expect.hasAssertions() Expected at least one assertion to be called but received none. 75 | // make sure that each test actually tests something 76 | // see https://jestjs.io/docs/en/expect#expecthasassertions > 77 | expect.hasAssertions(); | ^ 78 | 79 | // Reset the mocked window.location. This ensures tests don't interfere with 80 | // each other, and removes the need to tidy up if it was changed for a given at Object.<anonymous> (spec/frontend/__helpers__/shared_test_setup.js:77:10) ```
issue