Commit 13f557d0 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'qa-28' into 'master'

[QA] Add a new Test::Sanity::Failing scenario that always fails

Closes gitlab-qa#28

See merge request gitlab-org/gitlab-ce!21477
parents 771cef98 86e5dcdb
......@@ -100,6 +100,7 @@ module QA
end
module Sanity
autoload :Failing, 'qa/scenario/test/sanity/failing'
autoload :Selectors, 'qa/scenario/test/sanity/selectors'
end
end
......
# frozen_string_literal: true
module QA
module Scenario
module Test
module Sanity
##
# This scenario exits with a 1 exit code.
#
class Failing < Template
include Bootable
tags :failing
end
end
end
end
end
# frozen_string_literal: true
module QA
context 'Sanity checks', :orchestrated, :failing do
describe 'Failing orchestrated example' do
it 'always fails' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
expect(page).to have_text("These Aren't the Texts You're Looking For", wait: 1)
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