Skip to content

Commit

Permalink
remove missing installer css
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Jan 2, 2018
1 parent 818c051 commit 815076f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/controllers/InstallationControllerTest.php
Expand Up @@ -125,13 +125,12 @@ public function testBasic()
$adminLoginPwd->clear()->sendKeys($password);
$confirmPwd->clear()->sendKeys($password);


// Confirm optional settings (admin password etc).
self::findAndClick(WebDriverBy::cssSelector('input[type="submit"]'),10);

// Go to administration.
self::findAndClick(WebDriverBy::id('ls-administration'),10);
$this->assertTrue(true);
return;

// Set debug=2
/* TODO: Can't write to config.php after installation.
Expand All @@ -152,8 +151,11 @@ public function testBasic()
$urlMan = \Yii::app()->urlManager;
$urlMan->setUrlFormat($config['components']['urlManager']['urlFormat']);

// Login.

// Login & assert.
self::adminLogin($username, $password);


} catch (NoSuchElementException $ex) {
self::$testHelper->takeScreenshot(self::$webDriver, (new \ReflectionClass($this))->getShortName() . '_' . __FUNCTION__);
$this->assertFalse(
Expand Down

0 comments on commit 815076f

Please sign in to comment.