element-web/cypress/support
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
..
app.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
axe.ts Make a11y related lint rules more strict (#11372) 2023-08-07 07:57:12 +00:00
bot.ts Cypress: Add test to verify device after login (#11217) 2023-07-11 14:18:46 +00:00
client.ts Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
clipboard.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
composer.ts Update Cypress test files under support/ directory - use Cypress Testing Library (#10619) 2023-04-17 07:37:49 +00:00
config.json.ts Cypress: skip tests known to fail when using Rust crypto (#10873) 2023-05-24 09:50:05 +00:00
e2e.ts Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
homeserver.ts Support Podman style of accessing the host network in Cypress tests (#11421) 2023-08-18 14:40:17 +00:00
iframes.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
labs.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
log.ts Improve cypress logging output (#10845) 2023-05-11 10:46:50 +00:00
login.ts Support Matrix 1.1 (drop legacy r0 versions) (#9819) 2023-08-14 09:25:13 +01:00
mailhog.ts Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
network.ts Add intercept of config.json (#10908) 2023-05-16 12:15:20 +00:00
percy.ts Fix: cypress findByTestId and percySnapshotElement do not work together (#10947) 2023-07-14 13:28:22 +00:00
promise.ts Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
proxy.ts Add dendrite support to cypress tests (#9884) 2023-01-10 16:29:56 -07:00
settings.ts Update Cypress test files under support/ directory - use Cypress Testing Library (#10619) 2023-04-17 07:37:49 +00:00
timeline.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
toasts.ts Cypress test for incoming verification requests (#11123) 2023-06-22 09:43:49 +00:00
util.ts Update all non-major dependencies (#11329) 2023-07-27 11:34:44 +00:00
views.ts Tests for read/unread status (#11301) 2023-08-10 12:59:01 +00:00
webserver.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00