We've released a new UIlicious test engine with new commands and several fixes.
π New commands:
I.hoverOn
for hovering over elements.I.rightClick
for righting click on elements. Note that this is only useful if you have a customise the behavior for right clicks on your application. By default, this will open the default OS context menu, which is not accessible by the test engine for interaction or screenshots.I.press
andI.type
now accepts key chords, meaning you can press multiple keys at the time. You can provide a key chord as an array of keys to the command e.g.I.press(["Alt", "K"])
,I.press(["Control","Alt", "K"])
π Fixes:
I.fill
will now properly clear right-aligned input fields or input fields with values in RTL languages before filling in the values.I.dontSee
should now returnfalse
when an element is not visible on the pageFixed issue with test crashing when new tabs are opened in some edge cases.
Improved error message if an element cannot be found for
I.getText
andI.getValue
.Fixed issue with alerts being auto-dismissed by default in Firefox.
Fixed issue with test crashing whenever alerts are opened on Safari and IE11.
π¬ Miscellaneous:
We've also rewritten the test engine in Typescript in order to speed up future development work - woot! πΊπΊπΊ
π More of our release notes here
That's all, merry Christmas everyone, and happy new year!