Behatch / contexts

Behat extension with most custom helper steps
Other
394 stars 203 forks source link

Check that missing node is not null #289

Open alexislefebvre opened 4 years ago

alexislefebvre commented 4 years ago

I accidentaly wrote this in a test:

    And the JSON node "root[0].createdAt" should not be null
    And the JSON node "root[0].createdAt" should not exist

The expected behaviour is that the node doesn't exist, but should not be null didn't failed.

So I add this test to check if it will fail or not on CI.

alexislefebvre commented 4 years ago

Travis CI didn't report result to the PR. And the CI is broken now: https://travis-ci.org/github/Behatch/contexts/jobs/723377887