-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adjust group.editor.feature so we only create content when needed #2405
Conversation
@janette The last time I was dealing with constraint violations was due to a silent failure before the failing test. Did you check on that? It would be odd on a resource due to the primary id being an nid which is an auto-increment, but still worth looking into. |
@fmizzell Yes this is side stepping the real issue but does get us to green. I found this article which seemed worth looking into when we have some devops time https://knpuniversity.com/screencast/behat/clear-data-symfony-extension#clearing-the-database-before-each-scenario And https://gist.github.com/cordoval/1206686#backgrounds |
I think this is still an improvement as we avoid creating an unnecessary resources on 12 scenarios. |
Remove unnecessary creation of resources on scenarios that don't need them. Lets only create resources for the scenarios that need them.