Biweekly Report-2

Shailesh Kanojiya
2 min readJul 3, 2021

--

The week starts with a meeting with my mentors and had a great discussion about the workings. The following tasks were carried out :

  1. My initial task was to go through all the tasks in the phabricator related to Wikipedia Preview. I started reading all the completed tasks and tried to understand the issues from the user’s point of view. I found out that it is the best way to understand all the faults and errors which had already been resolved as I will be working on creating cypress test cases.
  2. On 7th June, the coding period begins officially. So, I started working out with the different layouts of Wikipedia Preview. All the layouts are shown here. The aim of creating this test is to check for the visibility and appearance of all the layouts depending on the content being accessed.
  3. I created the page object of the preview pop-up. Page objects are necessary to access the different components through class objects. This helps to keep the code clean and improve its readability. This way we can access the elements in more
  4. Next, I created a test that checks the preview based on the content retrieved from the API. The Layout is based on the images, content size, content availability, network status. Depending on these things, it will check the preview visibility.
  5. The Preview pop-up appears either by hovering over the content or icon or by clicking over the content. The pop-up disappears on clicking the close button. So the test is created to check the above following events.

In this manner, I completed the first week of GSoC. These tests were published in the following PR. I learned a lot about testing and code readability.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Shailesh Kanojiya
Shailesh Kanojiya

Written by Shailesh Kanojiya

Software Developer and Undregrad at IIT Kharargpur

No responses yet

Write a response