-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with big_pipe #258
Comments
As a possible Workaround, Wim suggested to force the bigpipe no-js cookie for all requests. |
@Berdir so #259 is passing, but that doesn't actually mean this is fixed (we might just not be testing the right things--although there is a test for printed messages). I haven't been able to find any code in Guzzle, or Goutte, or Mink that indicates if |
I have tons of tests that assert messages. For example, create a node and then check that the confirmation message is shown. Do you have any of those? They all fail for me. |
#259 has been merged, not sure what else can be done here without a way to make the tests fail with big pipe enabled. |
#259 only test messages for anonymous user. |
I know this is stale, but I hit this when needing to test local tasks block.
But tests fail. On |
The PR #259 with the |
You mean #325? It has the Strange enough I had two similar scenarios, one with a publisher user role, one with an editor user role, both log in, access a random node and should click the "Edit" button. For the publisher this worked, for the editor it doesn't. Feature: Let's login as users with certain roles and check that node edit
forms are accessible.
@api
Scenario: Login as publisher and try to edit some random node forms
Given I am logged in as a publisher
And I visit a random URL # custom step
And I click "Edit"
Then I should be redirected to a node form # custom step
And the response status code should be 200
@api
Scenario: Login as editor and try to access some random node forms
Given I am logged in as an editor
And I visit a random URL # custom step
And I click "Edit"
Then I should be redirected to a node form # custom step
And the response status code should be 200 This first one always was successful, the second always failed with:
Finally triggered it down with an HTML screenshot using https://github.com/integratedexperts/behat-screenshot. I searched for the "Edit" string and found it wrapped in some BigPipe related |
And interesting to add, as soon as I used |
#259 was merged in 2016, but I still do not see the Had to convert that class into a trait to include intot my
|
Hello everyone, I just attempted an update from v4.0.1 to v4.1.0 and I also run into issues with big pipe now. I tried the BigPipeContext from #325 but this doesn't seem to fix the issue. @Berdir 's comment here might explain why. The failure happens when it tries to get a task from the Drupal local tasks block. Running git bisect, it identified the following commit as the culprit: f0ecbb4 Any idea on what could be causing this from that commit? Before I investigate further. |
It doesn't seem likely that this commit is related to the big pipe functionality since it is not involved with retrieving data from the page. Maybe the bisect failed because this commit is depending on a development branch of |
I didn't run composer during git bisect.
So I guess logging in to the backend causes big_pipe to change behavior and become truly active? |
Authenticated users bypass |
I'm still on 1.x, but I'm having problems with the big_pipe module in 8.1.
Apparently behat/mink/goutte/guzzle doesn't follow the http-equiv refresh metatag that the module ads, and then it doesn't see messages or other "big-piped" blocks.
We should test if 3x still has that problem and possibly explicitly run the tests against 8.1 + big_pipe
The text was updated successfully, but these errors were encountered: