Tests: Add acceptance test
This commit is contained in:
parent
8e5a97ed4a
commit
be84507c3e
1 changed files with 9 additions and 1 deletions
|
@ -21,7 +21,15 @@ test.meta("testID", "places-001")("Test places", async (t) => {
|
||||||
.expect(Selector("div.p-map-control").visible)
|
.expect(Selector("div.p-map-control").visible)
|
||||||
.ok()
|
.ok()
|
||||||
.expect(getLocation())
|
.expect(getLocation())
|
||||||
.contains("Berlin");
|
.contains("Berlin")
|
||||||
|
.click(Selector(".nav-browse"))
|
||||||
|
.expect(Selector("div.is-photo").exists)
|
||||||
|
.ok()
|
||||||
|
.click(Selector(".nav-places"))
|
||||||
|
.expect(Selector("#map").exists, { timeout: 15000 })
|
||||||
|
.ok()
|
||||||
|
.expect(Selector("div.p-map-control").visible)
|
||||||
|
.ok();
|
||||||
});
|
});
|
||||||
|
|
||||||
test.meta("testID", "places-002")("Open photo from places", async (t) => {
|
test.meta("testID", "places-002")("Open photo from places", async (t) => {
|
||||||
|
|
Loading…
Reference in a new issue