https://bugzilla.wikimedia.org/show_bug.cgi?id=72379
Bug ID: 72379
Summary: Pending fails upon not finding an element (a failure
case that should pass)
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: ---
Reiterating Phabricator task T600 here by request.
The following code within a step definition fails, raising an exception with
the message TODO. The element referenced does not exist on the page, so since
it is within a pending block, it should pass (unless I'm misunderstanding the
use cases of pending).
pending do
on(HomePage) { |page| expect(page.big_image_element).to be_visible }
end
After taking a look at the StrictPending module within Selenium, it seems
likely this is actually a Cucumber bug (since no todo statements are found),
but it would be nice to have a workaround.
--
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