Google Summer of Code
#GSoC Empowering Tomorrow's Coders: Igniting, Innovating, and Inspiring Mauticians of the Future with Google Summer of Code.
Keep up to date with the latest news from our Summer of Code students via this blog.
Welcome to week 4
In my last blog post of Week 3, I mentioned that I would be able to obtain all the plugin and theme data successfully. I intended to test this script by monitoring the data in the database.
The code has been modified and now I have a code that retrieves all plugins and themes and inserts the data into the database. I made an effort to run that,
With the deno run --allow-env --allow-read --allow-net supabase/functions/fetch_packag/index.ts
but the issue occurred!
I faced a major challenge this week that my data was not inserting into the database. I can see the requests on the da...
Read more
Hey everyone! Back again with updates on my GSoC project. We started by building the environment, learned some testing tricks, and started creating tests for contacts.
Now it’s time to make them organized. That's where Page Objects and Step Objects come in! Think of them as filing cabinets and handy tools for keeping our tests clean and easy to understand. Imagine a test for creating a new contact. We'd need to interact with various elements on the "Create Contact" page, like name fields, email addresses, and dropdown menus. Traditionally, these element locators (like IDs or CSS selectors) wou...
Read more
Hi everyone,
Welcome back for another update on my Google Summer of Code project! This week, things got real! After setting up the test environment and getting comfortable with Codeception, it was time to put that knowledge to the test (pun intended!).
Testing with WebDriver
Since Mautic heavily relies on JavaScript and AJAX, we are using the webdriver module for our test suite and in the last blog we discussed how to configure it.
PhpBrowser does not execute javascript, if we want to test the effects of client side code, we must use the WebDriver module. Webdriver executes tests in a real browser...
Read more
After moving around the demo and getting ideas from it let's have a deep dive into the main implementation!
My Deno environment and the Supabase are all set so I started coding for the main implementation!
As discussed earlier with mentors, I just created the database schema and got to understand the structure, how the JSON is stored of package data, and how we are retrieving it so that I can manage the SQL code accordingly. Then I implemented it in Supabase through their SQL editor. We can use the Supabase SQL editor to create the table and make queries or changes on the table from that editor....
Read more