Tests: Update acceptance tests
This commit is contained in:
parent
443c0d789f
commit
506bb82824
3 changed files with 9 additions and 21 deletions
|
@ -265,13 +265,13 @@ test.meta("testID", "photos-archive-private-003")(
|
|||
const LabelPhoto = await photo.getNthPhotoUid("all", 0);
|
||||
await photo.triggerHoverAction("uid", LabelPhoto, "select");
|
||||
await menu.openPage("people");
|
||||
await subject.openNthSubject(1);
|
||||
await subject.openNthSubject(0);
|
||||
const SubjectPhoto = await photo.getNthPhotoUid("all", 1);
|
||||
await photo.triggerHoverAction("uid", SubjectPhoto, "select");
|
||||
await menu.openPage("folders");
|
||||
await toolbar.search("archive");
|
||||
await album.openNthAlbum(0);
|
||||
const FolderPhoto = await photo.getNthPhotoUid("all", 0);
|
||||
const FolderPhoto = await photo.getNthPhotoUid("all", 1);
|
||||
await photo.triggerHoverAction("uid", FolderPhoto, "select");
|
||||
await contextmenu.checkContextMenuCount("14");
|
||||
await contextmenu.triggerContextMenuAction("archive", "");
|
||||
|
@ -307,7 +307,7 @@ test.meta("testID", "photos-archive-private-003")(
|
|||
await t.navigateTo("/all?q=label%3Aseashore");
|
||||
await photo.checkPhotoVisibility(LabelPhoto, false);
|
||||
await menu.openPage("people");
|
||||
await subject.openNthSubject(1);
|
||||
await subject.openNthSubject(0);
|
||||
await photo.checkPhotoVisibility(SubjectPhoto, false);
|
||||
await t.navigateTo("/folders/aqnah1321mgkt1w2/archive");
|
||||
await photo.checkPhotoVisibility(FolderPhoto, false);
|
||||
|
@ -388,13 +388,13 @@ test.meta("testID", "photos-archive-private-004").meta({ type: "smoke" })(
|
|||
const LabelPhoto = await photo.getNthPhotoUid("all", 0);
|
||||
await photo.triggerHoverAction("uid", LabelPhoto, "select");
|
||||
await menu.openPage("people");
|
||||
await subject.openNthSubject(1);
|
||||
await subject.openNthSubject(0);
|
||||
const SubjectPhoto = await photo.getNthPhotoUid("all", 1);
|
||||
await photo.triggerHoverAction("uid", SubjectPhoto, "select");
|
||||
await menu.openPage("folders");
|
||||
await toolbar.search("archive");
|
||||
await album.openNthAlbum(0);
|
||||
const FolderPhoto = await photo.getNthPhotoUid("all", 0);
|
||||
const FolderPhoto = await photo.getNthPhotoUid("all", 1);
|
||||
await photo.triggerHoverAction("uid", FolderPhoto, "select");
|
||||
await contextmenu.checkContextMenuCount("14");
|
||||
await contextmenu.triggerContextMenuAction("private", "");
|
||||
|
@ -431,7 +431,7 @@ test.meta("testID", "photos-archive-private-004").meta({ type: "smoke" })(
|
|||
await t.navigateTo("/all?q=label%3Aseashore");
|
||||
await photo.checkPhotoVisibility(LabelPhoto, false);
|
||||
await menu.openPage("people");
|
||||
await subject.openNthSubject(1);
|
||||
await subject.openNthSubject(0);
|
||||
await photo.checkPhotoVisibility(SubjectPhoto, false);
|
||||
await t.navigateTo("/folders/aqnah1321mgkt1w2/archive");
|
||||
await photo.checkPhotoVisibility(FolderPhoto, false);
|
||||
|
@ -486,7 +486,7 @@ test.meta("testID", "photos-archive-private-004").meta({ type: "smoke" })(
|
|||
await t.navigateTo("/all?q=label%3Aseashore");
|
||||
await photo.checkPhotoVisibility(LabelPhoto, true);
|
||||
await menu.openPage("people");
|
||||
await subject.openNthSubject(1);
|
||||
await subject.openNthSubject(0);
|
||||
await photo.checkPhotoVisibility(SubjectPhoto, true);
|
||||
await t.navigateTo("/folders/aqnah1321mgkt1w2/archive");
|
||||
await photo.checkPhotoVisibility(FolderPhoto, true);
|
||||
|
|
|
@ -309,7 +309,7 @@ test.meta("testID", "photos-005").meta({ type: "smoke" })("Edit photo/video", as
|
|||
await contextmenu.clearSelection();
|
||||
});
|
||||
|
||||
test.meta("testID", "photos-006")("Navigate from card view to place", async (t) => {
|
||||
test.skip.meta("testID", "photos-006")("Navigate from card view to place", async (t) => {
|
||||
await toolbar.setFilter("view", "Cards");
|
||||
await t.click(page.cardLocation.nth(0));
|
||||
|
||||
|
|
|
@ -9,21 +9,9 @@ const menu = new Menu();
|
|||
test.meta("testID", "about-001")("About page is displayed with all links", async (t) => {
|
||||
await menu.openPage("about");
|
||||
await t
|
||||
.expect(Selector("h2").withText("Trademarks").visible)
|
||||
.ok()
|
||||
.expect(Selector('a[href="https://photoprism.app/"]').visible)
|
||||
.ok()
|
||||
.expect(Selector('a[href="https://www.patreon.com/photoprism"]').visible)
|
||||
.ok()
|
||||
.expect(Selector('a[href="https://github.com/photoprism/photoprism/projects/5"]').visible)
|
||||
.ok()
|
||||
.expect(Selector('a[href="https://docs.photoprism.app/"]').visible)
|
||||
.ok()
|
||||
.expect(Selector('a[href="/about/license"]').visible)
|
||||
.ok()
|
||||
.expect(Selector('a[href="https://gitter.im/browseyourlife/community"]').visible)
|
||||
.ok()
|
||||
.expect(Selector('a[href="https://twitter.com/photoprism_app"]').visible)
|
||||
.expect(Selector('a[href="https://link.photoprism.app/patreon"]').visible)
|
||||
.ok();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue