Commit 9c63f54f authored by Walmyr Lima's avatar Walmyr Lima

Create end-to-end test for issues analytics

parent 8b2422c6
# frozen_string_literal: true
module QA
context 'Plan' do
describe 'Issues analytics' do
let(:issue) do
Resource::Issue.fabricate_via_api! do |issue|
issue.title = 'Issue to test Issues Analytics'
end
end
before do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
end
it 'displays a graph' do
page.visit("#{issue.project.group.web_url}/-/issues_analytics")
EE::Page::Group::IssuesAnalytics.perform do |issues_analytics|
expect(issues_analytics.graph).to be_visible
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