Tuesday, August 13, 2019

How to Write Educational Content that Ranks in Google

What’s your reason for writing content? You want people to read it. To get more people to read your content, you want it to rank well in the search engine’s result. To achieve that goal, you should deliver what people need. This is when we come to the concept of educational content. When you...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

A Guide to Visual Testing with Percy

A Guide to Visual Testing with Percy

This article was created in partnership with Percy. Thank you for supporting the partners who make SitePoint possible.

Visual testing is the automated process of ensuring your user interface looks correct in different browsers and at different screen widths.

Most development teams rely solely on unit and integration tests. While this practice helps ensure application logic is working correctly, it fails to detect visual defects at the UI level. Implementing this type of test allows visual problems to be detected early and to get fixed before the product is released.

In this tutorial, you’ll learn how to set up and run visual testing for your project using Percy. For demonstration purposes, we’ll be using a single-page application that’s API-driven using real-world data. You’ll learn how to visually test UIs that output dynamic data, and about Percy’s visual review and approval workflow.

Prerequisites

Visual testing is a topic for intermediate and advanced users. To follow this tutorial, you’ll need to be comfortable writing code in JavaScript ES6+ syntax. We won’t be doing actual app development, but you should at least have some experience using the following libraries in case you want to tweak something in the demo project we’ll be using:

  • Express.js + RESTful APIs
  • jQuery
  • Axios
  • CSS frameworks

You should also be familiar with Git branching and different types of branching strategies. Familiarity with any testing framework will also help you easily understand the concepts discussed in this article. You’ll need to have a GitHub account before you can proceed with this tutorial. We’ll use this demo project as our starting point.

About Percy

Percy provides developers with a platform and workflow to run visual testing and reviews on web apps, static sites, or component libraries. There’s a free plan that supports unlimited team members, 5,000 snapshots per month (with a one-month history), and unlimited projects.

To get started with Percy, install one of its SDKs into the project you want to visually test. It’s the same as installing a testing framework like Mocha or Jest. Next, you write a script and run it just as you would with any type of test.

However, in Percy’s case, DOM snapshots of your web application are captured and uploaded for rendering on Percy’s infrastructure. Percy then detects and highlights visual differences between new and previous snapshots, also known as the baselines. The results are displayed in Percy, where you can review and determine whether the UI looks correct or needs to be fixed.

Percy renders each snapshot in Chrome and Firefox and can render at up to ten different screen resolutions. That’s quite impressive, as doing this manually is tiresome. I encourage you to read through the following docs to gain a deeper understanding:

The post A Guide to Visual Testing with Percy appeared first on SitePoint.


by Michael Wanyoike via SitePoint

Create an Interactive World Map With a WordPress Plugin

Here's how call-blocking apps are invading your privacy behind your backs

Over the past years, spam calls are a huge problem for the majority of users. More than 52,000 complaints were submitted to the Federal Communications Commission regarding spam calls in just last year. To avoid these kinds of troubles, users chose the way of spam-blocking apps to protect themselves...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by agha ali via Digital Information World

No Code Conference 2019

Colorful launching soon One Pager by Webflow for their upcoming No Code Conference to be held in San Francisco in November.

Full Review


by Rob Hope @robhope via One Page Love

Best Free WordPress Gallery Plugins

Google Docs, Sheets and Slides on Android are Getting Latest Google Theme Design

Google Drive on the surface appears to be a place where you can store your files and the like, and while this is not an unfair thing to say the product goes beyond that as well. It is a suite of software and applications that are meant to compete with Microsoft Office, and one thing that Google has...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Zia Zaidi via Digital Information World