Closed faissalMT closed 4 years ago
Thanks @faissalMT. You're welcome to use our gem if it's helpful to you but we don't currently have a support model for dealing with external queries. I'd suggest using another way to identify specific accordion sections within your tests, such as their content, rather than adding additional production code for testing.
I'm trying to move an existing accordion to instead use this gem, however it seems that there is no way to set the data fields for the
<div>
s that hold each section, this makes testing them difficult: Ordinarily we would place adata-qa=
on each of these<div>
s and pick them out that way, but there doesn't seem to be a way to do this, I would have expected to be able to do something like: