Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
implemented an autocomplete feature for the "move page" (version 2) #867
Seems to me like you are using a lot of already existing methods and functionality which I didn't know (or didn't find :) ) and the result is pretty much the same. However the preceding "dot" and the fact that the datalist is also showing all testcases are differing from my suggestion.
In RefactorPageResponder I would change line 68 from:
This way the datalist is only showing the names of suites and excluding tests. This way the datalist remains clearly arranged.
Thanks for your feedback. I appreciate it!
Why should the move only be limited to Suite pages? It should be possible to move ordinary pages just as easy, I think. I've seen setups where test pages have subpages (e.g. a particular SetUp page, or additional tests that you do not want in the main test page for readability).
I found one flaw, though: the subpages of the to be moved page are also shown in the list. I should filter those out.
Hmm, okay. Only because I am always using a suite as a "folder" for tests it doesn't mean that all people are doing it the same way. So your solution is much more universal.
For me (and maybe others) it would help a lot if I can detect suites with one quick glance.
This will print "suite" on the right side of the dropdown in a column with a suite name (static pages could be handled the same way).
As HTML5 is not implemented the same way in all browsers I guess it would be hard to fullfill my wish in a decent way. :(