For automated tests (and for VoiceOver users) we need to be able to check toolbar status programmatically. For this, we can change expand button label to reflect it's status i.e. formatToolbarButton && formatToolbarButtonExpanded
Also, toolbar expand button don't have an accessibility selector, which makes it hard to locate.
For automated tests (and for VoiceOver users) we need to be able to check toolbar status programmatically. For this, we can change expand button label to reflect it's status i.e.
formatToolbarButton
&&formatToolbarButtonExpanded
Also, toolbar expand button don't have an accessibility selector, which makes it hard to locate.