Tests: Adapt acceptance tests to css changes

This commit is contained in:
theresa 2021-01-13 14:47:32 +01:00
parent 966d88d8a8
commit 3a4ed67862

View file

@ -24,7 +24,7 @@ test('#2 Open photo from places', async t => {
//TODO replace wait //TODO replace wait
await t await t
.click(Selector('.nav-places')) .click(Selector('.nav-places'))
.expect(Selector('#p-photo-viewer').visible).notOk() .expect(Selector('#is-photo-viewer').visible).notOk()
.expect(Selector('#map').exists, {timeout: 15000}).ok() .expect(Selector('#map').exists, {timeout: 15000}).ok()
.typeText(Selector('input[aria-label="Search"]'), 'Berlin') .typeText(Selector('input[aria-label="Search"]'), 'Berlin')
.pressKey('enter') .pressKey('enter')