element-web/cypress/plugins
Andy Balaam 3d2d08b132
Support Podman style of accessing the host network in Cypress tests (#11421)
* Supply '--network slirp4netns:allow_host_loopback=true' argument when launching via Podman

This means that the host.containers.internal address will work as a way
to access the host machine's network from within the container in
Podman. This is eqivalent to '--add-host
host.docker.internal:host-gateway' in Docker.

* Log the locations of generated files for Cypress tests

* Use 'host.containers.internal' to access the host network when using Podman

* Support Podman in email Cypress tests too

* Restrict code that decides between Docker and Podman to run in Cypress plugins

Because it can't run in the browser - it needs to run a command line
command to find out.

* Move logic for HOST_DOCKER_INTERNAL into cfgDirFromTemplate
2023-08-18 14:40:17 +00:00
..
dendritedocker Add a cypress test for SSO login (#11401) 2023-08-14 11:08:12 +00:00
docker Support Podman style of accessing the host network in Cypress tests (#11421) 2023-08-18 14:40:17 +00:00
mailhog Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
oauth_server Add a cypress test for SSO login (#11401) 2023-08-14 11:08:12 +00:00
sliding-sync Point cypress at a newer version of the proxy 2023-01-20 10:32:53 +00:00
synapsedocker Support Podman style of accessing the host network in Cypress tests (#11421) 2023-08-18 14:40:17 +00:00
utils Add dendrite support to cypress tests (#9884) 2023-01-10 16:29:56 -07:00
index.ts Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
log.ts
webserver.ts