diff --git a/frontend/tests/acceptance/places.js b/frontend/tests/acceptance/places.js index ae30f2faa..c40f147ab 100644 --- a/frontend/tests/acceptance/places.js +++ b/frontend/tests/acceptance/places.js @@ -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(); }); \ No newline at end of file