diff options
Diffstat (limited to 'spec/frontend/contributors/component/__snapshots__/contributors_spec.js.snap')
-rw-r--r-- | spec/frontend/contributors/component/__snapshots__/contributors_spec.js.snap | 46 |
1 files changed, 42 insertions, 4 deletions
diff --git a/spec/frontend/contributors/component/__snapshots__/contributors_spec.js.snap b/spec/frontend/contributors/component/__snapshots__/contributors_spec.js.snap index 3f812d3cf4e..2f441f0f747 100644 --- a/spec/frontend/contributors/component/__snapshots__/contributors_spec.js.snap +++ b/spec/frontend/contributors/component/__snapshots__/contributors_spec.js.snap @@ -1,9 +1,47 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Contributors charts should render charts when loading completed and there is chart data 1`] = ` +exports[`Contributors charts should render charts and a RefSelector when loading completed and there is chart data 1`] = ` <div> <div - class="contributors-charts" + class="gl-border-b gl-border-gray-100 gl-mb-6 gl-bg-gray-10 gl-p-5" + > + <div + class="gl-display-flex" + > + <div + class="gl-mr-3" + > + <refselector-stub + enabledreftypes="REF_TYPE_BRANCHES,REF_TYPE_TAGS" + name="" + projectid="23" + state="true" + translations="[object Object]" + value="main" + /> + </div> + + <a + class="btn btn-default btn-md gl-button" + data-testid="history-button" + href="some/path" + > + <!----> + + <!----> + + <span + class="gl-button-text" + > + History + + </span> + </a> + </div> + </div> + + <div + data-testid="contributors-charts" > <h4 class="gl-mb-2 gl-mt-5" @@ -49,8 +87,8 @@ exports[`Contributors charts should render charts when loading completed and the class="gl-mb-3" > - 2 commits (jawnnypoo@gmail.com) - + 2 commits (jawnnypoo@gmail.com) + </p> <div> |