Tests: Update about page acceptance test

This commit is contained in:
Michael Mayer 2021-10-10 09:45:32 +02:00
parent fa7b682388
commit 4f15553a0a

View file

@ -12,16 +12,10 @@ test.meta("testID", "about-001")("About page is displayed with all links", async
.click(Selector(".nav-about")) .click(Selector(".nav-about"))
.expect(Selector("h2").withText("Trademarks").visible) .expect(Selector("h2").withText("Trademarks").visible)
.ok() .ok()
.expect(Selector('a[href="https://github.com/sponsors/photoprism"]').visible)
.ok()
.expect(Selector('a[href="https://photoprism.app/"]').visible) .expect(Selector('a[href="https://photoprism.app/"]').visible)
.ok() .ok()
.expect(Selector('a[href="https://www.patreon.com/photoprism"]').visible) .expect(Selector('a[href="https://www.patreon.com/photoprism"]').visible)
.ok() .ok()
.expect(Selector('a[href="https://www.paypal.me/photoprism"]').visible)
.ok()
.expect(Selector('a[href="https://github.com/photoprism/photoprism/stargazers"]').visible)
.ok()
.expect(Selector('a[href="https://github.com/photoprism/photoprism/projects/5"]').visible) .expect(Selector('a[href="https://github.com/photoprism/photoprism/projects/5"]').visible)
.ok() .ok()
.expect( .expect(