Foss broken master: frontend/pipelines/pipelines_table_spec.js
Job #1445971442 failed for 014b8327:
FOSS_ONLY=1 yarn run jest spec/frontend/pipelines/pipelines_table_spec.js
FAIL spec/frontend/pipelines/pipelines_table_spec.js
● Pipelines Table › Pipelines Table › stages cell › upstream linked pipelines › should render only a upstream pipeline
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
189 |
190 | it('should render only a upstream pipeline', () => {
> 191 | expect(findUpstream().exists()).toBe(true);
| ^
192 | expect(findDownstream().exists()).toBe(false);
193 | });
194 |
at Object.<anonymous> (spec/frontend/pipelines/pipelines_table_spec.js:191:43)
● Pipelines Table › Pipelines Table › stages cell › upstream linked pipelines › should pass an array of the correct data to the linked pipeline component
[vue-test-utils]: find did not return [data-testid="mini-graph-upstream"], cannot call props() on empty Wrapper
194 |
195 | it('should pass an array of the correct data to the linked pipeline component', () => {
> 196 | const triggeredByProps = findUpstream().props('triggeredBy');
| ^
197 |
198 | expect(triggeredByProps).toEqual(expect.any(Array));
199 | expect(triggeredByProps).toHaveLength(1);
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:8920:3)
at Object.<anonymous> (spec/frontend/pipelines/pipelines_table_spec.js:196:51)
● Pipelines Table › Pipelines Table › stages cell › upstream linked pipelines › should pass an array of the correct data to the linked pipeline component
expect.hasAssertions()
Expected at least one assertion to be called but received none.
92 | // see https://jestjs.io/docs/en/expect#expecthasassertions
93 | beforeEach(() => {
> 94 | expect.hasAssertions();
| ^
95 | });
96 |
at Object.<anonymous> (spec/frontend/test_setup.js:94:10)
● Pipelines Table › Pipelines Table › stages cell › downstream linked pipelines › should render only a downstream pipeline
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
211 |
212 | it('should render only a downstream pipeline', () => {
> 213 | expect(findDownstream().exists()).toBe(true);
| ^
214 | expect(findUpstream().exists()).toBe(false);
215 | });
216 | });
at Object.<anonymous> (spec/frontend/pipelines/pipelines_table_spec.js:213:45)
● Pipelines Table › Pipelines Table › stages cell › upstream and downstream linked pipelines › should render both downstream and upstream pipelines
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
226 |
227 | it('should render both downstream and upstream pipelines', () => {
> 228 | expect(findDownstream().exists()).toBe(true);
| ^
229 | expect(findUpstream().exists()).toBe(true);
230 | });
231 | });
at Object.<anonymous> (spec/frontend/pipelines/pipelines_table_spec.js:228:45)