summaryrefslogtreecommitdiff
path: root/extensions/PdfHandler/tests/browser/features/pdf.feature
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/PdfHandler/tests/browser/features/pdf.feature')
-rw-r--r--extensions/PdfHandler/tests/browser/features/pdf.feature22
1 files changed, 22 insertions, 0 deletions
diff --git a/extensions/PdfHandler/tests/browser/features/pdf.feature b/extensions/PdfHandler/tests/browser/features/pdf.feature
new file mode 100644
index 00000000..f78dd1ca
--- /dev/null
+++ b/extensions/PdfHandler/tests/browser/features/pdf.feature
@@ -0,0 +1,22 @@
+#
+# This file is subject to the license terms in the LICENSE file found in the
+# qa-browsertests top-level directory and at
+# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
+# qa-browsertests, including this file, may be copied, modified, propagated, or
+# distributed except according to the terms contained in the LICENSE file.
+#
+# Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
+# qa-browsertests top-level directory and at
+# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
+#
+@chrome @firefox @internet_explorer_8 @internet_explorer_9 @internet_explorer_10 @phantomjs @test2.wikipedia.org
+Feature: PDF
+
+ Scenario: Check for Download as PDF link
+ Given I am at a random page
+ Then Download as PDF should be present
+
+ Scenario: Click on Download as PDF link
+ Given I am at a random page
+ When I click on Download as PDF
+ Then Download the file link should be present