The Drupal User Guide is undergoing an update for Drupal 10 with new screenshots featuring the default themes Olivero and Claro! Learn how @eojthebrave used the guide's FunctionalJavascript tests to make new screenshots and find steps that needed editing:
drupalize.me/blog/updating-d…
A majority of the screenshots you see in the User Guide (drupal.org/docs/user_guide/e…) are automatically generated.
We install Drupal 9.4 and then use the FunctionalJavascript testing tooling in Drupal core to walk through all the steps in the guide and take screenshots as we go.
This afternoon's hack & play stream: CiviCRM Entity Views Fullcalendar integration testing – working on writing FunctionalJavascript tests to verify CiviCRM Drupal DB JOINs in Views.
I'll be going live at 3PM CDT on my Twitch channel
twitch.tv/mglaman
🥳 phpstan-drupal 0.12.12 is OUT!
I accidentally broke the library when PHPStan came across anonymous classes 😱. That has been fixed.
But, now it can also now detect if a Functional/FunctionalJavascript test doesn't define the defaultTheme property!
github.com/mglaman/phpstan-d…
Getting back on my Twitch channel this afternoon – 3PM CDT / 8PM UTC. I'll be pushing commerce_conditions_plus as a Drupal project, writing test coverage (FunctionalJavaScript tests), and maybe more features
👇 Follow to know when I go live!
twitch.tv/mglaman
JavaScript’s Array.prototype lacks a “partitionWith” function - so I wrote one
This function allows you to subdivide an array into two smaller arrays based on the outcome of passing each element to a predicate function.
gist.github.com/ChrisWhealy/…#JavaScript#FunctionalJavaScript