If you have the testers that would be the best option.
PurHur
@PurHur
You dont need dedicated persons to write that. Its only like 2 lines or something like that. It doesnt cost that much.
pmaasz
@pmaasz
I tried Scenario Outlines for the first time for the registration steps and it makes the tests pretty compact. It's even less work to write but the test runtime is the same.
pmaasz
@pmaasz
does anybody here use the DMore Chromeextension?
pmaasz
@pmaasz
There is a new release 3.6.0 (https://github.com/Behat/Behat/releases) it immediately broke my tests... (PHP Fatal error: Declaration of TestworkEventDispatcherPhp72Trait::dispatch($event, ?string $eventName = NULL): object must be compatible with Symfony\Component\EventDispatcher\EventDispatcher::dispatch($eventName, ?Symfony\Component\EventDispatcher\Event $event = NULL))
I have used it and it is quiet practical. I think purhur even has a fork
Eme Mora
@chowzenwan
great i will also review it cause i was looking for one and all ended as far as i investigate so far using mink
also and im using php webdriver
its mink better then using php webdriver?
pmaasz
@pmaasz
You could use the DMore/BehatChromeExtension. That way you only Need a chrome installed
Gazal Shukla
@gazalshukla
I am trying to verify the text being displayed on page but the problem is that text displays only for few secs and scenario is getting failed as it says it is unable to find anywhere in the text of the current page.
Also attaching the screenshot of feature .
pmaasz
@pmaasz
how long do you wait in your wait step?
_
Gazal Shukla
@gazalshukla
5 secs
pmaasz
@pmaasz
maybe thats too long? why not make that step configurable by saying something like Then I wait x seconds ?
How can we get a field when Form field is not defined with id|name|label|value|placeholder ?
PurHur
@PurHur
how is it defined
PurHur
@PurHur
that is a html element that simulated a field. You have to work with that html
Gazal Shukla
@gazalshukla
Okay,Thanks
any links do you have for ref?
Alexandre Vialatte
@Matelight35_gitlab
Hi everyone ! I'd like to know if there is a way in behat to create a configuration to limit the action time of each step. It will be likely the "Set selenium speed" from Robot framework. :)
pmaasz
@pmaasz
Robot is python, right?
Alexandre Vialatte
@Matelight35_gitlab
YEs exactly but I'd like to know if, in behat, we are able to reproduce the same behavior ?
pmaasz
@pmaasz
I don't think it is natively possible but I also never needed such behaviour. You could look into writing a small extension for that.