Commit 7bf29a18 authored by Simon Knox's avatar Simon Knox

Merge branch 'selhorn-todo-update-1' into 'master'

Updated to-do to match guidance

See merge request gitlab-org/gitlab!70021
parents 39a425ca 635983c5
......@@ -72,7 +72,7 @@ export default {
});
},
/**
* We're using Public REST API to add Test Case as a Todo since
* We're using Public REST API to add Test Case as a to-do item since
* GraphQL mutation to do the same is unavailable as of now.
*/
addTestCaseAsTodo() {
......@@ -83,7 +83,7 @@ export default {
})
.catch((error) => {
createFlash({
message: s__('TestCases|Something went wrong while adding test case to Todo.'),
message: s__('TestCases|Something went wrong while adding test case to a to-do item.'),
captureError: true,
error,
});
......@@ -112,7 +112,9 @@ export default {
})
.catch((error) => {
createFlash({
message: s__('TestCases|Something went wrong while marking test case todo as done.'),
message: s__(
'TestCases|Something went wrong while marking test case to-do item as done.',
),
captureError: true,
error,
});
......
......@@ -139,7 +139,7 @@ describe('TestCaseGraphQL Mixin', () => {
return wrapper.vm.addTestCaseAsTodo().then(() => {
expect(createFlash).toHaveBeenCalledWith({
message: 'Something went wrong while adding test case to Todo.',
message: 'Something went wrong while adding test case to a to-do item.',
captureError: true,
error: expect.any(Object),
});
......@@ -201,7 +201,7 @@ describe('TestCaseGraphQL Mixin', () => {
return wrapper.vm.markTestCaseTodoDone().then(() => {
expect(createFlash).toHaveBeenCalledWith({
message: 'Something went wrong while marking test case todo as done.',
message: 'Something went wrong while marking test case to-do item as done.',
captureError: true,
error: expect.any(Object),
});
......
......@@ -33112,7 +33112,7 @@ msgstr ""
msgid "TestCases|Search test cases"
msgstr ""
msgid "TestCases|Something went wrong while adding test case to Todo."
msgid "TestCases|Something went wrong while adding test case to a to-do item."
msgstr ""
msgid "TestCases|Something went wrong while creating a test case."
......@@ -33124,7 +33124,7 @@ msgstr ""
msgid "TestCases|Something went wrong while fetching test cases list."
msgstr ""
msgid "TestCases|Something went wrong while marking test case todo as done."
msgid "TestCases|Something went wrong while marking test case to-do item as done."
msgstr ""
msgid "TestCases|Something went wrong while moving test case."
......
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