summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-09-03 16:36:18 +0200
committerRémy Coutable <remy@rymai.me>2018-09-03 17:41:44 +0200
commit86e5dcdb21f5e83009f877e9c62a9f5252de8d99 (patch)
treeb80cb06f74e85e9caab3da9d6f36b7572c00715e /qa/qa/specs/features
parent48541cacc050b931d884ba828d0901232308b4c4 (diff)
downloadgitlab-ce-86e5dcdb21f5e83009f877e9c62a9f5252de8d99.tar.gz
[QA] Add a new Test::Sanity::Failing scenario that always fails
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'qa/qa/specs/features')
-rw-r--r--qa/qa/specs/features/sanity/failing_spec.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/qa/qa/specs/features/sanity/failing_spec.rb b/qa/qa/specs/features/sanity/failing_spec.rb
new file mode 100644
index 00000000000..7e0480e9067
--- /dev/null
+++ b/qa/qa/specs/features/sanity/failing_spec.rb
@@ -0,0 +1,13 @@
+# 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