Yesterday I narrowed the issue down to what was causing the Google Mobile-Friendly test to fail, which passed earlier when the Speed Booster Pack was activated. Perhaps a recent plugin update caused a conflict.
My final assessment of the issue came after deactivating all plugins, which narrowed down three plugins: Meta Slider, Autoptimize, and Speed Booster that appeared to cause the Mobile-Friendly test to fail.
Long story short. When trying different combinations of settings for the above plugins and going through the deactivate/reactivate process, I found a solution that allows the Google Mobile-Friendly test to pass consistently.
One issue was the Autoptimize plugin that caused the Mobile-Friendly test to fail. After unchecking the box for “Save aggregated script/css as static files?” Under “Cache Info,” the Mobile-Friendly test passed time and time again, with Speed Booster deactivated. So I have the Metal Slider and Autoptimize plugins activated and the test passes every time.
The other issue is the Speed Booster plugin which I deactivated the other day. Just to make sure I was right, I reactivated the Speed Booster plugin today and the test failed again. I tried different settings and the test failed every time.
As of now, I’m not going to use Speed Booster anymore and keep using Autoptimize and Metal Slider, along with W3TC and Cloudflare. Things are working great with what I have going now.