Skip to content

Commit 69a4e35

Browse files
committed
Test: close first tab and close all tabs
1 parent 27d47ae commit 69a4e35

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/web/WebDriverTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,10 @@ public function testBrowserTabs()
10251025
$this->module->switchToNextTab(2);
10261026
$this->module->seeInCurrentUrl('example1');
10271027
$this->module->seeNumberOfTabs(3);
1028+
$this->module->closeTab();
1029+
$this->module->seeNumberOfTabs(2);
1030+
$this->module->closeTab();
1031+
$this->module->closeTab();
10281032
}
10291033

10301034
public function testPerformOnWithArray()

0 commit comments

Comments
 (0)