#218 open
iGEL

Don't care about inline elements in the response

Reported by iGEL | April 12th, 2009 @ 06:38 AM

In cucumber I wanted to check the response body for "Leader: xxx". But xxx is a link to the user page and I couldn't think of a way to test for that text.

My solution would be to ignore all or most inline elements in the response, like a, b, i, u, span or label. Usually you care about the text, not formating. So webrat shouldn't neither.

Comments and changes to this ticket

  • gaffo

    gaffo May 7th, 2009 @ 06:50 PM

    • State changed from “new” to “open”

    Can you please provide some specific html and code examples for this as I'm not quite sure what you mean. Thanks!

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Pages