run playwright in dev mode
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ -n "$USE_DOCKER" ]; then
|
if [ -n "$USE_DOCKER" ]; then
|
||||||
set -ex
|
set -ex
|
||||||
yarn build
|
yarn build --mode development
|
||||||
docker build -t element-call:testing .
|
docker build -t element-call:testing .
|
||||||
exec docker run --rm --name element-call-testing -p 8080:8080 -v ./config/config.devenv.json:/app/config.json:ro,Z element-call:testing
|
exec docker run --rm --name element-call-testing -p 8080:8080 -v ./config/config.devenv.json:/app/config.json:ro,Z element-call:testing
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export function calculateInitialMuteState(
|
|||||||
urlParams: Pick<UrlParams, "skipLobby" | "callIntent">,
|
urlParams: Pick<UrlParams, "skipLobby" | "callIntent">,
|
||||||
packageType: "full" | "embedded",
|
packageType: "full" | "embedded",
|
||||||
hostname: string | undefined = undefined,
|
hostname: string | undefined = undefined,
|
||||||
trustLocalhost: boolean = import.meta.env.DEV || !!process.env.CI,
|
trustLocalhost: boolean = import.meta.env.DEV,
|
||||||
): { audioEnabled: boolean; videoEnabled: boolean } {
|
): { audioEnabled: boolean; videoEnabled: boolean } {
|
||||||
const { skipLobby, callIntent } = urlParams;
|
const { skipLobby, callIntent } = urlParams;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user