https://bugzilla.wikimedia.org/show_bug.cgi?id=72440
Bug ID: 72440 Summary: aliases save button not disabled when clicking edit but not entering or changing anything yet Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: WikidataRepo Assignee: wikidata-b...@lists.wikimedia.org Reporter: aude.w...@gmail.com CC: wikidata-b...@lists.wikimedia.org Web browser: --- Mobile Platform: --- can confirm this... Scenario: Click edit button # features/aliases.feature:23 When I click the aliases edit button # features/step_definitions/aliases_steps.rb:9 Then New alias input field should be there # features/step_definitions/aliases_steps.rb:101 And Aliases edit button should not be there # features/step_definitions/aliases_steps.rb:66 And Aliases cancel button should be there # features/step_definitions/aliases_steps.rb:70 And Aliases save button should be disabled # features/step_definitions/aliases_steps.rb:86 expected #<FalseClass:0> => false got #<TrueClass:20> => true Compared using equal?, which compares object identity, but expected and actual are not the same object. Use `expect(actual).to eq(expected)` if you don't care about object identity in this example. (RSpec::Expectations::ExpectationNotMetError) ./features/step_definitions/aliases_steps.rb:88:in `block (2 levels) in <top (required)>' ./features/step_definitions/aliases_steps.rb:87:in `/^Aliases save button should be disabled$/' features/aliases.feature:28:in `And Aliases save button should be disabled' -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l