On the main page, there are icons/images for editing and deleting existing "items".
With the code in place before I added the redirects and use a render in the POST route:
get(TemplateRenderer).render "index.html", title: "Groovy Track My Stuff"
If you select edit and then the "save" action, or select "delete" and then choose to delete the item, the new list (with either modified data, or minus the deleted one) will render, but the icons/images, including the magnifying glass in the header are missing from the view in the browser (I tried with both FireFox and IE ... I'm in a windows environment right now).
When I add the redirect in the POST route:
the images/icons render.
Nothing is different in the browser source, but I'm guessing the page is either only partially cached, or maybe it's something with the pathing to the \images folder and the URL for the edits deletes.
I'm not worried about "what" is causing this, as I feel that the URL redirect is the proper thing to do anyway.
I'm now learning Selenium Web Driver Functional Testing and Geb Functional Testing. Keep an eye on my GitHub account (dbirtwell) for some samples ... uh, I mean, attempts at samples ;-) of Functional Testing my CRUD app.
Nice. For what it's worth, I don't think it is necessary to automatically start the app under test when running the Functional test. My ideal scenario is to be able to run the tests against a staging server or a production server, or a development instance. All three might be in different stages of development.