Skip to content

Commit

Permalink
Exclude timeout deprecation test only on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aik099 committed Nov 12, 2024
1 parent bae768e commit 2c6a20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/WebdriverClassicConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function skipMessage($testCase, $test): ?string
return 'Old Chrome does not allow triggering events.';

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

0 comments on commit 2c6a20c

Please sign in to comment.