Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
doSelectTriggerTests example
public
function
testJavascriptStates
(
)
{
$this
->
doCheckboxTriggerTests
(
)
;
$this
->
doCheckboxesTriggerTests
(
)
;
$this
->
doTextfieldTriggerTests
(
)
;
$this
->
doRadiosTriggerTests
(
)
;
$this
->
doSelectTriggerTests
(
)
;
$this
->
doMultipleTriggerTests
(
)
;
$this
->
doNestedTriggerTests
(
)
;
}
/** * Tests states of elements triggered by a checkbox element. */
protected
function
doCheckboxTriggerTests
(
)
{
$this
->
drupalGet
(
'form-test/javascript-states-form'
)
;
$page
=
$this
->
getSession
(
)
->
getPage
(
)
;