diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:17:42 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:17:42 -0400 |
commit | f7d4cf9ed0ae68fec630d14e8f6aade38e49f036 (patch) | |
tree | a730c57badbe0e2f0f064ca2006c82d4b6ed54ea /extensions/PdfHandler/tests/browser/features/support | |
parent | aee35e4a93d105024bcae947cd8b16c962191f5c (diff) | |
parent | 5d1e7dd0ccda0984ccf3e8e3d0f88ac888b05819 (diff) |
Merge commit '5d1e7'
Diffstat (limited to 'extensions/PdfHandler/tests/browser/features/support')
-rw-r--r-- | extensions/PdfHandler/tests/browser/features/support/env.rb | 12 | ||||
-rw-r--r-- | extensions/PdfHandler/tests/browser/features/support/pages/random_page.rb | 17 |
2 files changed, 29 insertions, 0 deletions
diff --git a/extensions/PdfHandler/tests/browser/features/support/env.rb b/extensions/PdfHandler/tests/browser/features/support/env.rb new file mode 100644 index 00000000..515ff78a --- /dev/null +++ b/extensions/PdfHandler/tests/browser/features/support/env.rb @@ -0,0 +1,12 @@ +# +# 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 +# +require "mediawiki_selenium" diff --git a/extensions/PdfHandler/tests/browser/features/support/pages/random_page.rb b/extensions/PdfHandler/tests/browser/features/support/pages/random_page.rb new file mode 100644 index 00000000..8d77e976 --- /dev/null +++ b/extensions/PdfHandler/tests/browser/features/support/pages/random_page.rb @@ -0,0 +1,17 @@ +# +# 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 +# +class PdfPage + include PageObject + + a(:download_as_pdf, text: "Download as PDF") + a(:download_the_file, text: "Download the file") +end |