 Hi, Gielco. Do you hear me? Yes. Okay, just a moment. I'll see if I can get in touch with the room to see if they can hear or see you. Okay, it looks like Emerald is saying that they can see in here. So, Gielco, if you would like to share your screen to do your demo, I think we could get started. I think you're the only demo this month in credit. Sure. Let me just share a screen. Can you see it? Yep, I see it. Can I start? Yes. This is Gielco presenting for credit May 2017. Hi, looks like I'm the only one today. I'll try to be quick. I've practiced. It should take exactly five minutes. So, for years we had Selenium tests in Ruby. And now, since recently, we have Selenium tests in Node. It's all documented on the video editor. Take a look at the Selenium landing page. Specifically, there is Selenium Node.js documentation. And today I'll be talking about how to write a test. So, this page here. So, here it is. So, there's a couple of things you can do. You can write a test for core or for any midwiki extension. So, since core or midwiki core already has some tests in Tesla Selenium, take a look. There's really and all that. We will be talking today how to write a test for an extension. So, there's a few examples already in Garrett. So, for related articles and visual editor. But I think the simplest one is this one. So, what I'll be talking today is documented here and in Garrett. So, what are we going to do today? So, we'll go to a new page. We'll create it. And we'll enter this text. So, a simple example and close. We'll save. And then we'll check if the formula has been rendered as an image. So, that's all. So, this is a simple test that we'll implement today. So, as I said, this is in Garrett. It's not merged yet. But you can take a look. We can get it using the tutorial machine. So, there's three files. One of them is readme saying how to enable the math extension. Well, how to provision the math rolling and how to get the code from Garrett and how to run all of the tests or just this one. So, how a simple test looks like. So, this is it. So, the first few lines we are setting up the stage. So, we will be using the built-in Node.js assert library for assertions. And there's a couple page objects here. So, edit page is required from the MiWiki Core. So, it's already merged there. And this one, math page is in the math poster. So, a simple test as math should work for addition. So, I'm not super familiar with math. So, this is really a simple example. I mean, with the math extension. So, in this variable page name, we'll just get a random string because we really care what the page name is. We'll use the edit page edit function and provide it with this random string. And with the simple formula. And then we'll just assert that the math page here is one has this particular image and that it exists. So, a quick look at how this math page is implemented. So, it's really a simple implementation. There's only this image. Element on the page. And it's just an element on the page with this CSS selector as we saw here. And I don't have the other one in Garret. So, the edit page, but I do have it anyway. So, this is a slightly more complicated page object. So, it has these two sections. So, this top one has some elements on the page. So, content and save, for example, are just elements with CSS selector. So, open function, provide a bit of name, we'll open the page, we'll already be ready for editing. And this edit function, provide a bit of name and content, we'll use this open function from above. We'll use this content element and set value to whatever we provided and use this save element and click it. If we go back. So, here it is, right. So, that's all. I just have the time to run the test. And you'll see another Chrome opening. It'll be really quick because there's just one test. And my five minutes, I'll rerun it just one more time. Hopefully, you could see anything going to hang out. So, it's opening, entering text and checking if the image is there. So, that's pretty much all I had for today. The important thing is to remember, there's this Selenium Lightning page on the .org. If you have any questions, there's ways how to get help. That's all. Okay. Thanks a lot, Jelko. It'd be nice to do stuff in JavaScript. We ran some surveys and talked with people and people said they would prefer JavaScript or Ruby. So, we provided it too. Yeah. Right. And I think that's it for credit for this month. Thanks again, Jelko. And thanks for those of you who tuned in. Have a nice day.