Arrbee has uploaded a new change for review. https://gerrit.wikimedia.org/r/80980
Change subject: GWT scenarios for checking consistency of webfont selection settings ...................................................................... GWT scenarios for checking consistency of webfont selection settings Added the two feature files to test the preview of font setting changes and the persistence of the settings after a page reload. Change-Id: Iac41f912f15a0bb87b54c98aceee71bee0272c5a --- A features/backlog/uls_font_selection.feature A features/backlog/uls_font_selection_page_reload.feature 2 files changed, 38 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests refs/changes/80/80980/1 diff --git a/features/backlog/uls_font_selection.feature b/features/backlog/uls_font_selection.feature new file mode 100644 index 0000000..c91629a --- /dev/null +++ b/features/backlog/uls_font_selection.feature @@ -0,0 +1,25 @@ +Feature: Font selection settings + +Background: + Given I am logged-in + And I set "German" as the interface language + And the content language is English + +Scenario: Closing the panel with the 'cancel/close' button should revert any unapplied selections made for the fonts + When I open "Fonts" panel of language settings + And I select a "OpenDyslexic" font for the interface language for the live preview + And I close the panel to discard the changes + Then the selected interface font must be the same as font prior to the preview + +Scenario: Closing the panel with the 'Apply settings' button should preserve any applied selections made for the fonts + When I open "Fonts" panel of language settings + And I select a "OpenDyslexic" font for the interface language for the live preview + And I apply the changes + Then the selected interface font must be changed to the font used for the preview + +Scenario: Closing the panel with the 'cancel/close' button should revert the selection of fonts to the one earlier used + When I open "Fonts" panel of language settings + And I select a "OpenDyslexic" font for the interface language + And I close the panel to discard the changes + And I reopen "Fonts" panel of language settings + Then the selected font displayed as the interface font must be the same as before the intermediate selection diff --git a/features/backlog/uls_font_selection_page_reload.feature b/features/backlog/uls_font_selection_page_reload.feature new file mode 100644 index 0000000..77a6693 --- /dev/null +++ b/features/backlog/uls_font_selection_page_reload.feature @@ -0,0 +1,13 @@ +Feature: Font selection settings across page reloads + +Background: + Given I am logged-in + And I set "German" as the interface language + And the content language is English + +Scenario: Fonts applied from the Language Settings panel are persistent after page reloads + When I open "Fonts" panel of language settings + And change the interface font to "OpenDyslexic" + And I apply the changes + And I visit a random page + Then the selected font should be displayed as the font for the interface language -- To view, visit https://gerrit.wikimedia.org/r/80980 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iac41f912f15a0bb87b54c98aceee71bee0272c5a Gerrit-PatchSet: 1 Gerrit-Project: qa/browsertests Gerrit-Branch: master Gerrit-Owner: Arrbee <run...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits