Add embed tests in CI (#2887)
* Add embed tests in CI * Update e2e-embed.yml * Run quick tests only * Ignore certain folders * Add embed-react tests as well * Fix commands * Dont run unit tests * Update playwright.config.ts * Update playwright.config.ts * Update playwright.config.ts * Create correct artifcats * Create correct artifcats * Fi ignore path * Update package.json * Add back embed-react typecheck Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
f7cec8d71f
commit
3035412cdc
13 files changed
+205
-43
No files matched your search
@@ -19,11 +19,10 @@ const projects = baseConfig.projects?.map((project) => {
|
||||
const config: PlaywrightTestConfig = {
|
||||
...baseConfig,
|
||||
webServer: {
|
||||
// Start App Server manually - Can't be handled here. See https://github.com/microsoft/playwright/issues/8206
|
||||
command: "yarn workspace @calcom/embed-react dev",
|
||||
port: 3101,
|
||||
command: "yarn run-p 'embed-dev' 'embed-web-start'",
|
||||
port: 3000,
|
||||
timeout: 60_000,
|
||||
reuseExistingServer: true,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
use: {
|
||||
...baseConfig.use,
|
||||
|
||||
Reference in new issue
Block a user