MinkExtension icon indicating copy to clipboard operation
MinkExtension copied to clipboard

Assert alement is not empty

Open bystro opened this issue 5 years ago • 3 comments

Hi girls and boys,

what do you think about the following assertion ? Then the "title" element should not be empty

I would test if my SEO aware title markup is not empty. What do you think? Are you open to PR?

I have found a similar issue on stackoverflow https://stackoverflow.com/questions/27357607/behat-mink-test-to-check-if-element-contains-content

bystro avatar Jul 25 '19 08:07 bystro

Hmm, I have just found https://github.com/mortola/behat-seo-contexts

bystro avatar Jul 25 '19 09:07 bystro

@bystro did behat-seo-contexts work for you?

p2635 avatar Aug 28 '19 10:08 p2635

@p2635 Yes it works indeed. I even start to contribute it.

bystro avatar Aug 28 '19 10:08 bystro