Orchard Harvest 2024 date and location, Playwright Testing - This week in Orchard (17/05/2024)

Gábor Domonkos's avatar
Orchard Harvest, Announcement, Documentation, This week in Orchard, Security

Configure the Token provider from the corresponding provider, release notes about SectionDisplayDriver breaking changes, demo about Playwright Testing, and the registration for the Orchard Harvest 2024 conference is now open! Oh, and don't forget to join our next Orchard Core Pair Programming session! Let's see the details!

Orchard Core updates

Configure the Token provider from the corresponding provider

Enhanced functionality has been implemented, allowing developers to control the expiration time of different tokens, such as those for password reset, email confirmation, and email change, which are sent through the email service.

You may change the default values of these options by using the services.Configure<> method. For instance, to change the EmailConfirmationTokenProviderOptions you can add the following code to your project:

services.Configure<EmailConfirmationTokenProviderOptions>(options => options.TokenLifespan = TimeSpan.FromDays(7));

Here you can see the EmailConfirmationIdentityOptionsConfigurations class that utilizes the EmailConfirmationTokenProviderOptions.

Configure token provider from the corresponding provider

Release notes about SectionDisplayDriver breaking changes

In the past, we had a Display Drivers validation issue, which means that the drivers should always return an updated model for displaying proper data even if the model has failed to validate. As you can read in the release notes of the upcoming version, in the upcoming release, the signatures of the UpdateAsync() method within the SectionDisplayDriver base class have undergone modifications. Previously, these signatures accepted the BuildEditorContext parameter. However, with this update, all signatures now require the UpdateEditorContext instead. This alteration necessitates that every driver inheriting from this class adjusts their contexts accordingly. On this screen, you can also see the updated signatures.

Release notes about SectionDisplayDriver breaking changes


Playwright Testing

The OrchardCoreContrib.Testing repository provides a set of APIs to test the Orchard Core applications. The goal of this repository is to test out the integration with Playwright. Playwright Test was created specifically to accommodate the needs of end-to-end testing. Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox. Test on Windows, Linux, and macOS, locally or on CI, headless or headed with native mobile emulation of Google Chrome for Android and Mobile Safari.

If you head to YouTube, you can see a video with some sample tests as well, like how we can open a web page by creating a Playwright instance and choosing the browser, which could be Chromium, Firefox, or Webkit. After that, we must launch the browser to get the instance. Now, we can create a new page and go to this page. Here, we can check the title of the page or the inner HTML, etc.

Playwright test to open a web page

Head to the demo video mentioned to see how you can implement more complex tests using Playwright!

News from the community

Orchard Harvest 2024 date and location

Get ready to power up your Orchard skills at Orchard Harvest Conference 2024! Join us on September 12th-13th at the Orleans Hotel and Casino in lively Las Vegas for two days packed with learning, coding, and community fun.

What can you expect at Orchard Harvest Conference 2024?

  • Hands-On Workshops: Elevate your coding game with interactive sessions led by industry experts.
  • Insider Insights: Learn best practices, advanced techniques, and real-world insights from qualified developers.
  • Global Connections: Connect with fellow enthusiasts, exchange ideas, and forge meaningful relationships within the Orchard community.
  • Special Perks: Participants get exclusive discounts on accommodations at the Orleans Hotel and Casino.

Can't wait until September? Check out recordings from last year's special online Orchard Harvest on our YouTube channel here.

Ready to be a part of something extraordinary? Reserve your spot today and take advantage of early-bird pricing at Orchard Harvest Conference 2024.

We also opened the registration form for the speakers: https://forms.office.com/e/fewh7hh20d

This year's leading themes:

  • Leading up to a v3.0, what will the future Orchard Core look like?
  • What's the role of a CMS nowadays (with the decoupled/headless operating models, and AI development tools)
  • Explore some advanced topics such as Shapes, Placements, Cloud Integrations, Performance, module extensibility, etc.
  • Showcases on implementing Orchard Core in action.

Apply to be a speaker until the 15th of June, midnight Anywhere on Earth! We'll notify you whether your talk is selected for Harvest until the end of June. The chosen speakers will receive complimentary tickets for the event.

Want to support our mission? Become a sponsor! Reach out to us at [email protected] or [email protected] to explore sponsorship opportunities.

Secure your spot today and get ready to level up your skills at Orchard Harvest Conference 2024! See you there!

Orchard Harvest 2024 announcement

Building a Content Warning Module with Drew Brasher - Orchard Core Pair Programming by Lombiq

We'll have the third session of Orchard Core Pair Programming by Lombiq! In these, we do an hour of pair programming with an Orchard Core community member about a project of theirs. We learn together a lot, share best practices, and write some good code. All this is live, and you can join us with your questions! Here, you can find the previous pair programming sessions, and here, you can find the stream for the upcoming one! See you at 5 PM UTC on the 21st! (On a Tuesday due to Whit Monday in Europe.)

This time, Drew Brasher will join us with a Content Warning Module project that she started in this discussion. We'll start with at least a scaffolding of the module, take the following blog post as a guideline, and then build it from there.

Your host and the "navigator" of the pair programming session will be Zoltán István Lehóczky.

Would you like to be our guest? Just let us know!

Theme development continued with Zig - Orchard Core Pair Programming by Lombiq

Orchard Dojo Newsletter

Lombiq's Orchard Dojo Newsletter has 471 subscribers! We have started this newsletter to inform the community around Orchard of the latest news about the platform. By subscribing to this newsletter, you will get an e-mail whenever a new post is published to Orchard Dojo, including This week in Orchard of course.

Do you know of other Orchard enthusiasts who would like to read our weekly articles? Tell them to subscribe here!

If you are interested in more news about Orchard and the details of the topics above, don't forget to check out the recording of this Orchard meeting!

No Comments

Add a Comment