Frontend: Adapt acceptance tests to changes
This commit is contained in:
parent
d4008564bb
commit
e580a117d6
2 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ test('#2 Update album', async t => {
|
|||
const PhotoCount = await Selector('div.p-photo').count;
|
||||
await t
|
||||
.expect(Selector('.v-card__text').nth(0).innerText).contains('All my animals')
|
||||
.expect(Selector('.v-toolbar__title').nth(1).innerText).contains('Animals')
|
||||
.expect(Selector('div').withText("Animals").exists).ok()
|
||||
.click(Selector('.nav-photos'));
|
||||
const FirstPhotoUid = await Selector('div.p-photo').nth(0).getAttribute('data-uid');
|
||||
const SecondPhotoUid = await Selector('div.p-photo').nth(1).getAttribute('data-uid');
|
||||
|
|
|
@ -119,8 +119,8 @@ test('#1 Settings', async t => {
|
|||
|
||||
.click(Selector('.nav-settings'))
|
||||
.click(Selector('.input-language input'))
|
||||
.hover(Selector('div').withText('English').parent('div[role="listitem"]'))
|
||||
.click(Selector('div').withText('English').parent('div[role="listitem"]'))
|
||||
.hover(Selector('div').withText('Englisch').parent('div[role="listitem"]'))
|
||||
.click(Selector('div').withText('Englisch').parent('div[role="listitem"]'))
|
||||
.click(Selector('.nav-settings'))
|
||||
.click(Selector('.input-upload input'))
|
||||
.click(Selector('.input-download input'))
|
||||
|
|
Loading…
Reference in a new issue