Below is a summary of the discussion from this week’s JavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. chat (agenda, Slack transcript).
Have a topic for discussion for the next meeting? Leave a suggested edit on next week’s agenda.
Meeting time adjustment
Due to DST and starting next week, the #core-js meeting time will be moved to 14h UTC.
Node 10.x LTS
A new LTS version of Node.JS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. has been released. As agreed upon on previous meetings, WordPress is going to follow the LTS schedule of Node.JS which means, we’re going to start using this new LTS version in local environments (Gutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ and WordPress).
The systems team has been also notified to upgrade the WP.org servers to Node 10.13 LTS.
E2E Tests in Core Core is the set of software required to run WordPress. The Core Development Team builds WordPress.
End 2 End tests are automatic tests simulating user interactions using a browser in a production environment. Gutenberg uses Google Puppeteer and a docker environment to run a suite of various e2e tests that include:
- Creating and publish content,
- Writing Flow,
- Accessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility) tests,
- Extensibility tests.
We discussed during the meeting approaches to make the E2E Test setup and the test suite available for:
- Plugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party Authors: to setup their own e2e tests,
- Core: To validate that the Gutenberg integration is working properly and allow other parts of WordPress Core to be tested using this setup.
Action items
- Explore making the e2e test setup available as an npm package. cc @gziolo
- Explore making a package containing the Gutenberg e2e test suite to be able to run it in Core.
Shorter-term, we discussed the possibility of duplicating the tests in Core to validate the Gutenberg integration and package updates.
If you have some availability and would like to help with any of these items, please let us know in the comments.
#javascript