[symfony-users] Re: Functional Test : click....
Hi Benoit, There's a mistake, it's not 27 but 22, because if you did exactly what Jobeet said, you have "and 22 more..." On 14 jan, 13:32, benoitW wrote: > I have to say it works fine when I replace that number 27 by > 'Programming'... > > On 14 jan, 12:03, benoitW wrote: > > > Hi all, > > > What means number 27 isJobeetfunctional categoryActionsTest ? > > > Official code follows : > > > info(sprintf(' 1.2 - Categories with more than %s jobs also have a > > "more" link', sfConfig::get('app_max_jobs_on_homepage')))-> > > get('/')-> > > click('27')-> > > with('request')->begin()-> > > isParameter('module', 'category')-> > > isParameter('action', 'show')-> > > isParameter('slug', 'programming')-> > > end()-> > > > But when I test i get this error message : > > > Could not find the element "27" (position 1) in the current DOM. > > > Thanks forward for your help -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Functional Test : click....
I have to say it works fine when I replace that number 27 by 'Programming'... On 14 jan, 12:03, benoitW wrote: > Hi all, > > What means number 27 is Jobeet functional categoryActionsTest ? > > Official code follows : > > info(sprintf(' 1.2 - Categories with more than %s jobs also have a > "more" link', sfConfig::get('app_max_jobs_on_homepage')))-> > get('/')-> > click('27')-> > with('request')->begin()-> > isParameter('module', 'category')-> > isParameter('action', 'show')-> > isParameter('slug', 'programming')-> > end()-> > > But when I test i get this error message : > > Could not find the element "27" (position 1) in the current DOM. > > Thanks forward for your help -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Functional Test : click....
'27' is the label of a link, something like 27 cheers Massimiliano -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en