After installing and enabling webprofiler I begain to experience what appeared to be caching problems with my Behat scenarios. I run a drupalvm instance with behat v3.1.0 and firefox for testing. Prior to installing I had a series of tests that ran fine. After installing, the tests began to fail for what seemed like cache problems. However, I did not experience the same problems when testing the same scenarios manually from both Firefox and Chrome. After several days of troubleshooting I was not able to identify the core issue, but as soon as I uninstalled webprofiler the tests started passing again.

One of the common problems I experienced was that custom entities were not getting inserted when they were supposed to. It was as if the behat test was using a previous user (that had already been deleted) and that user's content was still active in the database.

I also had cases where messages were not displaying, or were not displaying with the correct content for the scenario.

I'm using Drupal 8.3.4.

Comments

ecrutchfield created an issue. See original summary.

ecrutchfield’s picture

Issue summary: View changes
clemens.tolboom’s picture

You are not telling:

- what Core version you used?
- whether devel-8.x-1.x has similar results?.
- are the failures reproducable or variant?

Can you provide a failing behat test?

ecrutchfield’s picture

Issue summary: View changes
ecrutchfield’s picture

The failures were reproducible. I will try and provide a test case within the week.

willzyx’s picture

Status: Active » Closed (works as designed)

Closing for lack of activity. Feel free to reopen if the issue still exists