https://bugzilla.wikimedia.org/show_bug.cgi?id=56243
--- Comment #5 from Ċ½eljko Filipin <[email protected]> --- But if change the expectation to the example from rspec documentation (so the expectation inside the pending block no longer fails: pending('bug #56081') do true.should be(true) end I was expecting the scenario to fail, but it did not fail: $ bundle exec cucumber -f pretty features/font_selection.feature:23 Using the default profile... @commons.wikimedia.beta.wmflabs.org @login @reset-preferences-after Feature: Font selection In order to have better using experience, As a reader and writer, I want to change or disable the fonts for interface and content. In addition the user is provided live preview feature: changes are applied immediately when selection is made. Changes can either be applied or discarded for easy testing. Background: # features/font_selection.feature:12 Given I am logged in # features/step_definitions/common_steps.rb:8 And I set "German" as the interface language # features/step_definitions/common_steps.rb:12 And I open ULS # features/step_definitions/font_selection_steps.rb:1 And I open display settings # features/step_definitions/font_selection_steps.rb:5 When I open fonts panel of language settings # features/step_definitions/font_selection_steps.rb:9 Scenario: Discarding live preview of content font # features/font_selection.feature:23 When I select "OpenDyslexic" font for the content language for the live preview # features/step_definitions/panel_steps.rb:38 And I close the panel to discard the changes # features/step_definitions/panel_steps.rb:43 Then the active content font must be the same as font prior to the preview # features/step_definitions/font_selection_steps.rb:13 Expected pending 'bug #56081' to fail. No Error was raised. No longer pending? (Cucumber::Pending) ./features/step_definitions/font_selection_steps.rb:14:in `/^the active content font must be the same as font prior to the preview$/' features/font_selection.feature:26:in `Then the active content font must be the same as font prior to the preview' And the selected content font must be "system" # features/step_definitions/font_selection_steps.rb:19 1 scenario (1 pending) 9 steps (1 skipped, 1 pending, 7 passed) 0m59.764s -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
