Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Assert alement is not empty #347

Open
bystro opened this issue Jul 25, 2019 · 3 comments
Open

Assert alement is not empty #347

bystro opened this issue Jul 25, 2019 · 3 comments

Comments

@bystro
Copy link

bystro commented Jul 25, 2019

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
Copy link
Author

bystro commented Jul 25, 2019

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

@p2635
Copy link

p2635 commented Aug 28, 2019

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

@bystro
Copy link
Author

bystro commented Aug 28, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants