Fix conflicts for embed tests (#7311)

* Fix conflicts for embed tests

* Update pr.yml

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
This commit is contained in:
Omar López
2023-03-08 13:20:04 +00:00
committed by GitHub
co-authored by Alex van Andel
parent 8a2da017ff
commit 8b47c064ff
6 changed files with 14 additions and 6 deletions
@@ -1,4 +1,4 @@
import { PlaywrightTestConfig, devices } from "@playwright/test";
import type { PlaywrightTestConfig } from "@playwright/test";
import path from "path";
//TODO: Move the common config to embed-playwright-config and let core and react use the base. Along with config there would be base fixtures and expect custom matchers as well.
@@ -19,8 +19,8 @@ const projects = baseConfig.projects?.map((project) => {
const config: PlaywrightTestConfig = {
...baseConfig,
webServer: {
command: "yarn run-p 'embed-dev' 'embed-web-start'",
port: 3000,
command: "yarn run-p embed-dev",
port: 3101,
timeout: 60_000,
reuseExistingServer: !process.env.CI,
},