>> Another problem I met is with waiting for response after "press button"
>> method
>> All the time I get response with code before button pressed
>> It's connected with selenium_session.rb code and require me to change a
>> bit
> (...)
>> I don't know why I have to change it
>> Thanks
>
> That
Hi Mateusz,
>
> hi Ben
>
> I am newbie with cucumber and bdd. I was wondering if you can take a
> look on my problems.
> I have similar problem like Balint. I test my own and clearance features
> with selenium and webrat. I don't have to say that with werbrat
> everything is perfect. When I r
Balint Erdi wrote:
> Ben Mabey wrote:
>
>> Couple things I'd like to point out. In your enhanced.rb you don't need
>> to do the Before hook yourself. You can just require
>> 'database_cleaner/cucumber'. I've updated your gist to use that.
>> In your plain.rb it seems like you are trying to trun
Ben Mabey wrote:
>
> With that step definition you don't need to pollute all of your features
> with the steps to login. As it turns out you can have the best of both
> worlds. Meaning, if you want webrat to use the faster post method only
> for non-selenium runs you can. Like so:
>
> Given
Balint Erdi wrote:
Ben Mabey wrote:
Couple things I'd like to point out. In your enhanced.rb you don't need
to do the Before hook yourself. You can just require
'database_cleaner/cucumber'. I've updated your gist to use that.
In your plain.rb it seems like you are trying to truncate your
Balint Erdi wrote:
Hey Ben, thanks a lot.
The problem I am experiencing now is that information stored in the
session does not seem to be retained between steps (again, only in the
case of selenium sessions, plain sesssion work fine). So the login
function works fine now but when I go to anot
> Hey Ben, thanks a lot.
>
> The problem I am experiencing now is that information stored in the
> session does not seem to be retained between steps (again, only in the
> case of selenium sessions, plain sesssion work fine). So the login
> function works fine now but when I go to another page
Ben Mabey wrote:
> Couple things I'd like to point out. In your enhanced.rb you don't need
> to do the Before hook yourself. You can just require
> 'database_cleaner/cucumber'. I've updated your gist to use that.
> In your plain.rb it seems like you are trying to truncate your database
> just o
Balint Erdi wrote:
@Ben: Thank you, I fixed that and am using your database_cleaner to
truncate the database.
Turns out the problem (or rather, another problem) was that I set up a
separate environment (selenium) for the selenium tests but still some of
the steps used the test environment and
@Ben: Thank you, I fixed that and am using your database_cleaner to
truncate the database.
Turns out the problem (or rather, another problem) was that I set up a
separate environment (selenium) for the selenium tests but still some of
the steps used the test environment and thus the database re
10 matches
Mail list logo