Commit ca55cde
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 <aik099@users.noreply.github.com>1 parent 8e3c6ca commit ca55cde
File tree
4 files changed
+57
-17
lines changed- src
- tests
- Custom
4 files changed
+57
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
964 | 972 | | |
965 | 973 | | |
966 | 974 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 9 | | |
21 | 10 | | |
22 | 11 | | |
| |||
59 | 48 | | |
60 | 49 | | |
61 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
62 | 73 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
58 | | - | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
61 | 74 | | |
62 | 75 | | |
63 | 76 | | |
64 | 77 | | |
65 | 78 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 79 | | |
70 | 80 | | |
71 | 81 | | |
| |||
81 | 91 | | |
82 | 92 | | |
83 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
84 | 105 | | |
0 commit comments