Skip to content

Commit 8900b1f

Browse files
committed
Identify SauceLabs tests by name and tags
1 parent c4ec06d commit 8900b1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/functional/WebDriverTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ protected function setUpSauceLabs()
8787
$this->desiredCapabilities->setBrowserName(getenv('BROWSER_NAME'));
8888
$this->desiredCapabilities->setVersion(getenv('VERSION'));
8989
$this->desiredCapabilities->setPlatform(getenv('PLATFORM'));
90+
$this->desiredCapabilities->setCapability('name', get_class($this) . '::' . $this->getName());
91+
$this->desiredCapabilities->setCapability('tags', [get_class($this)]);
9092

9193
if (getenv('TRAVIS_JOB_NUMBER')) {
9294
$this->desiredCapabilities->setCapability('tunnel-identifier', getenv('TRAVIS_JOB_NUMBER'));

0 commit comments

Comments
 (0)