protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Looping through map function

Open mona9301 opened this issue 10 years ago • 1 comments

Hi there!

The repeater in my case has a lots of elements. I don't want to repeat through all elements as my protractor spec timesout while looping through so many elements. How can I just restrict the loop to run only for 1st 10 elements of the repeater? I have tried many things but I am just not able to get this working. How to loop only through first 10 elements of a repeater when using map()? Anticipating a prompt response.

Thanks. Monalisa

mona9301 avatar May 19 '16 14:05 mona9301

Hi there!

Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.

From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!

NickTomlin avatar May 19 '16 16:05 NickTomlin