Approach to writing End-to-End tests for flows that require Action Scheduler #40664
Replies: 3 comments 2 replies
-
@woocommerce/solaris curious if anyone from your team has insights on this perhaps? |
Beta Was this translation helpful? Give feedback.
-
Hi @Sidsector9 and @jeffpaul -- I'm actually trying to chase this down myself right now. I've written some new end-to-end tests for the Analytics section, which requires some Action Scheduler events to run to populate the data. Currently, I'm forcing them through the queue in the |
Beta Was this translation helpful? Give feedback.
-
Hi folks, one of the devs in the core team helped me out with putting together a plugin that can be called to immediately process the Action Scheduler queue. The PR where that's being used is here: I'm not sure if you're using Hope that helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, we am working on a Woo Payment Gateway plugin that does product sync through Action Scheduler.
We have set up Playwright to write end-to-end tests and were wondering what is the best approach to write E2E tests for flows that require Action Scheduler without facing timeouts?
I dug into the Woo Core tests and couldn't find much. Does Woo have a general approach to handle these flows?
Beta Was this translation helpful? Give feedback.
All reactions