Skip to content

Commit

Permalink
Apparently "chromium" and "edge" browsers also freeze, when setting "…
Browse files Browse the repository at this point in the history
…pageLoad" timeout several times. So skip test in there as well.
  • Loading branch information
aik099 committed Nov 11, 2024
1 parent 93fbc0f commit 6ac9f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/WebdriverClassicConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public function skipMessage($testCase, $test): ?string
case $testCase === EventsTest::class && $test === 'testKeyboardEvents' && $this->isOldChrome():
return 'Old Chrome does not allow triggering events.';

case $testCase === TimeoutTest::class && $this->getBrowserName() === 'chrome':
case $testCase === TimeoutTest::class && $this->getBrowserName() !== 'firefox':
if ($test === 'testDeprecatedShortPageLoadTimeoutThrowsException') {
return 'Attempt to set "pageLoad" timeout for Google Chrome causes a freeze.';
return 'Attempt to set page load timeout several times causes a freeze in this browser.';
}
// no break

Expand Down

0 comments on commit 6ac9f26

Please sign in to comment.