Coder Social home page Coder Social logo

buvisreg's Introduction

BU WordPress Visual Regression assist plugin

This plugin is intended to facilitate gathering URLs from a specific WordPress site. The idea is geared towards visual regression testing. It is Initially developed with the use of BackstopJS in mind but can be adapted as it simply helps in the management of the URLs for testing.

Routes

In use

Get output of all post types URLs {yoursite address}/wp-json/visreg/v1/allposts

Admin page

The link to the admin page for this plugin is located under “Tools” in the dashboard menu

Usage

Flagging pages manually for custom selection

On any page, post, or custom post types, there is a check box on the sidebar to flag a specific page for URL testing. Check the box and hit update if you wish to include such post into the flagged selection.

URL Request

In admin page, select the type of post or content you wish to get the URLs from and hit “Generate list”. To use the list, hit “Export list” and the list of URLs will be available for download as a JSON file.

How it works

The plugin contains a set of custom API endpoints that helps with sending request via the wp-json option built into WordPress. For more information on wp-json visit the WordPress developer codex.

Working features

  • Copy url request
  • Quick filter
  • Advanced filter with date filtering and post-type filtering (one post typa at a time)

Not working features

  • Multiple post-type filtering
  • Flagged filtering
  • Randomized selection filtering

buvisreg's People

Contributors

ekspresyon avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.