Arrbee has uploaded a new change for review. https://gerrit.wikimedia.org/r/63135
Change subject: Adding the feature file to test the bevaiour of the ULS cog icon from the sidebar for logged-in users ...................................................................... Adding the feature file to test the bevaiour of the ULS cog icon from the sidebar for logged-in users Change-Id: I2c0dbac361ffdba37c8f9b29f23cf3c144b39419 --- A features/backlog/uls_cog_sidebar_logged_user.feature 1 file changed, 66 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests refs/changes/35/63135/1 diff --git a/features/backlog/uls_cog_sidebar_logged_user.feature b/features/backlog/uls_cog_sidebar_logged_user.feature new file mode 100644 index 0000000..d894566 --- /dev/null +++ b/features/backlog/uls_cog_sidebar_logged_user.feature @@ -0,0 +1,66 @@ +Feature: ULS cog behaviour on the side-bar for logged in users + +Background: In all of the following scenarios the global variable $wgULSPosition is set to 'interlanguage' for the wiki. + And Base language at the start of the test is English + And the tests needs to run with a logged-in user + And the URL is http://en.wikipedia.beta.wmflabs.org/wiki/Main_Page + +Scenario: The cog icon is visible in the sidebar on an article without interlanguage links + Given I am on a wiki content page without interlanguage links + When I scroll to the area where interlanguage links are supposed to be + Then I should see a cog icon near the 'Languages' header + +Scenario: The cog icon is visible in the sidebar on an article with interlanguage links + Given I am on a wiki content page with interlanguage links + When I scroll to the area where interlanguage links are + Then I should see a cog icon near the 'Languages' header + +Scenario: The cog icon is visible in the sidebar on the talk page of an article without interlanguage links + Given I am on a talk page of an article without interlanguage links + When I scroll to the area where interlanguage links are on articles + Then I should see a cog icon near the 'Languages' header + +Scenario: The cog icon is visible in the sidebar on the talk page of an article with interlanguage links + Given I am on a talk page of an article with interlanguage links + When I scroll to the area where interlanguage links are on articles + Then I should see a cog icon near the 'Languages' header + +Scenario: Clicking the cog icon opens the Language Settings panel + Given I am on a wiki page + When I click on the cog icon near the interlanguage links on the side-bar + Then the "Language Settings" panel appears + +Scenario: Clicking the cog icon when the Language settings panel is open closes it + Given I am on a wiki page with the Language settings panel open + When I click on the cog icon near the interlanguage links + Then the "Language settings" panel disappears + +Scenario: Clicking the cancel button in the Language settings panel closes it + Given I am on a wiki page with the Language settings panel open + When I click on the "Cancel" button in the panel + Then the "Language settings" panel disappears + +Scenario: Clicking the cog after closing the Language settings panel using the Cancel button opens the panel + Given I closed the Language settings panel using the Cancel button + When I click on the cog icon + Then the "Language settings" panel appears + +Scenario: Clicking the X button in the Language settings panel closes it + Given I am on a wiki page with the Language settings panel open + When I click on the X close button in the panel + Then the "Language settings" panel disappears + +Scenario: Clicking the cog after closing the Language settings panel using the X button opens the panel + Given I closed the Language settings panel using the X close button + When I click on the cog icon + Then the "Language settings" panel appears + +Scenario: Clicking the 'Apply Settings' after making a change button in the Language settings panel closes it + Given I am on a wiki page with the Language settings panel open + When I click on the apply settings button in the panel + Then the "Language settings" panel disappears + +Scenario: Clicking the cog after closing the Language settings panel using the Apply Settings' button opens the panel + Given I closed the Language settings panel using the apply settings button + When I click on the cog icon + Then the "Language settings" panel appears -- To view, visit https://gerrit.wikimedia.org/r/63135 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2c0dbac361ffdba37c8f9b29f23cf3c144b39419 Gerrit-PatchSet: 1 Gerrit-Project: qa/browsertests Gerrit-Branch: master Gerrit-Owner: Arrbee <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
