ember-page-object
ember-page-object copied to clipboard
Is it possible to access a buttons' attributes?
I wanted to know if it is possible to access a buttons attributes to know if a button is disabled or not?
I have this code:
assert.ok(find('.t-dt-start').attr('disabled'));
<button {{action "start" ticket}} disabled={{isNotValid}} class="t-dt-start">
{{t dt.start}}
</button>
That I'd like to use an ember-page-object
in the first snippet test if possible. Is this possible?
Thank you in advance.