Commit 34e8f48a authored by Kushal Pandya's avatar Kushal Pandya

Use `updatedBy` to show test case edit info

Adds `updatedBy` connection to show edited
by author name in test cases.
parent 48c1a849
......@@ -10,6 +10,9 @@ fragment TestCase on Issue {
state
createdAt
updatedAt
updatedBy {
...Author
}
webUrl
blocked
confidential
......
......@@ -89,7 +89,7 @@ RSpec.describe 'Test Cases', :js do
page.within('.test-case-container .issuable-details') do
expect(page.find('.title')).to have_content(title)
expect(page.find('.description')).to have_content(description)
expect(page.find('.edited-text')).to have_content('')
expect(page.find('.edited-text')).to have_content("Edited just now by #{user.name}")
end
end
end
......
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