Kevin Bond
Kevin Bond
@WebMamba, have we adequately addressed your concerns?
Is this a bit related to #542? While I did work on the `{% component` syntax, I don't have a great knowledge of twig internals. I copied most of the...
> This should be the easiest one to fix: support both array and the twig attributes class as parameter. Agreed (but I'll have to dig into twig internals), couple questions:...
I know... I'd love this as well but it's pretty advanced stuff. https://github.com/giorgiopogliani/twig-components has this but I couldn't figure out how to port that code into this library.
The idea of an default block was proposed for twig's embed tag - [looks like it is complex](https://github.com/twigphp/Twig/issues/3253#issuecomment-795628865)!
> `$_SERVER['BROWSER_SCREENSHOT_DIR'] = './screenshots';` Yeah, that's the way currently. The env var options got a bit out of control as I added features - I'd like to normalize this at...
@tacman, you can't use the `BROWSER_SCREENSHOT_DIR` env var? I think it would be better to update HasBrowser::pantherBrowser() to accept these as options (I don't think the following works right now):...
Hey! Thanks for the kind words. If I understand correctly, what you want should be possible: ```php $this->browser() ->visit('/register') ->fillField('email', '[email protected]') // ... ->click('Submit') ->assertOn('/') ->assertSuccessful() ->assertSee('You have successfully registered')...
What about this: ```php use Symfony\Component\BrowserKit\AbstractBrowser; $this->browser() ->visit('/login_or_register_or_forgot_password') ->use(function(AbstractBrowser $client) { $client->submitForm('Register', ['email' => '[email protected]', 'name' => 'Mr. Ed.', 'plainPassword' => 'AHorseOfCourse']); }) ->assertOn('/') ->assertSuccessful() ->assertSee('You have successfully registered') ->assertAuthenticated('[email protected]')...
> The use case is for creating detailed answers to questions, like "how do I add a new administrator?". The idea is that I would write a test, run it,...