fix e2e tests

This commit is contained in:
Aarni Halinen
2021-04-01 18:31:04 +03:00
parent 1f7d842b89
commit ac0d33ef93
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ test("User signups to event from front page", async (t) => {
await t.wait(3000);
await t.expect(await getPageUrl()).match(/\/events\/\d{1,4}/, "URL isn't /events/<id>");
const SignupButton = Selector("button");
const SignupButton = Selector("[data-e2e=\"signup-button\"]");
await t
.click(SignupButton);