TestBaseClassWeb

Extends \ls\tests\TestBaseClass

Class TestBaseClassWeb this is the base class for functional tests that need browser simulation

package

ls\tests

Methods

setUpBeforeClass

setUpBeforeClass() 
inherited static

tearDownAfterClass

tearDownAfterClass() 
inherited static

Get URL to admin view.

getUrl(array $view) : string
static
todo

Rename to getAdminUrl.

Arguments

$view

array

Response

string

adminLogin

adminLogin(string $userName, string $password) : void
static
throws

Arguments

$userName

string

$password

string

Delete failed login attempts.

deleteLoginTimeout() 
static
throws

importSurvey

importSurvey(string $fileName) : void
inherited static

Arguments

$fileName

string

Properties

web server port TODO this should be in configuration somewhere

webPort : int
static
var

web server port TODO this should be in configuration somewhere

Type(s)

int

webDriver

webDriver : \ls\tests\LimeSurveyWebDriver
static

domain

domain : string
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