diff --git a/frontend/tests/acceptance-new/photos-archive-private.js b/frontend/tests/acceptance-new/photos-archive-private.js index 4998a6d2e..c57300989 100644 --- a/frontend/tests/acceptance-new/photos-archive-private.js +++ b/frontend/tests/acceptance-new/photos-archive-private.js @@ -246,7 +246,7 @@ test.meta("testID", "photos-013")( const LabelPhoto = await photo.getNthPhotoUid("all", 0); await photoviews.triggerHoverAction("uid", LabelPhoto, "select"); await menu.openPage("people"); - await subject.openNthSubject(0); + await subject.openNthSubject(1); const SubjectPhoto = await photo.getNthPhotoUid("all", 1); await photoviews.triggerHoverAction("uid", SubjectPhoto, "select"); await menu.openPage("folders"); @@ -287,7 +287,7 @@ test.meta("testID", "photos-013")( await t.navigateTo("/all?q=label%3Aseashore"); await photo.checkPhotoVisibility(LabelPhoto, false); await menu.openPage("people"); - await subject.openNthSubject(0); + await subject.openNthSubject(1); await photo.checkPhotoVisibility(SubjectPhoto, false); await t.navigateTo("/folders/aqnah1321mgkt1w2/archive"); await photo.checkPhotoVisibility(FolderPhoto, false); @@ -368,7 +368,7 @@ test.meta("testID", "photos-014")( const LabelPhoto = await photo.getNthPhotoUid("all", 0); await photoviews.triggerHoverAction("uid", LabelPhoto, "select"); await menu.openPage("people"); - await subject.openNthSubject(0); + await subject.openNthSubject(1); const SubjectPhoto = await photo.getNthPhotoUid("all", 1); await photoviews.triggerHoverAction("uid", SubjectPhoto, "select"); await menu.openPage("folders"); @@ -410,7 +410,7 @@ test.meta("testID", "photos-014")( await t.navigateTo("/all?q=label%3Aseashore"); await photo.checkPhotoVisibility(LabelPhoto, false); await menu.openPage("people"); - await subject.openNthSubject(0); + await subject.openNthSubject(1); await photo.checkPhotoVisibility(SubjectPhoto, false); await t.navigateTo("/folders/aqnah1321mgkt1w2/archive"); await photo.checkPhotoVisibility(FolderPhoto, false); @@ -465,7 +465,7 @@ test.meta("testID", "photos-014")( await t.navigateTo("/all?q=label%3Aseashore"); await photo.checkPhotoVisibility(LabelPhoto, true); await menu.openPage("people"); - await subject.openNthSubject(0); + await subject.openNthSubject(1); await photo.checkPhotoVisibility(SubjectPhoto, true); await t.navigateTo("/folders/aqnah1321mgkt1w2/archive"); await photo.checkPhotoVisibility(FolderPhoto, true); diff --git a/frontend/tests/acceptance-new/photos-upload-delete.js b/frontend/tests/acceptance-new/photos-upload-delete.js index a91a0d6af..dc12d4d7e 100644 --- a/frontend/tests/acceptance-new/photos-upload-delete.js +++ b/frontend/tests/acceptance-new/photos-upload-delete.js @@ -1,7 +1,5 @@ import { Selector } from "testcafe"; import testcafeconfig from "./testcafeconfig"; -import Page from "./page-model"; -import { ClientFunction } from "testcafe"; import fs from "fs"; import Menu from "../page-model/menu"; import Toolbar from "../page-model/toolbar"; diff --git a/frontend/tests/acceptance-new/photos.js b/frontend/tests/acceptance-new/photos.js index 090443c7f..5c48fd48f 100644 --- a/frontend/tests/acceptance-new/photos.js +++ b/frontend/tests/acceptance-new/photos.js @@ -238,7 +238,6 @@ test.meta("testID", "photos-005")("Edit photo/video", async (t) => { "07", "2019", "04:30:30", - "", "Europe/Moscow", "Albania", "-1", @@ -256,7 +255,7 @@ test.meta("testID", "photos-005")("Edit photo/video", async (t) => { "Super nice cat license", "Description of a nice image :)", "cat", - "" + "Some notes" ); await photoedit.undoPhotoEdit( FirstPhotoTitle,