Tests: Adapt paths in photo tests
This commit is contained in:
parent
a58028ceb1
commit
067d7b0b79
2 changed files with 18 additions and 18 deletions
|
@ -313,20 +313,20 @@ test.meta("testID", "photos-archive-private-003").meta({ mode: "public" })(
|
|||
await photo.checkPhotoVisibility(PrivatePhoto, false);
|
||||
await menu.openPage("video");
|
||||
await photo.checkPhotoVisibility(Video, false);
|
||||
await t.navigateTo("/calendar/aqmxlr71p6zo22dk/january-2017");
|
||||
await t.navigateTo("/library/calendar/aqmxlr71p6zo22dk/january-2017");
|
||||
await photo.checkPhotoVisibility(CalendarPhoto, false);
|
||||
await menu.openPage("moments");
|
||||
await album.openNthAlbum(0);
|
||||
await photo.checkPhotoVisibility(MomentPhoto, false);
|
||||
await t.navigateTo("/states/aqmxlr71tebcohrw/western-cape-south-africa");
|
||||
await t.navigateTo("/library/states/aqmxlr71tebcohrw/western-cape-south-africa");
|
||||
await photo.checkPhotoVisibility(StatesPhoto, false);
|
||||
|
||||
await t.navigateTo("/all?q=label%3Aseashore");
|
||||
await t.navigateTo("/library/all?q=label%3Aseashore");
|
||||
await photo.checkPhotoVisibility(LabelPhoto, false);
|
||||
await menu.openPage("people");
|
||||
await subject.openNthSubject(0);
|
||||
await photo.checkPhotoVisibility(SubjectPhoto, false);
|
||||
await t.navigateTo("/folders/aqnah1321mgkt1w2/archive");
|
||||
await t.navigateTo("/library/folders/aqnah1321mgkt1w2/archive");
|
||||
await photo.checkPhotoVisibility(FolderPhoto, false);
|
||||
|
||||
await menu.openPage("archive");
|
||||
|
@ -449,23 +449,23 @@ test.meta("testID", "photos-archive-private-004").meta({ type: "short", mode: "p
|
|||
await photo.checkPhotoVisibility(FavoritesPhoto, false);
|
||||
await menu.openPage("video");
|
||||
await photo.checkPhotoVisibility(Video, false);
|
||||
await t.navigateTo("/albums?q=Holiday");
|
||||
await t.navigateTo("/library/albums?q=Holiday");
|
||||
await album.openNthAlbum(0);
|
||||
await photo.checkPhotoVisibility(AlbumPhoto, true);
|
||||
await t.navigateTo("/calendar/aqmxlr71p6zo22dk/january-2017");
|
||||
await t.navigateTo("/library/calendar/aqmxlr71p6zo22dk/january-2017");
|
||||
await photo.checkPhotoVisibility(CalendarPhoto, false);
|
||||
await menu.openPage("moments");
|
||||
await album.openNthAlbum(0);
|
||||
await photo.checkPhotoVisibility(MomentPhoto, false);
|
||||
await t.navigateTo("/states/aqmxlr71tebcohrw/western-cape-south-africa");
|
||||
await t.navigateTo("/library/states/aqmxlr71tebcohrw/western-cape-south-africa");
|
||||
await photo.checkPhotoVisibility(StatesPhoto, false);
|
||||
|
||||
await t.navigateTo("/all?q=label%3Aseashore");
|
||||
await t.navigateTo("/library/all?q=label%3Aseashore");
|
||||
await photo.checkPhotoVisibility(LabelPhoto, false);
|
||||
await menu.openPage("people");
|
||||
await subject.openNthSubject(0);
|
||||
await photo.checkPhotoVisibility(SubjectPhoto, false);
|
||||
await t.navigateTo("/folders/aqnah1321mgkt1w2/archive");
|
||||
await t.navigateTo("/library/folders/aqnah1321mgkt1w2/archive");
|
||||
await photo.checkPhotoVisibility(FolderPhoto, false);
|
||||
|
||||
await menu.openPage("private");
|
||||
|
@ -512,23 +512,23 @@ test.meta("testID", "photos-archive-private-004").meta({ type: "short", mode: "p
|
|||
await photo.checkPhotoVisibility(FavoritesPhoto, true);
|
||||
await menu.openPage("video");
|
||||
await photo.checkPhotoVisibility(Video, true);
|
||||
await t.navigateTo("/albums?q=Holiday");
|
||||
await t.navigateTo("/library/albums?q=Holiday");
|
||||
await album.openNthAlbum(0);
|
||||
await photo.checkPhotoVisibility(AlbumPhoto, true);
|
||||
await t.navigateTo("/calendar/aqmxlr71p6zo22dk/january-2017");
|
||||
await t.navigateTo("/library/calendar/aqmxlr71p6zo22dk/january-2017");
|
||||
await photo.checkPhotoVisibility(CalendarPhoto, true);
|
||||
await menu.openPage("moments");
|
||||
await album.openNthAlbum(0);
|
||||
await photo.checkPhotoVisibility(MomentPhoto, true);
|
||||
await t.navigateTo("/states/aqmxlr71tebcohrw/western-cape-south-africa");
|
||||
await t.navigateTo("/library/states/aqmxlr71tebcohrw/western-cape-south-africa");
|
||||
await photo.checkPhotoVisibility(StatesPhoto, true);
|
||||
|
||||
await t.navigateTo("/all?q=label%3Aseashore");
|
||||
await t.navigateTo("/library/all?q=label%3Aseashore");
|
||||
await photo.checkPhotoVisibility(LabelPhoto, true);
|
||||
await menu.openPage("people");
|
||||
await subject.openNthSubject(0);
|
||||
await photo.checkPhotoVisibility(SubjectPhoto, true);
|
||||
await t.navigateTo("/folders/aqnah1321mgkt1w2/archive");
|
||||
await t.navigateTo("/library/folders/aqnah1321mgkt1w2/archive");
|
||||
await photo.checkPhotoVisibility(FolderPhoto, true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ test.meta("testID", "photos-upload-delete-001").meta({ type: "short", mode: "pub
|
|||
await t.expect(PhotoCountAfterUpload).eql(1);
|
||||
|
||||
const UploadedPhoto = await photo.getNthPhotoUid("all", 0);
|
||||
await t.navigateTo("/library/files/2020/10");
|
||||
await t.navigateTo("/library/index/files/2020/10");
|
||||
const FileCount = await originals.getFileCount();
|
||||
|
||||
await t.expect(FileCount).eql(2);
|
||||
|
@ -88,7 +88,7 @@ test.meta("testID", "photos-upload-delete-001").meta({ type: "short", mode: "pub
|
|||
await menu.openPage("browse");
|
||||
await toolbar.search("digikam");
|
||||
await photo.checkPhotoVisibility(UploadedPhoto, false);
|
||||
await t.navigateTo("/library/files/2020/10");
|
||||
await t.navigateTo("/library/index/files/2020/10");
|
||||
const FileCountAfterDelete = await originals.getFileCount();
|
||||
|
||||
await t.expect(FileCountAfterDelete).eql(0);
|
||||
|
@ -123,7 +123,7 @@ test.meta("testID", "photos-upload-delete-002").meta({ mode: "public" })(
|
|||
await t.expect(PhotoCountAfterUpload).eql(1);
|
||||
|
||||
const UploadedPhoto = await photo.getNthPhotoUid("all", 0);
|
||||
await t.navigateTo("/library/files/2020/06");
|
||||
await t.navigateTo("/library/index/files/2020/06");
|
||||
const FileCount = await originals.getFileCount();
|
||||
|
||||
await t.expect(FileCount).eql(1);
|
||||
|
@ -157,7 +157,7 @@ test.meta("testID", "photos-upload-delete-002").meta({ mode: "public" })(
|
|||
await menu.openPage("browse");
|
||||
await toolbar.search("korn");
|
||||
await photo.checkPhotoVisibility(UploadedPhoto, false);
|
||||
await t.navigateTo("/library/files/2020/06");
|
||||
await t.navigateTo("/library/index/files/2020/06");
|
||||
const FileCountAfterDelete = await originals.getFileCount();
|
||||
|
||||
await t.expect(FileCountAfterDelete).eql(0);
|
||||
|
|
Loading…
Reference in a new issue