silverstripe / silverstripe-asset-admin

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

MNT Wait for toast to appear for behat in new CI #1280

Closed GuySartorelli closed 2 years ago

GuySartorelli commented 2 years ago

Follow-up to https://github.com/silverstripe/silverstripe-asset-admin/pull/1277

Fixes behat CI run where both behat jobs are reliably failing "tests/behat/features/manage-files.feature:150"

The string "1 folders/files were successfully unpublished" was not found in the HTML of the element matching css ".toast--success".

The screenshot in the artefact sometimes shows the toast, so the functionality it working, but behat is impatient.

Parent issue