Verified Commit a3e6c5c9 authored by Hugo's avatar Hugo
Browse files

add query

parent 41c1a849
Pipeline #734 passed with stage
in 8 minutes and 3 seconds
......@@ -3,15 +3,17 @@ target: https://jitsi.test.liiib.re/test
# local: true
browsers:
- localhost:3030
- localhost:3031
options:
- config.prejoinPageEnabled=false
- config.startWithAudioMuted=true
- config.startWithVideoMuted=true
- config.startAudioMuted=1
- config.startVideoMuted=1
- config.fileRecordingsEnabled=true
- interfaceConfig.fileRecordingsEnabled=true
fragment:
- config.prejoinPageEnabled=false
- config.startWithAudioMuted=true
- config.startWithVideoMuted=true
- config.startAudioMuted=1
- config.startVideoMuted=1
- config.fileRecordingsEnabled=true
- interfaceConfig.fileRecordingsEnabled=true
query:
- jwt=xxx.xxx.xxx
scenarios:
- count: 1
steps:
......
......@@ -39,13 +39,14 @@ data:
target: https://meet.liiib.re/test
surgesSvc: surges.jitsi-storm.svc.cluster.local
options:
- config.prejoinPageEnabled=false
- config.startWithAudioMuted=true
- config.startWithVideoMuted=true
- config.startAudioMuted=1
- config.startVideoMuted=1
- config.fileRecordingsEnabled=true
- interfaceConfig.fileRecordingsEnabled=true
fragment:
- config.prejoinPageEnabled=false
- config.startWithAudioMuted=true
- config.startWithVideoMuted=true
- config.startAudioMuted=1
- config.startVideoMuted=1
- config.fileRecordingsEnabled=true
- interfaceConfig.fileRecordingsEnabled=true
stages: 2
scenarios:
- count: 1
......@@ -74,7 +75,7 @@ spec:
spec:
containers:
- name: eye
image: registry.indie.host/indiehost/tech/infrastructure/jitsi-storm/eye
image: registry.indie.host/indiehost/tech/infrastructure/jitsi-storm/eye:latest
volumeMounts:
- name: config
mountPath: /app/config.yml
......@@ -86,6 +87,11 @@ spec:
configMap:
name: eye-config
initContainers:
- name: init-eye
image: busybox:1.28
command: ['sh', '-c', "until nslookup surges.jitsi-storm.svc.cluster.local; do echo waiting for surges; sleep 2; done"]
\ No newline at end of file
- name: init-eye
image: busybox:1.28
command:
[
"sh",
"-c",
"until nslookup surges.jitsi-storm.svc.cluster.local; do echo waiting for surges; sleep 2; done",
]
......@@ -7,11 +7,17 @@ class Actor {
}
async connect() {
const options = [
`userInfo.displayName="${this.id}"`,
...(this.config.options || []),
const fragment = [
`#userInfo.displayName="${this.id}"`,
...(this.config.options.fragment || []),
].join("&");
await this.page.goto(`${this.config.target}${this.stage}#${options}`);
const query = this.config.options.query
? `?${this.config.options.query.join("&")}`
: "";
await this.page.goto(
`${this.config.target}${this.stage}${query}${fragment}`
);
console.log(`${this.id} connected`);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment