From 6e13ebfa2817b34e8e4ae242d4d7902d045b9375 Mon Sep 17 00:00:00 2001 From: <> Date: Tue, 18 Jun 2024 08:03:17 +0000 Subject: [PATCH] Deployed 0adf588 with MkDocs version: 1.6.0 --- .nojekyll | 0 404.html | 2825 ++++++ CNAME | 1 + DispatcherAPI/index.html | 3646 ++++++++ .../fonts.googleapis.com/css.49ea35f2.css | 594 ++ .../v30/KFOjCnqEu92Fr1Mu51TjASc-CsTKlA.woff2 | Bin 0 -> 10428 bytes .../v30/KFOjCnqEu92Fr1Mu51TjASc0CsTKlA.woff2 | Bin 0 -> 12864 bytes .../v30/KFOjCnqEu92Fr1Mu51TjASc1CsTKlA.woff2 | Bin 0 -> 5928 bytes .../v30/KFOjCnqEu92Fr1Mu51TjASc2CsTKlA.woff2 | Bin 0 -> 1512 bytes .../v30/KFOjCnqEu92Fr1Mu51TjASc3CsTKlA.woff2 | Bin 0 -> 16700 bytes .../v30/KFOjCnqEu92Fr1Mu51TjASc5CsTKlA.woff2 | Bin 0 -> 7696 bytes .../v30/KFOjCnqEu92Fr1Mu51TjASc6CsQ.woff2 | Bin 0 -> 17508 bytes .../v30/KFOjCnqEu92Fr1Mu51TzBic-CsTKlA.woff2 | Bin 0 -> 10076 bytes .../v30/KFOjCnqEu92Fr1Mu51TzBic0CsTKlA.woff2 | Bin 0 -> 12620 bytes .../v30/KFOjCnqEu92Fr1Mu51TzBic1CsTKlA.woff2 | Bin 0 -> 5972 bytes .../v30/KFOjCnqEu92Fr1Mu51TzBic2CsTKlA.woff2 | Bin 0 -> 1460 bytes .../v30/KFOjCnqEu92Fr1Mu51TzBic3CsTKlA.woff2 | Bin 0 -> 16024 bytes .../v30/KFOjCnqEu92Fr1Mu51TzBic5CsTKlA.woff2 | Bin 0 -> 7460 bytes .../v30/KFOjCnqEu92Fr1Mu51TzBic6CsQ.woff2 | Bin 0 -> 17032 bytes .../v30/KFOkCnqEu92Fr1Mu51xEIzIFKw.woff2 | Bin 0 -> 1512 bytes .../v30/KFOkCnqEu92Fr1Mu51xFIzIFKw.woff2 | Bin 0 -> 16676 bytes .../v30/KFOkCnqEu92Fr1Mu51xGIzIFKw.woff2 | Bin 0 -> 12704 bytes .../v30/KFOkCnqEu92Fr1Mu51xHIzIFKw.woff2 | Bin 0 -> 5928 bytes .../roboto/v30/KFOkCnqEu92Fr1Mu51xIIzI.woff2 | Bin 0 -> 17368 bytes .../v30/KFOkCnqEu92Fr1Mu51xLIzIFKw.woff2 | Bin 0 -> 7700 bytes .../v30/KFOkCnqEu92Fr1Mu51xMIzIFKw.woff2 | Bin 0 -> 10292 bytes .../v30/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2 | Bin 0 -> 9576 bytes .../roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4.woff2 | Bin 0 -> 15740 bytes .../v30/KFOlCnqEu92Fr1MmSU5fBxc4EsA.woff2 | Bin 0 -> 7120 bytes .../v30/KFOlCnqEu92Fr1MmSU5fCBc4EsA.woff2 | Bin 0 -> 1480 bytes .../v30/KFOlCnqEu92Fr1MmSU5fCRc4EsA.woff2 | Bin 0 -> 15000 bytes .../v30/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2 | Bin 0 -> 11796 bytes .../v30/KFOlCnqEu92Fr1MmSU5fCxc4EsA.woff2 | Bin 0 -> 5468 bytes .../v30/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 | Bin 0 -> 9644 bytes .../roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc4.woff2 | Bin 0 -> 15860 bytes .../v30/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 | Bin 0 -> 6936 bytes .../v30/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 | Bin 0 -> 1432 bytes .../v30/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 | Bin 0 -> 14684 bytes .../v30/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 | Bin 0 -> 11824 bytes .../v30/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 | Bin 0 -> 5548 bytes .../roboto/v30/KFOmCnqEu92Fr1Mu4WxKOzY.woff2 | Bin 0 -> 7112 bytes .../s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2 | Bin 0 -> 15744 bytes .../roboto/v30/KFOmCnqEu92Fr1Mu5mxKOzY.woff2 | Bin 0 -> 9628 bytes .../roboto/v30/KFOmCnqEu92Fr1Mu72xKOzY.woff2 | Bin 0 -> 15344 bytes .../roboto/v30/KFOmCnqEu92Fr1Mu7GxKOzY.woff2 | Bin 0 -> 11872 bytes .../roboto/v30/KFOmCnqEu92Fr1Mu7WxKOzY.woff2 | Bin 0 -> 5560 bytes .../roboto/v30/KFOmCnqEu92Fr1Mu7mxKOzY.woff2 | Bin 0 -> 1484 bytes ...wgGEFl0_3vrtSM1J-gEPT5Ese6hmHSV0mf0h.woff2 | Bin 0 -> 24792 bytes ...wgGEFl0_3vrtSM1J-gEPT5Ese6hmHSZ0mf0h.woff2 | Bin 0 -> 16296 bytes ...wgGEFl0_3vrtSM1J-gEPT5Ese6hmHSd0mf0h.woff2 | Bin 0 -> 7528 bytes ...5mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSh0mQ.woff2 | Bin 0 -> 22736 bytes ...wgGEFl0_3vrtSM1J-gEPT5Ese6hmHSt0mf0h.woff2 | Bin 0 -> 10096 bytes ...wgGEFl0_3vrtSM1J-gEPT5Ese6hmHSx0mf0h.woff2 | Bin 0 -> 13036 bytes ...euFoqFrlnAIe2Imhk1T8rbociImtElOUlYIw.woff2 | Bin 0 -> 7972 bytes ...euFoqFrlnAIe2Imhk1T8rbociImtEleUlYIw.woff2 | Bin 0 -> 17428 bytes ...euFoqFrlnAIe2Imhk1T8rbociImtEluUlYIw.woff2 | Bin 0 -> 26644 bytes ...q2oeuFoqFrlnAIe2Imhk1T8rbociImtEm-Ul.woff2 | Bin 0 -> 24652 bytes ...euFoqFrlnAIe2Imhk1T8rbociImtEmOUlYIw.woff2 | Bin 0 -> 10704 bytes ...euFoqFrlnAIe2Imhk1T8rbociImtEn-UlYIw.woff2 | Bin 0 -> 14288 bytes .../unpkg.com/mermaid@10/dist/mermaid.min.js | 2029 +++++ assets/favicon.png | Bin 0 -> 1673 bytes assets/images/favicon.png | Bin 0 -> 1870 bytes assets/javascripts/bundle.6e7f53b1.min.js | 3 + assets/javascripts/lunr/min/lunr.ar.min.js | 1 + assets/javascripts/lunr/min/lunr.da.min.js | 18 + assets/javascripts/lunr/min/lunr.de.min.js | 18 + assets/javascripts/lunr/min/lunr.du.min.js | 18 + assets/javascripts/lunr/min/lunr.el.min.js | 1 + assets/javascripts/lunr/min/lunr.es.min.js | 18 + assets/javascripts/lunr/min/lunr.fi.min.js | 18 + assets/javascripts/lunr/min/lunr.fr.min.js | 18 + assets/javascripts/lunr/min/lunr.he.min.js | 1 + assets/javascripts/lunr/min/lunr.hi.min.js | 1 + assets/javascripts/lunr/min/lunr.hu.min.js | 18 + assets/javascripts/lunr/min/lunr.hy.min.js | 1 + assets/javascripts/lunr/min/lunr.it.min.js | 18 + assets/javascripts/lunr/min/lunr.ja.min.js | 1 + assets/javascripts/lunr/min/lunr.jp.min.js | 1 + assets/javascripts/lunr/min/lunr.kn.min.js | 1 + assets/javascripts/lunr/min/lunr.ko.min.js | 1 + assets/javascripts/lunr/min/lunr.multi.min.js | 1 + assets/javascripts/lunr/min/lunr.nl.min.js | 18 + assets/javascripts/lunr/min/lunr.no.min.js | 18 + assets/javascripts/lunr/min/lunr.pt.min.js | 18 + assets/javascripts/lunr/min/lunr.ro.min.js | 18 + assets/javascripts/lunr/min/lunr.ru.min.js | 18 + assets/javascripts/lunr/min/lunr.sa.min.js | 1 + .../lunr/min/lunr.stemmer.support.min.js | 1 + assets/javascripts/lunr/min/lunr.sv.min.js | 18 + assets/javascripts/lunr/min/lunr.ta.min.js | 1 + assets/javascripts/lunr/min/lunr.te.min.js | 1 + assets/javascripts/lunr/min/lunr.th.min.js | 1 + assets/javascripts/lunr/min/lunr.tr.min.js | 18 + assets/javascripts/lunr/min/lunr.vi.min.js | 1 + assets/javascripts/lunr/min/lunr.zh.min.js | 1 + assets/javascripts/lunr/tinyseg.js | 206 + assets/javascripts/lunr/wordcut.js | 6708 ++++++++++++++ .../workers/search.1e90e0fb.min.js | 2 + assets/logo.png | Bin 0 -> 3624 bytes assets/stylesheets/main.c0d16a3a.min.css | 1 + assets/stylesheets/palette.ab4e12ef.min.css | 1 + commands/index.html | 3307 +++++++ custom-configuration/index.html | 3059 +++++++ default-configuration/index.html | 3165 +++++++ extensions/BuiltInServerController/index.html | 3027 +++++++ extensions/ChromeDriverController/index.html | 3019 +++++++ extensions/DockerComposeController/index.html | 3015 +++++++ extensions/EventDispatcherBridge/index.html | 3113 +++++++ extensions/IsolationSupport/index.html | 2993 +++++++ extensions/Symlinker/index.html | 2934 +++++++ extensions/index.html | 2857 ++++++ index.html | 3148 +++++++ migration/index.html | 3188 +++++++ modules/AirplaneMode/index.html | 2981 +++++++ modules/WPBrowser/index.html | 5659 ++++++++++++ modules/WPCLI/index.html | 3442 ++++++++ modules/WPDb/index.html | 7805 +++++++++++++++++ modules/WPFilesystem/index.html | 4756 ++++++++++ modules/WPLoader/index.html | 3513 ++++++++ modules/WPQueries/index.html | 4077 +++++++++ modules/WPWebDriver/index.html | 6716 ++++++++++++++ search/search_index.json | 1 + sitemap.xml | 253 + sitemap.xml.gz | Bin 0 -> 698 bytes traits/UopzFunctions/index.html | 4848 ++++++++++ troubleshooting/index.html | 2974 +++++++ .../run-in-separate-process/index.html | 3239 +++++++ v3/codeception-4-support/index.html | 2983 +++++++ .../index.html | 3049 +++++++ v3/commands/index.html | 3348 +++++++ v3/configuration/index.html | 3930 +++++++++ v3/events-api/index.html | 3055 +++++++ v3/extensions/index.html | 3171 +++++++ v3/faq/index.html | 3333 +++++++ v3/images/codecept-init-wpbrowser-01.png | Bin 0 -> 61809 bytes v3/images/codecept-init-wpbrowser-02.png | Bin 0 -> 51847 bytes v3/images/codecept-run.png | Bin 0 -> 39371 bytes v3/images/initial-setup.png | Bin 0 -> 80787 bytes v3/index.html | 2889 ++++++ v3/installation/index.html | 3059 +++++++ v3/levels-of-testing/index.html | 3329 +++++++ .../from-version-2-to-version-3/index.html | 2974 +++++++ v3/modules/WPBrowser/index.html | 3561 ++++++++ v3/modules/WPCLI/index.html | 3361 +++++++ v3/modules/WPDb/index.html | 5528 ++++++++++++ v3/modules/WPFilesystem/index.html | 3771 ++++++++ v3/modules/WPLoader/index.html | 3400 +++++++ v3/modules/WPQueries/index.html | 3722 ++++++++ v3/modules/WPWebDriver/index.html | 3994 +++++++++ v3/modules/WordPress/index.html | 3308 +++++++ v3/requirements/index.html | 3047 +++++++ .../index.html | 2990 +++++++ .../index.html | 3045 +++++++ .../images/local-flywheel-adminer.png | Bin 0 -> 45827 bytes .../local-flywheel-codecept-version.png | Bin 0 -> 16253 bytes .../images/local-flywheel-composer-init.png | Bin 0 -> 48863 bytes .../images/local-flywheel-create-database.png | Bin 0 -> 79252 bytes .../images/local-flywheel-db-export.png | Bin 0 -> 75067 bytes .../images/local-flywheel-db-import.png | Bin 0 -> 51330 bytes .../images/local-flywheel-mac-db-creds.png | Bin 0 -> 34427 bytes .../local-flywheel-mac-wpbrowser-init-1.png | Bin 0 -> 189315 bytes .../local-flywheel-mac-wpbrowser-init-2.png | Bin 0 -> 220462 bytes .../images/local-flywheel-sites-path.png | Bin 0 -> 35865 bytes .../images/local-flywheel-win-db-creds.png | Bin 0 -> 25065 bytes .../local-flywheel-win-wpbrowser-init-1.png | Bin 0 -> 166801 bytes .../local-flywheel-win-wpbrowser-init-2.png | Bin 0 -> 187208 bytes .../images/local-lite-mac-db-creds.png | Bin 0 -> 47390 bytes v3/tutorials/images/local-my-plugin-shows.png | Bin 0 -> 55068 bytes v3/tutorials/images/mac-codecept-version.png | Bin 0 -> 22048 bytes v3/tutorials/images/mac-composer-init.png | Bin 0 -> 163791 bytes v3/tutorials/images/mamp-create-db.png | Bin 0 -> 88813 bytes v3/tutorials/images/mamp-db-export.png | Bin 0 -> 46387 bytes v3/tutorials/images/mamp-db-import.png | Bin 0 -> 94150 bytes v3/tutorials/images/mamp-mac-dirs.png | Bin 0 -> 191695 bytes v3/tutorials/images/mamp-mac-ports.png | Bin 0 -> 194423 bytes v3/tutorials/images/mamp-my-plugin-shows.png | Bin 0 -> 114597 bytes .../images/mamp-wp-installation-1.png | Bin 0 -> 53828 bytes v3/tutorials/images/mamp-wpbrowser-init-1.png | Bin 0 -> 404776 bytes v3/tutorials/images/mamp-wpbrowser-init-2.png | Bin 0 -> 476281 bytes v3/tutorials/images/vvv-codecept-version.png | Bin 0 -> 18457 bytes .../images/vvv-my-plugin-composer-init.png | Bin 0 -> 62363 bytes v3/tutorials/images/vvv-my-plugin-shows.png | Bin 0 -> 105244 bytes v3/tutorials/images/vvv-ssh.png | Bin 0 -> 34108 bytes v3/tutorials/images/vvv-up.png | Bin 0 -> 76689 bytes v3/tutorials/images/vvv-wp-browser-init-1.png | Bin 0 -> 184741 bytes v3/tutorials/images/vvv-wp-browser-init-2.png | Bin 0 -> 218066 bytes v3/tutorials/images/vvv-wp-db-backup.png | Bin 0 -> 38455 bytes v3/tutorials/images/wamp-codecept-version.png | Bin 0 -> 13725 bytes v3/tutorials/images/wamp-composer-init.png | Bin 0 -> 81379 bytes v3/tutorials/images/wamp-create-db.png | Bin 0 -> 57102 bytes v3/tutorials/images/wamp-db-export.png | Bin 0 -> 58566 bytes v3/tutorials/images/wamp-db-import.png | Bin 0 -> 76354 bytes v3/tutorials/images/wamp-my-plugin-shows.png | Bin 0 -> 59776 bytes .../images/wamp-virtualhost-creation-1.png | Bin 0 -> 54357 bytes .../images/wamp-virtualhost-creation-2.png | Bin 0 -> 40048 bytes .../images/wamp-wp-installation-1.png | Bin 0 -> 39523 bytes v3/tutorials/images/wamp-wpbrowser-init-1.png | Bin 0 -> 145438 bytes v3/tutorials/images/wamp-wpbrowser-init-2.png | Bin 0 -> 141164 bytes v3/tutorials/images/wp-installation-2.png | Bin 0 -> 87553 bytes v3/tutorials/local-flywheel-setup/index.html | 3448 ++++++++ v3/tutorials/mamp-mac-setup/index.html | 3358 +++++++ v3/tutorials/vvv-setup/index.html | 3446 ++++++++ v3/tutorials/wamp-setup/index.html | 3360 +++++++ 203 files changed, 191851 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 CNAME create mode 100644 DispatcherAPI/index.html create mode 100644 assets/external/fonts.googleapis.com/css.49ea35f2.css create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TjASc-CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TjASc0CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TjASc1CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TjASc2CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TjASc3CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TjASc5CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TjASc6CsQ.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBic-CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBic0CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBic1CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBic2CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBic3CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBic5CsTKlA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBic6CsQ.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xEIzIFKw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xFIzIFKw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xGIzIFKw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xHIzIFKw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xIIzI.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xLIzIFKw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xMIzIFKw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBxc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fCBc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fCRc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fCxc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc4.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4WxKOzY.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu5mxKOzY.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu72xKOzY.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu7GxKOzY.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu7WxKOzY.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu7mxKOzY.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSV0mf0h.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSZ0mf0h.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSd0mf0h.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSh0mQ.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSt0mf0h.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSx0mf0h.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtElOUlYIw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEleUlYIw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEluUlYIw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEm-Ul.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEmOUlYIw.woff2 create mode 100644 assets/external/fonts.gstatic.com/s/robotomono/v23/L0xdDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAIe2Imhk1T8rbociImtEn-UlYIw.woff2 create mode 100644 assets/external/unpkg.com/mermaid@10/dist/mermaid.min.js create mode 100644 assets/favicon.png create mode 100644 assets/images/favicon.png create mode 100644 assets/javascripts/bundle.6e7f53b1.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ar.min.js create mode 100644 assets/javascripts/lunr/min/lunr.da.min.js create mode 100644 assets/javascripts/lunr/min/lunr.de.min.js create mode 100644 assets/javascripts/lunr/min/lunr.du.min.js create mode 100644 assets/javascripts/lunr/min/lunr.el.min.js create mode 100644 assets/javascripts/lunr/min/lunr.es.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.he.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hu.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hy.min.js create mode 100644 assets/javascripts/lunr/min/lunr.it.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ja.min.js create mode 100644 assets/javascripts/lunr/min/lunr.jp.min.js create mode 100644 assets/javascripts/lunr/min/lunr.kn.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ko.min.js create mode 100644 assets/javascripts/lunr/min/lunr.multi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.nl.min.js create mode 100644 assets/javascripts/lunr/min/lunr.no.min.js create mode 100644 assets/javascripts/lunr/min/lunr.pt.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ro.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ru.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sa.min.js create mode 100644 assets/javascripts/lunr/min/lunr.stemmer.support.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sv.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ta.min.js create mode 100644 assets/javascripts/lunr/min/lunr.te.min.js create mode 100644 assets/javascripts/lunr/min/lunr.th.min.js create mode 100644 assets/javascripts/lunr/min/lunr.tr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.vi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.zh.min.js create mode 100644 assets/javascripts/lunr/tinyseg.js create mode 100644 assets/javascripts/lunr/wordcut.js create mode 100644 assets/javascripts/workers/search.1e90e0fb.min.js create mode 100644 assets/logo.png create mode 100644 assets/stylesheets/main.c0d16a3a.min.css create mode 100644 assets/stylesheets/palette.ab4e12ef.min.css create mode 100644 commands/index.html create mode 100644 custom-configuration/index.html create mode 100644 default-configuration/index.html create mode 100644 extensions/BuiltInServerController/index.html create mode 100644 extensions/ChromeDriverController/index.html create mode 100644 extensions/DockerComposeController/index.html create mode 100644 extensions/EventDispatcherBridge/index.html create mode 100644 extensions/IsolationSupport/index.html create mode 100644 extensions/Symlinker/index.html create mode 100644 extensions/index.html create mode 100644 index.html create mode 100644 migration/index.html create mode 100644 modules/AirplaneMode/index.html create mode 100644 modules/WPBrowser/index.html create mode 100644 modules/WPCLI/index.html create mode 100644 modules/WPDb/index.html create mode 100644 modules/WPFilesystem/index.html create mode 100644 modules/WPLoader/index.html create mode 100644 modules/WPQueries/index.html create mode 100644 modules/WPWebDriver/index.html create mode 100644 search/search_index.json create mode 100644 sitemap.xml create mode 100644 sitemap.xml.gz create mode 100644 traits/UopzFunctions/index.html create mode 100644 troubleshooting/index.html create mode 100644 v3/advanced/run-in-separate-process/index.html create mode 100644 v3/codeception-4-support/index.html create mode 100644 v3/codeception-phpunit-and-wpbrowser/index.html create mode 100644 v3/commands/index.html create mode 100644 v3/configuration/index.html create mode 100644 v3/events-api/index.html create mode 100644 v3/extensions/index.html create mode 100644 v3/faq/index.html create mode 100644 v3/images/codecept-init-wpbrowser-01.png create mode 100644 v3/images/codecept-init-wpbrowser-02.png create mode 100644 v3/images/codecept-run.png create mode 100644 v3/images/initial-setup.png create mode 100644 v3/index.html create mode 100644 v3/installation/index.html create mode 100644 v3/levels-of-testing/index.html create mode 100644 v3/migration/from-version-2-to-version-3/index.html create mode 100644 v3/modules/WPBrowser/index.html create mode 100644 v3/modules/WPCLI/index.html create mode 100644 v3/modules/WPDb/index.html create mode 100644 v3/modules/WPFilesystem/index.html create mode 100644 v3/modules/WPLoader/index.html create mode 100644 v3/modules/WPQueries/index.html create mode 100644 v3/modules/WPWebDriver/index.html create mode 100644 v3/modules/WordPress/index.html create mode 100644 v3/requirements/index.html create mode 100644 v3/setting-up-minimum-wordpress-installation/index.html create mode 100644 v3/tutorials/automatically-change-db-in-tests/index.html create mode 100644 v3/tutorials/images/local-flywheel-adminer.png create mode 100644 v3/tutorials/images/local-flywheel-codecept-version.png create mode 100644 v3/tutorials/images/local-flywheel-composer-init.png create mode 100644 v3/tutorials/images/local-flywheel-create-database.png create mode 100644 v3/tutorials/images/local-flywheel-db-export.png create mode 100644 v3/tutorials/images/local-flywheel-db-import.png create mode 100644 v3/tutorials/images/local-flywheel-mac-db-creds.png create mode 100644 v3/tutorials/images/local-flywheel-mac-wpbrowser-init-1.png create mode 100644 v3/tutorials/images/local-flywheel-mac-wpbrowser-init-2.png create mode 100644 v3/tutorials/images/local-flywheel-sites-path.png create mode 100644 v3/tutorials/images/local-flywheel-win-db-creds.png create mode 100644 v3/tutorials/images/local-flywheel-win-wpbrowser-init-1.png create mode 100644 v3/tutorials/images/local-flywheel-win-wpbrowser-init-2.png create mode 100644 v3/tutorials/images/local-lite-mac-db-creds.png create mode 100644 v3/tutorials/images/local-my-plugin-shows.png create mode 100644 v3/tutorials/images/mac-codecept-version.png create mode 100644 v3/tutorials/images/mac-composer-init.png create mode 100644 v3/tutorials/images/mamp-create-db.png create mode 100644 v3/tutorials/images/mamp-db-export.png create mode 100644 v3/tutorials/images/mamp-db-import.png create mode 100644 v3/tutorials/images/mamp-mac-dirs.png create mode 100644 v3/tutorials/images/mamp-mac-ports.png create mode 100644 v3/tutorials/images/mamp-my-plugin-shows.png create mode 100644 v3/tutorials/images/mamp-wp-installation-1.png create mode 100644 v3/tutorials/images/mamp-wpbrowser-init-1.png create mode 100644 v3/tutorials/images/mamp-wpbrowser-init-2.png create mode 100644 v3/tutorials/images/vvv-codecept-version.png create mode 100644 v3/tutorials/images/vvv-my-plugin-composer-init.png create mode 100644 v3/tutorials/images/vvv-my-plugin-shows.png create mode 100644 v3/tutorials/images/vvv-ssh.png create mode 100644 v3/tutorials/images/vvv-up.png create mode 100644 v3/tutorials/images/vvv-wp-browser-init-1.png create mode 100644 v3/tutorials/images/vvv-wp-browser-init-2.png create mode 100644 v3/tutorials/images/vvv-wp-db-backup.png create mode 100644 v3/tutorials/images/wamp-codecept-version.png create mode 100644 v3/tutorials/images/wamp-composer-init.png create mode 100644 v3/tutorials/images/wamp-create-db.png create mode 100644 v3/tutorials/images/wamp-db-export.png create mode 100644 v3/tutorials/images/wamp-db-import.png create mode 100644 v3/tutorials/images/wamp-my-plugin-shows.png create mode 100644 v3/tutorials/images/wamp-virtualhost-creation-1.png create mode 100644 v3/tutorials/images/wamp-virtualhost-creation-2.png create mode 100644 v3/tutorials/images/wamp-wp-installation-1.png create mode 100644 v3/tutorials/images/wamp-wpbrowser-init-1.png create mode 100644 v3/tutorials/images/wamp-wpbrowser-init-2.png create mode 100644 v3/tutorials/images/wp-installation-2.png create mode 100644 v3/tutorials/local-flywheel-setup/index.html create mode 100644 v3/tutorials/mamp-mac-setup/index.html create mode 100644 v3/tutorials/vvv-setup/index.html create mode 100644 v3/tutorials/wamp-setup/index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html new file mode 100644 index 000000000..d2ea021a8 --- /dev/null +++ b/404.html @@ -0,0 +1,2825 @@ + + + +
+ + + + + + + + + + + + + + + + + + + + + +An API to dispatch and subscribe to events fired during tests execution.
+You can subscribe to the following events dispatched by Codeception in either the global bootstrap file
+(usually tests/_bootstrap.php
), or in a suite bootstrap file (usually tests/<suite>/_bootstrap.php
) using the
+Event Dispatcher Bridge extension:
Codeception\Events::SUITE_BEFORE
Codeception\Events::SUITE_AFTER
CodeceptionventsEvents::TEST_START
CodeceptionventsEvents::TEST_BEFORE
CodeceptionventsEvents::STEP_BEFORE
CodeceptionventsEvents::STEP_AFTER
CodeceptionventsEvents::TEST_FAIL
CodeceptionventsEvents::TEST_ERROR
CodeceptionventsEvents::TEST_PARSED
CodeceptionventsEvents::TEST_INCOMPLETE
CodeceptionventsEvents::TEST_SKIPPED
CodeceptionventsEvents::TEST_WARNING
CodeceptionventsEvents::TEST_USELESS
CodeceptionventsEvents::TEST_SUCCESS
CodeceptionventsEvents::TEST_AFTER
CodeceptionventsEvents::TEST_END
CodeceptionventsEvents::TEST_FAIL_PRINT
CodeceptionventsEvents::RESULT_PRINT_AFTER
In the global bootstrap file (usually tests/_bootstrap.php
), or the suite bootstrap file (usually
+tests/<suite>/_bootstrap.php
), subscribe to the Codeception events by providing a callback function that will accept
+different parameters depending on the event being dispatched:
<?php
+
+use Codeception\Events;
+use Codeception\Event\SuiteEvent
+use Codeception\Event\TestEvent;
+use Codeception\Event\StepEvent;
+use Codeception\Event\PrintResultEvent;
+use lucatume\WPBrowser\Events\Dispatcher;
+
+Dispatcher::addListener(Events::SUITE_BEFORE, function (SuiteEvent $suiteEvent) {
+ codecept_debug('Running on SUITE BEFORE');
+});
+
+Dispatcher::addListener(Events::SUITE_AFTER, function (SuiteEvent $suiteEvent) {
+ codecept_debug('Running on SUITE AFTER');
+});
+
+Dispatcher::addListener(Events::TEST_START, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST START');
+});
+
+Dispatcher::addListener(Events::TEST_BEFORE, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST BEFORE');
+});
+
+Dispatcher::addListener(Events::STEP_BEFORE, function (StepEvent $stepEvent) {
+ codecept_debug('Running on STEP BEFORE');
+});
+
+Dispatcher::addListener(Events::STEP_AFTER, function (StepEvent $stepEvent) {
+ codecept_debug('Running on STEP AFTER');
+});
+
+Dispatcher::addListener(Events::TEST_FAIL, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST FAIL');
+});
+
+Dispatcher::addListener(Events::TEST_ERROR, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST ERROR');
+});
+
+Dispatcher::addListener(Events::TEST_PARSED, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST PARSED');
+});
+
+Dispatcher::addListener(Events::TEST_INCOMPLETE, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST INCOMPLETE');
+});
+
+Dispatcher::addListener(Events::TEST_SKIPPED, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST SKIPPED');
+});
+
+Dispatcher::addListener(Events::TEST_WARNING, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST WARNING');
+});
+
+Dispatcher::addListener(Events::TEST_USELESS, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST USELESS');
+});
+
+Dispatcher::addListener(Events::TEST_SUCCESS, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST SUCCESS');
+});
+
+Dispatcher::addListener(Events::TEST_AFTER, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST AFTER');
+});
+
+Dispatcher::addListener(Events::TEST_END, function (TestEvent $testEvent) {
+ codecept_debug('Running on TEST END');
+});
+
+Dispatcher::addListener(Events::TEST_FAIL_PRINT, function (PrintResultEvent $printResultEvent) {
+ codecept_debug('Running on TEST FAIL PRINT');
+});
+
+Dispatcher::addListener(Events::RESULT_PRINT_AFTER, function (PrintResultEvent $printResultEvent) {
+ codecept_debug('Running on RESULT PRINT AFTER');
+});
+
The project dispatches its own events, allowing you to subscribe to them to control the test state and execution.
+To subscribe to the events dispatched by wp-browser, you do not need to use the
+Event Dispatcher Bridge extension.
The WPLoader
module will dispatch events during its initialization.
This event fires before WordPress is loaded by the WPLoader
module when loadOnly
is set to true
.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
WordPress is not loaded yet, so you cannot use functions or classes defined by WordPress, themes or plugins here.
+You can interact with the WordPress installation and use the lucatume\WPBrowser\WordPress\PreloadFilters
class to
+hook on actions and filters that will be fired by WordPress once loaded.
<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPLoader;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPLoader::EVENT_BEFORE_LOADONLY, function (Event $event) {
+ /** @var WPLoader $wpLoader */
+ $wpLoader = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_BEFORE_LOADONLY');
+
+ // Interact with the WordPress installation, its filesystem and database.
+ $installation = $wpLoader->getInstallation();
+ $pluginsDir = $installation->getPluginsDir();
+ $db = $installation->getDb();
+ $db->import(codecept_data_dir('some-dump.sql'));
+
+ // Use the PreloadFilters class to hook on WordPress actions and filters.
+ PreloadFilters::addFilter('init', fn() => update_option('some_option', 'some_value'));
+ PreloadFilters::addFilter('pre_option_some_option', fn() => 'some_value');
+});
+
This event fires after WordPress is loaded by the WPLoader
module when loadOnly
is set to true
.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
At this point, WordPress has been loaded. +You can interact with the WordPress installation using functions and classes defined by WordPress, themes or plugins.
+<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPLoader;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPLoader::EVENT_AFTER_LOADONLY, function (Event $event) {
+ /** @var WPLoader $wpLoader */
+ $wpLoader = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_AFTER_LOADONLY');
+
+ // Interact with the WordPress installation, its filesystem and database.
+ $installation = $wpLoader->getInstallation();
+ $pluginsDir = $installation->getPluginsDir();
+ $db = $installation->getDb();
+ $db->import(codecept_data_dir('some-dump.sql'));
+
+ // Use WordPress functions and classes.
+ update_option('some_option', 'some_value');
+});
+
This event fires before WordPress is installed by the WPLoader
module when loadOnly
is set to false
.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
WordPress is not loaded yet, so you cannot use functions or classes defined by WordPress, themes or plugins here.
+You can interact with the WordPress installation and use the lucatume\WPBrowser\WordPress\PreloadFilters
class to
+hook on actions and filters that will be fired by WordPress once loaded.
<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPLoader;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPLoader::EVENT_BEFORE_INSTALL, function (Event $event) {
+ /** @var WPLoader $wpLoader */
+ $wpLoader = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_BEFORE_INSTALL');
+
+ // Interact with the WordPress installation, its filesystem and database.
+ $installation = $wpLoader->getInstallation();
+ $pluginsDir = $installation->getPluginsDir();
+ $db = $installation->getDb();
+ $db->import(codecept_data_dir('some-dump.sql'));
+
+ // Use the PreloadFilters class to hook on WordPress actions and filters.
+ PreloadFilters::addFilter('init', fn() => update_option('some_option', 'some_value'));
+ PreloadFilters::addFilter('pre_option_some_option', fn() => 'some_value');
+});
+
This event fires after WordPress is installed by the WPLoader
module when loadOnly
is set to false
.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
At this point, WordPress has been installed and loaded.
+You can interact with the WordPress installation using functions and classes defined by WordPress, themes or plugins.
+This event fires before dump files specified in the dump
configuration parameter of the WPLoader
module are
+imported.
<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPLoader;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPLoader::EVENT_AFTER_INSTALL, function (Event $event) {
+ /** @var WPLoader $wpLoader */
+ $wpLoader = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_AFTER_INSTALL');
+
+ // Interact with the WordPress installation, its filesystem and database.
+ $installation = $wpLoader->getInstallation();
+ $pluginsDir = $installation->getPluginsDir();
+ $db = $installation->getDb();
+ $db->import(codecept_data_dir('some-dump.sql'));
+
+ // Use WordPress functions and classes.
+ update_option('some_option', 'some_value');
+});
+
This event fires after WordPress is installed by the WPLoader
module when loadOnly
is set to false
.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
At this point, WordPress has been installed and loaded. +You can interact with the WordPress installation using functions and classes defined by WordPress, themes or plugins.
+<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPLoader;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPLoader::EVENT_AFTER_INSTALL, function (Event $event) {
+ /** @var WPLoader $wpLoader */
+ $wpLoader = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_AFTER_INSTALL');
+
+ // Interact with the WordPress installation, its filesystem and database.
+ $installation = $wpLoader->getInstallation();
+ $pluginsDir = $installation->getPluginsDir();
+ $db = $installation->getDb();
+ $db->import(codecept_data_dir('some-dump.sql'));
+
+ // Use WordPress functions and classes.
+ update_option('some_option', 'some_value');
+});
+
This event fires after the WPLoader
module has finished bootstrapping the WordPress installation and dump files
+specified in the dump
configuration parameter of the WPLoader
module are imported.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
You can interact with the WordPress installation using functions and classes defined by WordPress, themes or plugins.
+<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPLoader;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPLoader::EVENT_AFTER_BOOTSTRAP, function (Event $event) {
+ /** @var WPLoader $wpLoader */
+ $wpLoader = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_AFTER_BOOTSTRAP');
+
+ // Interact with the WordPress installation, its filesystem and database.
+ $installation = $wpLoader->getInstallation();
+ $pluginsDir = $installation->getPluginsDir();
+ $db = $installation->getDb();
+ $db->import(codecept_data_dir('some-dump.sql'));
+
+ // Use WordPress functions and classes.
+ update_option('some_option', 'some_value');
+});
+
This event fires after the WPDb
module has run its _beforeSuite
method.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
At this point the module has connected to the database, cleaned up and populated the database with the dump files.
+<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPDb;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPDb::EVENT_BEFORE_SUITE, function (Event $event) {
+ /** @var WPDb $wpDb */
+ $wpDb = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_BEFORE_SUIT
+ E');
+});
+
This event fires before the WPDb
module initializes.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPDb;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPDb::EVENT_BEFORE_INITIALIZE, function (Event $event) {
+ /** @var WPDb $wpDb */
+ $wpDb = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_BEFORE_INITIALIZE');
+});
+
This event fires after the WPDb
module has initialized.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPDb;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPDb::EVENT_AFTER_INITIALIZE, function (Event $event) {
+ /** @var WPDb $wpDb */
+ $wpDb = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_AFTER_INITIALIZE');
+});
+
This event fires after the WPDb
module has prepared the database setting up some default values for
+quality-of-life improvements.
Due to order-of-operations, you can hook on this event only in the global bootstrap file (usually tests/_bootstrap.php
).
<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Module\WPDb;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::addListener(WPDb::EVENT_AFTER_DB_PREPARE, function (Event $event) {
+ /** @var WPDb $wpDb */
+ $wpDb = $event->getOrigin();
+
+ codecept_debug('Running on EVENT_AFTER_DB_PREPARE');
+});
+
You can use the Dispatcher::dispatch
method to dispatch and subscribe to custom events:
<?php
+
+use lucatume\WPBrowser\Events\Dispatcher;
+use lucatume\WPBrowser\Events\Event;
+
+Dispatcher::dispatch('my-event', 'my-origin', ['foo' => 'bar']);
+
+// Some other code...
+Dispatcher::addListener('my-event', function (Event $event) {
+ $origin = $event->getOrigin();
+ $foo = $event->get('foo');
+ codecept_debug('Running on my custom event');
+});
+
Zu&K
ziiv^thZ-{N+_#XpR;s8_1s!!p7zN`NIY>NmIL?Vv(EL?t7xP6Buo_=ajH$y&;a2)5t|Vtoc!fQ9aJXkcTb_}
zhg`*VqV2*^uB7xBUqbPOV8b;ednyxQ@cPIG;s|gxg2!cXyY#dAQa}9i+kZNogMhN5
z#BK`h1kIyMANX)bbE1QvXd#MMvmCgrBQ^Zg7O5M_0EeqgLQ)JWAL7H*e@?(sUq-V>
z-51`*P-zW|nr}H2Nc2hX5|MZq9=WD%5QHfWg|c*DL8BwTwET;MnB*`fJ0ht~ROm4^
zgfS$i1I%nAvk6xX(`u|YMxNI;ZU0R1*xkQ+W)F{#CY!ZKj3&}l*s#sEgr<`NQuPdk
z{9`Bg2NM{#gWag*iPTdoXPDNjbHXcJ)277MZt>~$w4Z#QZZCC)yRW~7{)X$3T8pPO
z+v*e0F1TJ(m~F#P_z*{T@&KNCxZ8c#Gkcso4jwm;H;;4Q5s`)1)cp;oyVAWeqreH}
z?2Yh(oz+fugC9r1ay?3gG0qv~6F)Z4P)cisryIfhG7LjgjEMxZ202QMqMgB!uedVz(64itQ9j}%Ay_#9v2?>K2iS#(sn
z*dNC@BurL|&bi^#GzQ*c3w%3|kw82$fCC57S`m*7C-Rvm>!ZIj;tYAk33P)%>Z1Y?
z2nXXHiJ3KT=iHsZ0h};kGXyC)`cejoh}p)NX`Ap!E$1zW3!Uyk&^9&EggSU~N(W_+lF+VcSq^
zhkKj#dbZNFu+N433-O_F;F@y7xq+GZw03=VT{`&u!!?X-QS&AFq~iCNtV*|?dr+bd
z!!}rku;VoowawjMu|+PIx4q&aj~Dl>Azg-pto*@CZC+FSyvLesw$pPZ>hw%tt$F2H
z>EPY#tpC!9OD0v5`w_^v_UoqS9Qbj&(pQ12%7<5Ckb!=E=2k&933P0{v{9i?Rz_te
zd8O&G(a}gZh$vk=gK#(`0a2v~CxV)}x&R?~bykwlZjgMhP{bV|1}7C}fO7(NXt?!$
zM|8