FOSS broken master in spec/frontend/vue_shared/components/members/avatars/user_avatar_spec.js
https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/766897640:
FAIL spec/frontend/vue_shared/components/members/avatars/user_avatar_spec.js
● MemberList › badges › renders the "Is using seat" badge
[vue-test-utils]: find did not return Component, cannot call text() on empty Wrapper
77 | createComponent({ member });
78 |
> 79 | expect(wrapper.find(GlBadge).text()).toBe(badgeText);
| ^
80 | });
81 |
82 | it('renders the "It\'s you" badge when member is current user', () => {
at throwError (node_modules/@vue/test-utils/dist/vue-test-utils.js:1462:9)
at ErrorWrapper.text (node_modules/@vue/test-utils/dist/vue-test-utils.js:8481:3)
at text (spec/frontend/vue_shared/components/members/avatars/user_avatar_spec.js:79:36)
● MemberList › badges › renders the "Is using seat" badge
expect.hasAssertions()
Expected at least one assertion to be called but received none.
80 | // see https://jestjs.io/docs/en/expect#expecthasassertions
81 | beforeEach(() => {
> 82 | expect.hasAssertions();
| ^
83 | });
84 |
at Object.hasAssertions (spec/frontend/test_setup.js:82:10)
● MemberList › badges › renders the "SAML" badge
[vue-test-utils]: find did not return Component, cannot call text() on empty Wrapper
77 | createComponent({ member });
78 |
> 79 | expect(wrapper.find(GlBadge).text()).toBe(badgeText);
| ^
80 | });
81 |
82 | it('renders the "It\'s you" badge when member is current user', () => {
at throwError (node_modules/@vue/test-utils/dist/vue-test-utils.js:1462:9)
at ErrorWrapper.text (node_modules/@vue/test-utils/dist/vue-test-utils.js:8481:3)
at text (spec/frontend/vue_shared/components/members/avatars/user_avatar_spec.js:79:36)
● MemberList › badges › renders the "SAML" badge
expect.hasAssertions()
Expected at least one assertion to be called but received none.
80 | // see https://jestjs.io/docs/en/expect#expecthasassertions
81 | beforeEach(() => {
> 82 | expect.hasAssertions();
| ^
83 | });
84 |
at Object.hasAssertions (spec/frontend/test_setup.js:82:10)
● MemberList › badges › renders the "Managed Account" badge
[vue-test-utils]: find did not return Component, cannot call text() on empty Wrapper
77 | createComponent({ member });
78 |
> 79 | expect(wrapper.find(GlBadge).text()).toBe(badgeText);
| ^
80 | });
81 |
82 | it('renders the "It\'s you" badge when member is current user', () => {
at throwError (node_modules/@vue/test-utils/dist/vue-test-utils.js:1462:9)
at ErrorWrapper.text (node_modules/@vue/test-utils/dist/vue-test-utils.js:8481:3)
at text (spec/frontend/vue_shared/components/members/avatars/user_avatar_spec.js:79:36)
● MemberList › badges › renders the "Managed Account" badge
expect.hasAssertions()
Expected at least one assertion to be called but received none.
80 | // see https://jestjs.io/docs/en/expect#expecthasassertions
81 | beforeEach(() => {
> 82 | expect.hasAssertions();
| ^
83 | });
84 |
at Object.hasAssertions (spec/frontend/test_setup.js:82:10)
Test Suites: 1 failed, 1 skipped, 340 passed, 341 of 342 total
Tests: 3 failed, 52 skipped, 3538 passed, 3593 total
Snapshots: 48 passed, 48 total
Time: 495.495s
Ran all test suites.
error Command failed with exit code 1.