From b25b3b2be12d6877b042a0437d167ba64c554bf2 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 12 Nov 2024 08:33:26 +0200 Subject: [PATCH] Exclude timeout deprecation test only on GitHub Actions --- tests/WebdriverClassicConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/WebdriverClassicConfig.php b/tests/WebdriverClassicConfig.php index 48a242f..20e127f 100644 --- a/tests/WebdriverClassicConfig.php +++ b/tests/WebdriverClassicConfig.php @@ -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