Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
doMultipleTriggerTests 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
(
)
;
// Find trigger and target elements.