Frontend: Add acceptance test
This commit is contained in:
parent
acee2c57fd
commit
b314ef2a27
|
@ -18,4 +18,12 @@ test('#1 Test places', async t => {
|
|||
await t
|
||||
.expect(Selector('div.p-map-control').visible).ok()
|
||||
.expect(getLocation()).contains('Berlin');
|
||||
});
|
||||
|
||||
test('#2 Open photo from places', async t => {
|
||||
await t
|
||||
.click(Selector('.nav-places'))
|
||||
.expect(Selector('#p-photo-viewer').visible).notOk()
|
||||
.click(Selector('div.marker').nth(0))
|
||||
.expect(Selector('#p-photo-viewer').visible).ok();
|
||||
});
|
Loading…
Reference in a new issue