create shell scripts to run frontend test

This commit is contained in:
anovazzi1 2023-10-09 17:04:07 -03:00
commit f7534516ef
3 changed files with 160 additions and 114 deletions

View file

@ -20,7 +20,9 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
reporter: [
["html", { open: "never", outputFolder: "playwright-report/test-results" }],
],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */