Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
37afcad3
Commit
37afcad3
authored
Sep 18, 2020
by
Jarek Ostrowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add back context commits modal spec snapshot
parent
ad2f6969
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
4 deletions
+54
-4
add_context_commits_modal_spec.js.snap
add_context_commits_modal_spec.js.snap
+50
-0
spec/frontend/add_context_commits_modal/components/__snapshots__/add_context_commits_modal_spec.js.snap
...ents/__snapshots__/add_context_commits_modal_spec.js.snap
+4
-4
No files found.
add_context_commits_modal_spec.js.snap
0 → 100644
View file @
37afcad3
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`AddContextCommitsModal renders modal with 2 tabs 1`] = `
<gl-modal-stub
body-class="add-review-item pt-0"
cancel-variant="light"
modalclass=""
modalid="add-review-item"
ok-disabled="true"
ok-title="Save changes"
scrollable="true"
size="md"
title="Add or remove previously merged commits"
titletag="h4"
>
<gl-tabs-stub
contentclass="pt-0"
theme="indigo"
value="0"
>
<gl-tab-stub>
<div
class="mt-2"
>
<gl-search-box-by-type-stub
clearbuttontitle="Clear"
placeholder="Search by commit title or SHA"
value=""
/>
<review-tab-container-stub
commits=""
emptylisttext="Your search didn't match any commits. Try a different query."
loadingfailedtext="Unable to load commits. Try again later."
/>
</div>
</gl-tab-stub>
<gl-tab-stub>
<review-tab-container-stub
commits=""
emptylisttext="Commits you select appear here. Go to the first tab and select commits to add to this merge request."
loadingfailedtext="Unable to load commits. Try again later."
/>
</gl-tab-stub>
</gl-tabs-stub>
</gl-modal-stub>
`;
spec/frontend/add_context_commits_modal/components/__snapshots__/add_context_commits_modal_spec.js.snap
View file @
37afcad3
...
...
@@ -19,7 +19,7 @@ exports[`AddContextCommitsModal renders modal with 2 tabs 1`] = `
value="0"
>
<gl-tab-stub>
<div
class="mt-2"
>
...
...
@@ -28,7 +28,7 @@ exports[`AddContextCommitsModal renders modal with 2 tabs 1`] = `
placeholder="Search by commit title or SHA"
value=""
/>
<review-tab-container-stub
commits=""
emptylisttext="Your search didn't match any commits. Try a different query."
...
...
@@ -36,9 +36,9 @@ exports[`AddContextCommitsModal renders modal with 2 tabs 1`] = `
/>
</div>
</gl-tab-stub>
<gl-tab-stub>
<review-tab-container-stub
commits=""
emptylisttext="Commits you select appear here. Go to the first tab and select commits to add to this merge request."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment