https://bugzilla.wikimedia.org/show_bug.cgi?id=72149
Bug ID: 72149
Summary: create custom RSpec matchers for when_present,
when_not_present, etc
Product: Wikimedia
Version: wmf-deployment
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Quality Assurance
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
see the discussion at
https://lists.wikimedia.org/pipermail/qa/2014-October/002021.html
this would allow us to not have to make 2-line Then statements along the lines
of
Then(/^the top post is an open discussion$/) do
on(FlowPage) do |page|
page.flow_first_topic_moderation_msg_element.when_not_present
expect(page.flow_first_topic_moderation_element).not_to be_visible
end
end
--
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