0

I have written a Lightning Component that adds a google address lookup to a custom object.

I have replaced the standard new action with a new form.

How do I write a test class? I can't automate the click of a button to trigger the google lookup (which opens another modal window).

1 Answer 1

0

Do you try to get the code coverage for your Apex code, or do you want to do advanced testing? Is it not sufficient to appropriately call the Apex methods from your test class?

2
  • 2
    This should be comment rather than answer. Commented Aug 22, 2019 at 9:24
  • Correct.. I was overthinking it.
    – Baz
    Commented Aug 22, 2019 at 9:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .