Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support MinkSelenium2Driver page timeout (#38)
* Support MinkSelenium2Driver page timeout * Trigger deprecation of old-style page timeout * Replace duplicate code with comment * Test deprecations * Rework custom tests to not depend on magic setup * Set up standard defaults to avoid contaminated sessions * [debug] Only run tests that fail * [debug] Adjusted PHPUnit 10 test filtering expression to work on PHPUnit 9 * [debug] remove irrelevant (for debugging) build config sections to speed it up * [debug] Reduce matrix size even more * Don't let driver define Selenium Server default timeouts * [debug] confirm, that timeout tests executed at the beginning would break window tests down the road * Revert "[debug] confirm, that timeout tests executed at the beginning would break window tests down the road" This reverts commit b33289b. * [debug] see if Selenium actually sets timeouts as needed * Don't reset timeout at the test end, because new driver instance is created in setup * [debug] PhpStan fix * [debug] see if session with incorrect timeout is shared between tests * Fixed formatting error * [debug] see if deprecation catching causes timeout issues * [debug] see of sleepy page causes a timeout issue * [debug] change data provider declaration of the timeouts test * [debug] removed debug output in the driver code, because not timeouts are causing the issue with window test * [debug] Look inside GitHub Actions with an SSH session * [debug] start web server outside of PHPUnit bootstrap file * [debug] remove unrelated build config parts * [debug] corrected host of locally started mink server * [debug] corrected hostname for started web server checking * [debug] another try to get local web server running * [debug] reduce test count to figure out why web server is not working * [debug] Experiment with WEB_FIXTURES_HOST env var detection * [debug] another try to debug what URL is actually used by test suite * [debug] another try * Allow overriding env vars from "phpunit.xml.dist" via env vars from GitHub Actions * [debug] removed some of the debug code * [debug] change local web server detection code to avoid it's crashing in the checking process * [debug] try to make web server available for Selenium Server * [debug] undo experimental port mapping * [debug] attempt to start web sever on all ips * [debug] rolled back CI code that reduced build count * [debug] rolled back the debug code, that started web server outside of PHPUnit code * rolled back changes to "phpunit.xml.dist" (to be discussed in other issue) * Partially skip short "pageLoad" timeout test in Google Chrome * Fully skip short "pageLoad" timeout test in Google Chrome * Only skip test added in this PR for Google Chrome * Apparently "chromium" and "edge" browsers also freeze, when setting "pageLoad" timeout several times. So skip test in there as well. * Exclude timeout deprecation test only on GitHub Actions * Minor test fixes and improvements * Disable test on old firefox * Fix minkphp/MinkSelenium2Driver#391 --------- Co-authored-by: Alex <[email protected]>
- Loading branch information