Commit 85da54bc authored by Angelo Gulina's avatar Angelo Gulina Committed by Nicolò Maria Mezzopera

Add tests to the correct spec file

parent 0f367925
...@@ -20,7 +20,7 @@ import { PIPELINES_TABLE } from '../../constants'; ...@@ -20,7 +20,7 @@ import { PIPELINES_TABLE } from '../../constants';
export default { export default {
i18n: { i18n: {
cancelTitle: __('Cancel'), cancelTitle: __('Cancel'),
redeployTitle: __('Pipelines|Retry'), redeployTitle: __('Retry'),
}, },
directives: { directives: {
GlTooltip: GlTooltipDirective, GlTooltip: GlTooltipDirective,
......
...@@ -8,8 +8,6 @@ msgid "" ...@@ -8,8 +8,6 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gitlab 1.0.0\n" "Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-12 08:34+0200\n"
"PO-Revision-Date: 2020-10-12 08:34+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
...@@ -19006,9 +19004,6 @@ msgstr "" ...@@ -19006,9 +19004,6 @@ msgstr ""
msgid "Pipelines|Project cache successfully reset." msgid "Pipelines|Project cache successfully reset."
msgstr "" msgstr ""
msgid "Pipelines|Retry"
msgstr ""
msgid "Pipelines|Revoke" msgid "Pipelines|Revoke"
msgstr "" msgstr ""
......
...@@ -181,7 +181,9 @@ describe('Pipelines Table Row', () => { ...@@ -181,7 +181,9 @@ describe('Pipelines Table Row', () => {
it('should render the provided actions', () => { it('should render the provided actions', () => {
expect(wrapper.find('.js-pipelines-retry-button').exists()).toBe(true); expect(wrapper.find('.js-pipelines-retry-button').exists()).toBe(true);
expect(wrapper.find('.js-pipelines-retry-button').attributes('title')).toMatch('Retry');
expect(wrapper.find('.js-pipelines-cancel-button').exists()).toBe(true); expect(wrapper.find('.js-pipelines-cancel-button').exists()).toBe(true);
expect(wrapper.find('.js-pipelines-cancel-button').attributes('title')).toMatch('Cancel');
const dropdownMenu = wrapper.find('.dropdown-menu'); const dropdownMenu = wrapper.find('.dropdown-menu');
expect(dropdownMenu.text()).toContain(scheduledJobAction.name); expect(dropdownMenu.text()).toContain(scheduledJobAction.name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment