Fedora based container images for running UI tests. Images can be used locally and in OpenShift.
Images in the grid
directory are supposed to be use in the Selenium Grid. Please refer to the
Selenium documentation for the details.
Standalone version includes Google Chrome and Mozilla Firefox browsers. A container is supposed to be runnning either locally or within a Kubernetes pod.
In order to start a container locally use the following command:
podman run -it --shm-size=2g -p 4444:4444 -p 5999:5999 quay.io/redhatqe/selenium-standalone
4444
: standard selenium standalone server port5999
: VNC port
To run a container within a pod use this manifest as an example:
kind: Pod
apiVersion: v1
metadata:
name: some-name
spec:
containers:
- resources:
limits:
cpu: '1'
memory: 3Gi
requests:
cpu: '1'
memory: 3Gi
terminationMessagePath: /dev/termination-log
name: selenium
imagePullPolicy: Always
volumeMounts:
- name: shm
mountPath: /dev/shm
terminationMessagePolicy: File
image: 'quay.io/redhatqe/selenium-standalone:latest'
volumes:
- name: shm
emptyDir:
medium: Memory
sizeLimit: 2Gi