dk4210's avatar

Dusk passing variabels into test case steps

I'm trying to pass variables from a standalone page to my dusk test case, but cant seem to get it to work.

I new up'd the testVariables page

use Tests\Variables\TestVariables;

I'm trying to figure out how to pass the var $pid to my step in the test case.

->click('a[href="javascript:onedit('. $pid .');"]')

Please advise,

0 likes
1 reply
dk4210's avatar

The $pid is equal to a number.

Please or to participate in this conversation.