Skip to content

Commit 93f2144

Browse files
committed
Add case to verify pathId
1 parent 597a58e commit 93f2144

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev/tests/js/jasmine/tests/lib/mage/browser.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ define([
4444
});
4545
obj.openDialog(openUrl, 100, 100, 'title', options);
4646
obj.openDialog(openUrl, 100, 100, 'title', options);
47+
expect(obj.pathId).toBe('d3lzaXd5Zw,');
4748
expect($.ajax.calls.count()).toBe(1);
4849
});
4950

@@ -63,6 +64,7 @@ define([
6364
obj.openDialog(openUrl, 100, 100, 'title', undefined);
6465
obj.openDialog(openUrl, 100, 100, 'title', undefined);
6566
expect($.ajax.calls.count()).toBe(1);
67+
expect(obj.pathId).toBe('d3lzaXd5Zw,');
6668
});
6769
});
6870
});

0 commit comments

Comments
 (0)