From 384f3b66bb3c11b95678fe026c50cc02fba2d305 Mon Sep 17 00:00:00 2001 From: theresa Date: Wed, 13 Jan 2021 11:09:56 +0100 Subject: [PATCH] Tests: Adapt acceptance tests to css changes --- frontend/tests/acceptance/components.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/tests/acceptance/components.js b/frontend/tests/acceptance/components.js index c01caa891..869a9238f 100644 --- a/frontend/tests/acceptance/components.js +++ b/frontend/tests/acceptance/components.js @@ -27,7 +27,7 @@ test('#3 Mosaic view', async t => { await t .expect(Selector('div.v-image__image').visible).ok() .expect(Selector('div.p-photo-mosaic').visible).ok() - .expect(Selector('div.p-photo div.caption').exists).notOk() + .expect(Selector('div.is-photo div.caption').exists).notOk() .expect(Selector('#p-photo-viewer').visible).notOk(); }); @@ -37,7 +37,7 @@ test('#4 List view', async t => { await page.setFilter('view', 'List'); await t .expect(Selector('table.v-datatable').visible).ok() - .expect(Selector('div.p-photo-list').visible).ok(); + .expect(Selector('div.list-view').visible).ok(); }); test('#5 card view', async t => { @@ -46,6 +46,6 @@ test('#5 card view', async t => { await page.setFilter('view', 'Cards'); await t .expect(Selector('div.v-image__image').visible).ok() - .expect(Selector('div.p-photo div.caption').visible).ok() + .expect(Selector('div.is-photo div.caption').visible).ok() .expect(Selector('#p-photo-viewer').visible).notOk(); }); \ No newline at end of file