siesta-lite
Version:
Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers
16 lines (10 loc) • 433 B
JavaScript
StartTest(function(t) {
t.chain(
{ click : "tool[type=gear] => .x-tool-img" },
{ click : "menuitem[text=Performance] => .x-menu-item-text" },
{ click : "tool[type=gear] => .x-tool-img" },
{ click : "menuitem[text=Profit & Loss] => .x-menu-item-text" },
{ click : "tool[type=gear] => .x-tool-img" },
{ click : "menuitem[text=Company News] => .x-menu-item-text" }
);
})