Indranisen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/62968
Change subject: testscripts included for pdf/uls feature etc.
......................................................................
testscripts included for pdf/uls feature etc.
Change-Id: I2a0ac4f41ae1581d717d17b808eb8f18c0e0e402
---
M features/login.feature
M features/pdf_readonly.feature
M features/uls_accept_language.feature
M features/uls_ime.feature
4 files changed, 75 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests
refs/changes/68/62968/1
diff --git a/features/login.feature b/features/login.feature
index 20e4e9a..95059a9 100644
--- a/features/login.feature
+++ b/features/login.feature
@@ -34,3 +34,13 @@
Scenario: Log in with valid credentials
When Log in as Selenium_user
Then there should be text Selenium user
+
+ Scenario: Login should work fine with username with maximum charaters allowed
+ When Enter a username with maximum characters allowed and enter password
+ Then user should be able to login fine
+ And no error message is displayed
+
+ Scenario: Login should work fine with username having password with maximum
charaters allowed
+ When Enter a username for which password is maximum characters allowed and
enter password
+ Then user should be able to login fine
+ And no error message is displayed
diff --git a/features/pdf_readonly.feature b/features/pdf_readonly.feature
index 1469252..5166ce7 100644
--- a/features/pdf_readonly.feature
+++ b/features/pdf_readonly.feature
@@ -10,3 +10,32 @@
Given I am at random page
When I click on Download as PDF
Then Download the file link should be present
+ Scenario: Check Print/Export option on different tabs
+ Given User loads a MediaWiki/WikiPedia page
+ When User is on Read tab
+ Then Print/Export option is present
+
+ Scenario: Check for Download the file option
+ Given User loads a MediaWiki/WikiPedia page
+ When When User clicks Print/Export option
+ Then Then Download the file option is present
+
+ Scenario: PDF file downloads fine
+ Given User clicks on Print/Export option on MediaWiki/WikiPedia page
+ When User clicks on Download the file link
+ Then PDF file is downloaded
+
+ Scenario: Hyperlinks on the pdf works fine
+ Given User downloads a pdf file using Print/Export option on MediaWiki page
+ When Open the pdf file and click on hyperlinks
+ Then The hyperlinks work fine
+
+Scenario: Images in the pdf do not overlap
+ Given User downloads a pdf file using Print/Export option on MediaWiki page
+ When Open the pdf file and notice the images
+ Then The images are not overlapped to each other
+
+Scenario: Numbering of notes displayed fine in the pdf
+ Given User downloads a pdf file using Print/Export option on WikiPedia page
which has many notes(http://en.wikipedia.org/wiki/Barack_Obama)
+ When Open the pdf file and notice the numbering of notes
+ Then Numbering should match with the web page
diff --git a/features/uls_accept_language.feature
b/features/uls_accept_language.feature
index f273357..e79cb72 100644
--- a/features/uls_accept_language.feature
+++ b/features/uls_accept_language.feature
@@ -1,4 +1,4 @@
-@language @sandbox.translatewiki.net
+@language @sandbox.translatewiki.net
Feature: Universal Language Selector Accept-Language
Scenario Outline: Accept-Language
@@ -12,3 +12,14 @@
| sr | Главна страна |
| sr-ec | Главна страна |
| sr-el | Glavna strana |
+
+ Scenario: Accepted Language tooltip displays previous language
+ Given that my browser's accept language is <languagefrom>
+ When I visit a random page
+ Then I select a different language <languageto>
+ Then selected language tooltip shows previous language <languagefrom>
+
+ Examples:
+ | languagefrom | languageto |
+ | English | Deitsch |
+ | Deitsch | English |
\ No newline at end of file
diff --git a/features/uls_ime.feature b/features/uls_ime.feature
index f172ff2..1312aef 100644
--- a/features/uls_ime.feature
+++ b/features/uls_ime.feature
@@ -5,3 +5,27 @@
Given I am at random page
When I click on an input box
Then I should see the input method keyboard icon at the bottom right
+
+Scenario: User can see input method keyboard icon even on Display settings
+ Given I am at random page
+ When I click on an input box
+ Then I click on Display Settings
+ Then I should see the input method keyboard icon on LHS below Display
+
+ Scenario: User can see input method keyboard icon even on Display settings
-> Font
+ Given I am at random page
+ When I click on an input box
+ Then I click on Display Settings -> Font
+ Then I should see the input method keyboard icon on LHS below Display
+
+ Scenario : User can see input method keyboard icon even after changing
language
+ Given I am at random page on <languagefrom>
+ When I change language to <languageto>
+ Then I click on input box
+ Then I should see the input menthos keyboard icon at the bottom right
+ Examples:
+ | languagefrom | languageto|
+ | de | sr |
+ | sr | sr-ec |
+ | sr-ec | sr-el |
+ | sr-el | de |
\ No newline at end of file
--
To view, visit https://gerrit.wikimedia.org/r/62968
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a0ac4f41ae1581d717d17b808eb8f18c0e0e402
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Indranisen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits