Use and attribute selector instead of an id selector
Use and attribute selector instead of an id selector

The use of an id selector to check for the presence of the input makes
the test brittle to design changes - by using an attribute selector we
make the test focus on the functional aspect of the layout.

alphagov/e-petitions,joelanman/e-petitions,telekomatrix/e-petitions,oskarpearson/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,alphagov/e-petitions,telekomatrix/e-petitions,ansonK/e-petitions,unboxed/e-petitions,unboxed/e-petitions,joelanman/e-petitions,alphagov/e-petitions,joelanman/e-petitions,alphagov/e-petitions,StatesOfJersey/e-petitions,ansonK/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,oskarpearson/e-petitions,StatesOfJersey/e-petitions,ansonK/e-petitions