feat(wordpress): exemple WP + WooCommerce + e2e automatique#1
Merged
Conversation
Stack WP + WooCommerce réelle via wp-env (Docker), plugin Takt consommé depuis la release, et suite Playwright qui vérifie de bout en bout : - le snippet injecté dans le <head> (data-domain, exclude-localhost=false) - le beacon pageview au chargement - une commande WooCommerce complétée -> événement Purchase S2S avec revenue Le workflow CI reste en déclenchement manuel (workflow_dispatch) tant que vskstudio/takt-wordpress n'a pas de release publiée, pour garder le pipeline principal vert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ajoute l'exemple WordPress (le 7e/dernier framework) et active son e2e en CI.
Contenu
wordpress/: exemple wp-env (Docker WP + MySQL + WooCommerce) + Playwright + mock-ingest. Consomme la release publiéevskstudio/takt-wordpress(.wp-env.json→releases/latest/.../takt-analytics.zip, désormais résolvable depuis la v0.1.0).<head>, beacon pageview, commande WooCommerce complétée → événement Purchase S2S avec revenue.wordpress-e2e.yml: passe deworkflow_dispatchseul àpush/pull_requestscopedwordpress/**(le run Docker lourd ne se déclenche que sur changement de l'exemple WP).