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
78bd5b14
Commit
78bd5b14
authored
Dec 03, 2020
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove fa- instances from js specs
parent
157d1a60
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
ee/spec/frontend/filtered_search/filtered_search_manager_spec.js
.../frontend/filtered_search/filtered_search_manager_spec.js
+1
-1
spec/frontend/alerts_service_settings/components/alerts_service_form_spec.js
...s_service_settings/components/alerts_service_form_spec.js
+2
-2
spec/frontend/branches/ajax_loading_spinner_spec.js
spec/frontend/branches/ajax_loading_spinner_spec.js
+1
-1
spec/frontend/filtered_search/filtered_search_manager_spec.js
.../frontend/filtered_search/filtered_search_manager_spec.js
+1
-1
spec/frontend/lib/utils/common_utils_spec.js
spec/frontend/lib/utils/common_utils_spec.js
+2
-2
No files found.
ee/spec/frontend/filtered_search/filtered_search_manager_spec.js
View file @
78bd5b14
...
@@ -33,7 +33,7 @@ describe('Filtered Search Manager (EE)', () => {
...
@@ -33,7 +33,7 @@ describe('Filtered Search Manager (EE)', () => {
${
FilteredSearchSpecHelper
.
createInputHTML
()}
${
FilteredSearchSpecHelper
.
createInputHTML
()}
</ul>
</ul>
<button class="clear-search" type="button">
<button class="clear-search" type="button">
<
i class="fa fa-times"></i
>
<
svg class="s16 clear-search-icon" data-testid="close-icon"><use xlink:href="icons.svg#close" /></svg
>
</button>
</button>
</form>
</form>
</div>
</div>
...
...
spec/frontend/alerts_service_settings/components/alerts_service_form_spec.js
View file @
78bd5b14
...
@@ -42,8 +42,8 @@ describe('AlertsServiceForm', () => {
...
@@ -42,8 +42,8 @@ describe('AlertsServiceForm', () => {
mockAxios
=
new
MockAdapter
(
axios
);
mockAxios
=
new
MockAdapter
(
axios
);
setFixtures
(
`
setFixtures
(
`
<div>
<div>
<span class="js-service-active-status
fa fa-circle" data-value="true"
></span>
<span class="js-service-active-status
" data-value="true"><svg class="s16 cgreen" data-testid="check-icon"><use xlink:href="icons.svg#check" /></svg
></span>
<span class="js-service-active-status
fa fa-power-off" data-value="false"
></span>
<span class="js-service-active-status
" data-value="false"><svg class="s16 clgray" data-testid="power-icon"><use xlink:href="icons.svg#power" /></svg
></span>
</div>`
);
</div>`
);
});
});
...
...
spec/frontend/branches/ajax_loading_spinner_spec.js
View file @
78bd5b14
...
@@ -9,7 +9,7 @@ describe('Ajax Loading Spinner', () => {
...
@@ -9,7 +9,7 @@ describe('Ajax Loading Spinner', () => {
<a class="js-ajax-loading-spinner"
<a class="js-ajax-loading-spinner"
data-remote
data-remote
href="http://goesnowhere.nothing/whereami">
href="http://goesnowhere.nothing/whereami">
<i class="fa fa-trash-o"></i>
Remove me
</a></div>`
;
</a></div>`
;
AjaxLoadingSpinner
.
init
();
AjaxLoadingSpinner
.
init
();
ajaxLoadingSpinnerElement
=
document
.
querySelector
(
'
.js-ajax-loading-spinner
'
);
ajaxLoadingSpinnerElement
=
document
.
querySelector
(
'
.js-ajax-loading-spinner
'
);
...
...
spec/frontend/filtered_search/filtered_search_manager_spec.js
View file @
78bd5b14
...
@@ -69,7 +69,7 @@ describe('Filtered Search Manager', () => {
...
@@ -69,7 +69,7 @@ describe('Filtered Search Manager', () => {
${
FilteredSearchSpecHelper
.
createInputHTML
(
placeholder
)}
${
FilteredSearchSpecHelper
.
createInputHTML
(
placeholder
)}
</ul>
</ul>
<button class="clear-search" type="button">
<button class="clear-search" type="button">
<
i class="fa fa-times"></i
>
<
svg class="s16 clear-search-icon" data-testid="close-icon"><use xlink:href="icons.svg#close" /></svg
>
</button>
</button>
</form>
</form>
</div>
</div>
...
...
spec/frontend/lib/utils/common_utils_spec.js
View file @
78bd5b14
...
@@ -526,8 +526,8 @@ describe('common_utils', () => {
...
@@ -526,8 +526,8 @@ describe('common_utils', () => {
});
});
it
(
'
should set svg className when passed
'
,
()
=>
{
it
(
'
should set svg className when passed
'
,
()
=>
{
expect
(
commonUtils
.
spriteIcon
(
'
test
'
,
'
f
a fa-test
'
)).
toEqual
(
expect
(
commonUtils
.
spriteIcon
(
'
test
'
,
'
f
irst-icon-class second-icon-class
'
)).
toEqual
(
'
<svg class="f
a fa-test
"><use xlink:href="icons.svg#test" /></svg>
'
,
'
<svg class="f
irst-icon-class second-icon-class
"><use xlink:href="icons.svg#test" /></svg>
'
,
);
);
});
});
});
});
...
...
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