First commit
This commit is contained in:
6
e2e-playwright/tests/hello-world.spec.js
Normal file
6
e2e-playwright/tests/hello-world.spec.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const { test, expect } = require("@playwright/test");
|
||||
|
||||
test("Server responds with the text 'Hello world!'", async ({ page }) => {
|
||||
const response = await page.goto("/");
|
||||
expect(await response.text()).toBe("Hello world!");
|
||||
});
|
||||
Reference in New Issue
Block a user