mirror of https://gitee.com/bigwinds/arangodb
GraphViewer: Added a spec that the layouter menu is generated by the GraphViewerUI
This commit is contained in:
parent
5e69af80b8
commit
57ef46e895
|
@ -245,6 +245,16 @@
|
||||||
expect($(menuSelector + " #control_collections").length).toEqual(1);
|
expect($(menuSelector + " #control_collections").length).toEqual(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should contain a menu for the layouter', function() {
|
||||||
|
var menuSelector = "#contentDiv #menubar #layoutermenu";
|
||||||
|
expect($(menuSelector).length).toEqual(1);
|
||||||
|
expect($(menuSelector)[0]).toBeADropdownMenu();
|
||||||
|
expect($(menuSelector + " #control_gravity").length).toEqual(1);
|
||||||
|
expect($(menuSelector + " #control_distance").length).toEqual(1);
|
||||||
|
expect($(menuSelector + " #control_charge").length).toEqual(1);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
it('should have the same layout as the web interface', function() {
|
it('should have the same layout as the web interface', function() {
|
||||||
var header = div.children[0],
|
var header = div.children[0],
|
||||||
transHeader = header.firstChild,
|
transHeader = header.firstChild,
|
||||||
|
|
Loading…
Reference in New Issue