0

I am trying to add ids to elements in Ember 2.4 to facilitate automated testing. However, elementId on link-to does not seem to be respected, and gets ignored.

Is there any way to force the id of a link-to component

Staale
  • 27,254
  • 23
  • 66
  • 85

1 Answers1

0

The following works:

{{link-to "route" id="elementId"}}

Not sure why I didn't get this when testing initially. I must have done something wrong when verifying this.

Staale
  • 27,254
  • 23
  • 66
  • 85