Jest failure: SidebarDatePicker › renders expected template
Summary of all failing tests
FAIL ee/spec/frontend/epic/components/sidebar_items/sidebar_date_picker_spec.js
● SidebarDatePicker › renders expected template
expect(received).toMatchSnapshot()
Snapshot name: `SidebarDatePicker renders expected template 1`
- Snapshot
+ Received
@@ -19,11 +19,11 @@
<div
class="float-right d-flex"
>
<icon-stub
- cssclasses="help-icon append-right-5"
+ class="help-icon append-right-5"
name="question-o"
size="16"
tabindex="0"
/>
216 | });
217 |
> 218 | expect(wrapper.element).toMatchSnapshot();
| ^
219 | });
220 |
221 | it('renders collapse button when `showToggleSidebar` prop is `true`', () => {
at Object.toMatchSnapshot (ee/spec/frontend/epic/components/sidebar_items/sidebar_date_picker_spec.js:218:29)
Snapshot Summary
› 1 snapshot failed from 1 test suite. Inspect your code changes or run `yarn run jest -u` to update them.
Test Suites: 1 failed, 475 passed, 476 total
Tests: 1 failed, 1 skipped, 4394 passed, 4396 total
Snapshots: 1 failed, 118 passed, 119 total
Time: 354.237s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
https://gitlab.com/gitlab-org/gitlab/-/jobs/311964774
It looks like this started failing after !17399 (merged). cc @xanf @timzallmann