Tac Tacelosky

Results 545 comments of Tac Tacelosky

Not quite. I want a way to fill a form with a single object rather than repeating fillField. And ideally a way to fill it by first getting a form,...

yes, I think that'd work. The sometimes-tricky thing is getting the name/identifier of the form elements, especially checkboxes. I prefer name/id to labels, so that working in a multi-lingual environment...

Yep!! On Wed, Apr 10, 2024, 6:38 PM Kevin Bond ***@***.***> wrote: > The use case is for creating detailed answers to questions, like "how do I > add a...

```php ->assertOn('/') ->assertSuccessful() ->assertSee('You have successfully registered') ``` Brainstorming: In each assertX() method, adding this? ```php this->dispatch(new BrowserEvent(payload: {method: __METHOD__, params: get_env_vars()}); ```

> I want to think a bit more about adding this feature as a native method on Zenstruck\Browser. Any more thoughts? Maybe mark dispatching an event as _experimental_ until we...

Actually, a more common practice is to simply generate both: ```php #[DataProvider('provideRoutes')] /** * @dataProvider provideRoutes */ ``` Since attributes are ignored if they don't exist.

I'm almost finished a generator that doesn't use the Symfony maker bundle, so it can be run in the test environment, using the nette/php-generator. How would you like me to...

My fork now supports a Symfony command that generates the tests that doesn't require symfony/maker. One big advantage is that you can generate routes specific to the test environment, e.g....

OK, I think I've figured it out, I need to replace those calls with ClientInterface and RequestFactoryInterface, right?

ack. That's deprecated. ```php /** * Finds an HTTP Client. * * @author Márk Sági-Kazár * * @deprecated This will be removed in 2.0. Consider using Psr18ClientDiscovery. */ final class...