Skip to content

Commit

Permalink
fix clicktests
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Jan 2, 2018
1 parent 8fe2efa commit e460d2c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tests/controllers/AdminViewsTest.php
Expand Up @@ -175,8 +175,6 @@ public function testParticipantsViews($name,$view){
* @dataProvider addAdminClickViews
*/
public function testAdminClickViews($name,$view){
$this->markTestSkipped();
return;

$user = self::$user;
if(isset($view['username'])){
Expand All @@ -188,13 +186,7 @@ public function testAdminClickViews($name,$view){
$this->openView($url);

try{
self::$webDriver->wait(2)->until(
WebDriverExpectedCondition::presenceOfAllElementsLocatedBy(
WebDriverBy::id($view['clickId'])
)
);
$clickable = self::$webDriver->findElement(WebDriverBy::id($view['clickId']));
$clickable->click();
self::findAndClick(WebDriverBy::id($view['clickId']),10);
$element = $this->findViewTag($name);
$this->assertNotEmpty(
$element,
Expand Down

0 comments on commit e460d2c

Please sign in to comment.