Fix a set of E2E bugs causing several CI failures (#2177)

* Fix E2E bugs causing CI failutes

* Revert setup in dx

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Demian Caldelasandzomars authored and GitHub committed 2022-03-17 12:36:11 -07:00
1 parent 39d395bf62
commit 55587e92c1
19 files changed
+198 -151

No files matched your search

+3 -1
View File
@@ -19,6 +19,8 @@ const testDir = path.join(__dirname, "..", "..", "apps/web/playwright");
const config: PlaywrightTestConfig = {
forbidOnly: !!process.env.CI,
retries: 1,
workers: 1,
timeout: 60_000,
reporter: [
[process.env.CI ? "github" : "list"],
@@ -28,7 +30,7 @@ const config: PlaywrightTestConfig = {
globalSetup: require.resolve("./globalSetup"),
outputDir,
webServer: {
command: "yarn workspace @calcom/web start -p 3000",
command: "NEXT_PUBLIC_IS_E2E=1 yarn workspace @calcom/web start -p 3000",
port: 3000,
timeout: 60_000,
reuseExistingServer: !process.env.CI,