silverstripe / silverstripe-asset-admin

Silverstripe assets gallery for asset management
BSD 3-Clause "New" or "Revised" License
20 stars 79 forks source link

MNT Better detection of status-flags in behat #1281

Closed emteknetnz closed 2 years ago

emteknetnz commented 2 years ago

Issue https://github.com/silverstripe/gha-ci/issues/37

Fix timing issue, also use same detection style as the rest of the test

https://github.com/silverstripe/silverstripe-graphql/runs/7460745250?check_suite_focus=true Then I should not see a ".editor__status-flag" element# SilverStripe\AssetAdmin\Tests\Behat\Context\FeatureContext::assertElementNotOnPage() An element matching css ".editor__status-flag" appears on this page, but it should not. (Behat\Mink\Exception\ExpectationException)