ScreenOutTest

Extends \ls\tests\TestBaseClassWeb

Test survey when all other questions relevance is 0, due to first question being yes or no.

since 2017-11-16
group

screenout

package

Default

Methods

adminLogin

adminLogin(string $userName, string $password) : void
inherited static
Throws
\Exception
\Facebook\WebDriver\Exception\NoSuchElementException

Arguments

$userName

string

$password

string

Delete failed login attempts.

deleteLoginTimeout() 
inherited static
Throws
\CDbException

getSurveyUrl

getSurveyUrl( $lang = 'en') : string
inherited

Arguments

$lang

Response

string

Get URL to admin view.

getUrl(array $view) : string
inherited static
todo

Rename to getAdminUrl.

Arguments

$view

array

Response

string

importSurvey

importSurvey(string $fileName) : void
inherited static

Arguments

$fileName

string

setUpBeforeClass

setUpBeforeClass() 
inherited static

tearDownAfterClass

tearDownAfterClass() 
inherited static

Test answer "No answer" on first question.

testNoAnswer() 

testYes

testYes() 

Properties

web server port TODO this should be in configuration somewhere

webPort : integer
inherited static
var

web server port TODO this should be in configuration somewhere

Type(s)

integer

webDriver

webDriver : \ls\tests\LimeSurveyWebDriver
inherited static

domain

domain : string
inherited static
var

Type(s)

string

testHelper

testHelper : \ls\tests\TestHelper
inherited static
var

Type(s)

\ls\tests\TestHelper

tempFolder

tempFolder : string
inherited static
var

Type(s)

string

screenshotsFolder

screenshotsFolder : string
inherited static
var

Type(s)

string

surveysFolder

surveysFolder : string
inherited static
var

Type(s)

string

dataFolder

dataFolder : string
inherited static
var

Type(s)

string

viewsFolder

viewsFolder : string
inherited static
var

Type(s)

string

testSurvey

testSurvey : \Survey
inherited static
var

Type(s)

\Survey

surveyId

surveyId : integer
inherited static
var

Type(s)

integer