From a244c3dea65a2f284cf585e2e17c1ba20d4c800f Mon Sep 17 00:00:00 2001 From: younglei Date: Mon, 13 Jun 2022 21:09:43 +0800 Subject: [PATCH] remove test --- test/example.spec.ts | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 test/example.spec.ts diff --git a/test/example.spec.ts b/test/example.spec.ts deleted file mode 100644 index e4955cb..0000000 --- a/test/example.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -// example.spec.ts -import { test, expect } from '@playwright/test' -import { env } from '../package.json' -const VITE_SERVER_ADDRESS = `http://127.0.0.1:${env.PORT || 3344}` - -test('example test case', async ({ page }) => { - await page.goto(VITE_SERVER_ADDRESS) - - // Expect a title "to contain" a substring. - await expect(page).toHaveTitle(/Vite App/) - - // Expect an attribute "Hello Vue 3 + TypeScript + Vite" to be visible on the page. - await expect( - page.locator('text=Hello Vue 3 + TypeScript + Vite').first(), - ).toBeVisible() -})