fix fullstack playwright tests
This commit is contained in:
1 parent
9fb4a5a5bd
commit
9988fa46b9
3 files changed
+2
-70
No files matched your search
@@ -3,6 +3,7 @@ const { test, expect } = require('@playwright/test');
|
||||
|
||||
test('button click', async ({ page }) => {
|
||||
await page.goto('http://localhost:3333');
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
// Expect the page to contain the counter text.
|
||||
const main = page.locator('#main');
|
||||
@@ -18,6 +19,7 @@ test('button click', async ({ page }) => {
|
||||
|
||||
test('fullstack communication', async ({ page }) => {
|
||||
await page.goto('http://localhost:3333');
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
// Expect the page to contain the counter text.
|
||||
const main = page.locator('#main');
|
||||
|
||||
Reference in new issue
Block a user