You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using page objects for our testing and I noticed that ember-aupac-typehead comes with its own helper to construct page objects for typeahead components. However, I can't figure out how to import this helper in my tests. Could you give me a hint? I guess I have to import something in tests/helpers/start-app.js but nothing I have tried so far worked...
Best,
Matthias
The text was updated successfully, but these errors were encountered:
Did you try importing via import aupacTypeahead from ember-aupac-typeahead/pages/aupac-typeahead.js? Having said that I can't confirm if the helper is currently working as there are no tests using it. If not, a pull request fixing it and documentation update would be appreciated.
@jackmatt2 I think the error was that I need to import from aupac-typeahead/... (i.e. without ember). I will create a PR once I have figured everything out, there seem to be some other issues with the page object (e.g., it's not using the helpers that the component provides and it doesn't make use of the context scope).
I'm trying to get this working too, I can get it to set the value of the input box, but not display any of the suggestions. (in a component integration test)
Hi,
We are using page objects for our testing and I noticed that
ember-aupac-typehead
comes with its own helper to construct page objects for typeahead components. However, I can't figure out how to import this helper in my tests. Could you give me a hint? I guess I have to import something intests/helpers/start-app.js
but nothing I have tried so far worked...Best,
Matthias
The text was updated successfully, but these errors were encountered: