Commit b6230597 authored by Mark Florian's avatar Mark Florian

Merge branch '233479-add-test-case-updated-by-info' into 'master'

Show test case edited author name

See merge request gitlab-org/gitlab!47056
parents e01c8995 34e8f48a
...@@ -10,6 +10,9 @@ fragment TestCase on Issue { ...@@ -10,6 +10,9 @@ fragment TestCase on Issue {
state state
createdAt createdAt
updatedAt updatedAt
updatedBy {
...Author
}
webUrl webUrl
blocked blocked
confidential confidential
......
...@@ -89,7 +89,7 @@ RSpec.describe 'Test Cases', :js do ...@@ -89,7 +89,7 @@ RSpec.describe 'Test Cases', :js do
page.within('.test-case-container .issuable-details') do page.within('.test-case-container .issuable-details') do
expect(page.find('.title')).to have_content(title) expect(page.find('.title')).to have_content(title)
expect(page.find('.description')).to have_content(description) 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 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