compose/pkg/e2e/fixtures
Nicolas De Loof 0632f222f6 test(e2e): declarative Scenario layer, image-identity tests as demonstrator
Introduce a small declarative layer over the e2e framework so a test
reads as its intent: an inline compose.yaml, a sequence of steps
(command + expected observables), and nothing else. The framework owns
project naming (derived from the test name), cleanup, and failure
reporting: on the first unmet expectation the test fails with a step
transcript, the failing command output, the project's container state,
the engine events since the scenario started and the container logs.

Checks observe real state (container IDs across steps, labels, image
manifest platform) instead of grepping the progress writer output,
which stays available as an explicit last-resort check.

The e2e tests introduced by #14041 are converted as a demonstrator;
their dedicated fixture files are inlined in the scenarios and removed.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-18 16:49:56 +02:00
..
attach-restart
bridge fix the helm bridge e2e tests after the latest update of the templates 2025-07-16 16:04:52 +02:00
bridge-build-only fix(bridge): skip pulling default image references for build-only services 2026-08-06 16:00:08 +02:00
build-dependencies build dependent service images when required 2025-06-02 12:28:43 +02:00
build-infinite
build-test bake only interpolates ${*} 2025-10-13 10:40:19 +02:00
cascade chore(e2e): fix flaky cascade failure test 2024-04-24 11:03:27 +02:00
commit feat: add commit command 2024-11-27 07:39:46 +01:00
compose-pull fix regression running pull --ignore-pull-failures 2022-12-19 11:56:03 +01:00
config fix(config): apply config flags to --services/--volumes/--networks/--models/--hash 2026-07-30 11:38:20 +02:00
config_hash fix(config): resolve service environment when computing --hash 2026-08-11 08:37:13 +02:00
configs Fix configs are mounted under /<id> 2023-11-29 16:53:22 +01:00
container_name check container_name is not in use by another service we will create 2024-04-16 17:26:50 +02:00
cp-test
dependencies test: Set stop_signal to SIGTERM 2025-09-19 10:31:20 +02:00
dotenv add support for raw env_file format 2024-10-08 18:33:54 +02:00
env-secret Compose can't create a tar with adequate uid:gid ownership 2025-10-20 09:51:58 +02:00
env_file run only loads required service env_file and ignores others 2025-03-18 09:39:15 +01:00
environment empty env variable with no value must be unset in container 2024-07-10 14:23:34 +02:00
exec prefer application container vs one-off running exec without index 2025-09-07 14:41:34 +02:00
export feat: add export command 2024-10-02 21:15:59 +02:00
external exclude unnecessary resources after services have been selected 2024-07-09 15:12:27 +02:00
hooks make sure the post_start hooks fails 2025-06-30 12:37:58 +02:00
image-identity test(e2e): declarative Scenario layer, image-identity tests as demonstrator 2026-08-18 16:49:56 +02:00
image-volume-recreate compose: recreate container when mounted image digest changes 2026-01-26 15:55:44 +01:00
images-removed fix(images): tolerate containers whose image record is gone 2026-08-14 15:20:37 +02:00
init-container
ipam test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
ipc-test
links
logging-driver stop dependent containers before recreating diverged service 2024-09-16 10:14:54 +02:00
logs-test fix deadlock collecting large logs 2024-02-13 20:15:19 +01:00
model introduce support for models 2025-06-30 19:22:35 +02:00
nested allow a local .env file to override compose.yaml sibling .env 2024-05-21 16:01:29 +02:00
network-alias
network-interface-name introduce networks.interface_name 2025-04-24 12:06:17 +02:00
network-links
network-recreate end-to-end test 2025-06-02 18:57:07 +02:00
network-test fix support for service.mac_address 2024-12-10 15:59:26 +01:00
no-deps resolve service reference into container based on observed state 2023-09-14 15:29:50 +02:00
orphans restore setEnvWithDotEnv 2024-07-11 10:25:04 +02:00
pause test: tweak pause test to try and prevent failures in Windows CI 2023-02-27 14:20:20 -05:00
port-range run ContainerStart sequentially 2025-05-20 09:47:58 +02:00
pre_start pre_start: support pre_start lifecycle hooks 2026-06-30 10:49:04 +02:00
profiles Add profile e2e test case to document in compose 2024-10-30 16:00:41 +01:00
project-volume-bind-test
providers Fix rawsetenv nil-pointer guard for inherit-from-shell env vars 2026-06-23 15:01:33 +02:00
ps-test
publish fix(oci): honor --insecure-registry when up re-loads the model 2026-07-21 16:24:34 +02:00
recreate-volumes e2e test to prevent future regression 2024-12-16 15:46:47 +01:00
resources e2e test for --all-resources 2024-04-09 15:30:42 +02:00
restart-test test: Set stop_signal to SIGTERM 2025-09-19 10:31:20 +02:00
run-test fixes 2025-11-06 08:02:59 +01:00
scale remove obsolete containers first on scale down 2024-11-12 09:47:36 +01:00
sentences test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
simple-build-test
simple-composefile image can be set to a local ID, that isn't a valid docker ref 2025-01-09 09:55:30 +01:00
start-fail test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
start-stop
start_interval e2e test for start_interval 2025-04-30 11:08:09 +02:00
stdout-stderr test: speed up the e2e test suite 2023-07-18 11:08:06 +02:00
stop keep containers attached on stop to capture termination logs 2025-07-15 11:26:44 +02:00
switch-volumes e2e test for recreate volume 2024-12-13 09:52:22 +01:00
ups-deps-stop
volume-test
volumes introduce volume.type=image 2025-04-09 16:59:42 +02:00
wait Add docker compose wait 2023-06-30 16:07:03 +02:00
watch test: Set stop_signal to SIGTERM in nginx-based services 2026-08-10 12:42:02 +02:00
wrong-composefile