This repository was archived by the owner on Mar 20, 2024. It is now read-only.
Repository navigation
Add some doc of the @insulated tag - #292
Closed
phil-davis wants to merge 1 commit into
Closed
phil-davis wants to merge 1 commit into
phil-davis wants to merge 1 commit into
Conversation
It is a bit difficult to know how much detail to write. For example, Mink ``resetSessions()`` just does ``deleteAllCookies()`` - but writing that detail here would mean that it depends on the implementation of Mink (which might do different things in future), and so such doc here would go out of date and be misleading. The reason I found this stuff is that Microsoft Edge has a problem with its webdriver and deleteAllCookies(). The workaround for the Behat-MinkExtension-Mink-Selenium-EdgeWebDriver chain is to use ``@insulated`` on all scenarios. Then the code path never calls ``deleteAllCookies()`` so we get lucky and can do Edge UI testing with Behat... Can't/shouldn't really document that here! ``@insulated`` was not intentionally provided as a fix for the Edge webdriver!
Contributor
Author
|
Seems that care factor in responding/reviewing/accepting PRs here is low. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It is a bit difficult to know how much detail to write. For example, Mink
resetSessions()just doesdeleteAllCookies()- but writing that detail here would mean that it depends on the implementation of Mink (which might do different things in future), and so such doc here would go out of date and be misleading.The reason I found this stuff is that Microsoft Edge has a problem with its webdriver and
deleteAllCookies(). The workaround for the Behat-MinkExtension-Mink-Selenium-EdgeWebDriver chain is to use@insulatedon all scenarios. Then the code path never callsdeleteAllCookies()so we get lucky and can do Edge UI testing with Behat... Can't/shouldn't really document that here!@insulatedwas not intentionally provided as a fix for the Edge webdriver!