Laravel - Browser Tests - Waiting On Vue Expressions
The waitUntilVue
and waitUntilVueIsNot
methods may be used to wait until a Vue component attribute has a given value:
// Wait until the component attribute contains the given value...
$browser->waitUntilVue('user.name', 'Taylor', '@user');
// Wait until the component attribute doesn't contain the given value...
$browser->waitUntilVueIsNot('user.name', null, '@user');