Skip to content

Commit 023edfa

Browse files
committed
WIP: add e2e tests
1 parent be89e7f commit 023edfa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/e2e/local-datasource.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ test('horizontalEdge of heihei node works well', async t => {
9090
await t
9191
.hover(Selector('#n6'))
9292
.click(Selector('#n6').find('.topEdge'))
93+
/* take into account the transition settings in jquery.orgchart.css
94+
* .orgchart .node {
95+
* transition: transform 0.3s, opacity 0.3s;
96+
* }
97+
*/
98+
.wait(500)
9399
.click(Selector('#n6').find('.leftEdge'))
94100
.expect(Selector('#n3').visible).ok()
95101
.expect(Selector('#n5').visible).ok()

0 commit comments

Comments
 (0)