[QA] Attributes are not populated on browser fabrication
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Presently we fabricate resources via the API, the attributes for said resources are populated based on the rest result as expected
issue = Resource::Issue.fabricate_via_api! do
issue.name = 'hi'
end
issue.id #=> 17
The same should be the case for resources fabricated from the browser.
issue = Resource::Issue.fabricate_via_browser_ui! do
issue.name = 'hi'
end
issue.id #=> NoValueError
Intended users
Proposal
One solution that comes to mind is after the resource is fabricated on the UI, we query the API to populate the attributes.
Edited by 🤖 GitLab Bot 🤖