upgrade to Next.js 12 (#1109)

This commit is contained in:
Alex Johansson authored and GitHub committed 2021-11-02 14:19:40 +00:00
1 parent 5a25e6daee
commit 265c634db9
8 files changed
+327 -347

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ describe("webhooks", () => {
body.payload.uid = dynamic;
// if we change the shape of our webhooks, we can simply update this by clicking `u`
console.log("BODY", body);
// console.log("BODY", body);
expect(body).toMatchInlineSnapshot(`
Object {
"createdAt": "[redacted/dynamic]",
+21
View File
@@ -0,0 +1,21 @@
jest.setTimeout(60e3);
test("login with [email protected]", async () => {
const context = await browser.newContext();
const page = await context.newPage();
await page.goto("http://localhost:3000/auth/login");
// Click input[name="email"]
await page.click('input[name="email"]');
// Fill input[name="email"]
await page.fill('input[name="email"]', `[email protected]`);
// Press Tab
await page.press('input[name="email"]', "Tab");
// Fill input[name="password"]
await page.fill('input[name="password"]', `pro`);
// Press Enter
await page.press('input[name="password"]', "Enter");
await page.waitForSelector("[data-testid=event-types]");
});
export {};