mediawiki-extensions-PdfHan.../tests/browser/features/pdf.feature
Cmcmahon 3a4584d3e2 QA: port PDF test from /qa/browsertests repo
This test is intended to be run against either test2wiki or
some wiki with proper support for downloading pages as PDF

It does not work in beta labs or in a bare wiki

Change-Id: I16dcc9d2692055c2b972c2a96dfc3f9860115fa4
2014-06-30 15:08:24 -07:00

23 lines
953 B
Gherkin

#
# 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