GithubHelp home page GithubHelp logo

classicvalues / replayweb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intuit/replayweb

1.0 1.0 0.0 3.75 MB

ReplayWeb is a collection of tools to accelerate building and maintaining functional tests for user interfaces.

License: GNU Affero General Public License v3.0

JavaScript 98.54% HTML 0.35% CSS 0.95% Shell 0.15%

replayweb's Introduction

ReplayWeb

All-in-one toolbox for generating browser automation

CircleCI Auto Release Code Style

ReplayWeb is a all-in-one toolbox that allows developers to focus on writing and maintaining application code, not test code. It is comprised of a Chrome extension that you install in your Chrome browser that allows you to record test scripts and saved and played back later. Once you have recorded scripts you can play them back from within the extension or on the command line. The command line execution uses the ReplayWeb Test Runner to automatically convert tests to WebDriverIO scripts that can be played back across different browsers.

Feature highlights

๐Ÿš€ Easy script recording via a Chrome extension

๐Ÿš€ Ability to execute recorded tests locally via Chrome extension or command line

๐Ÿš€ Integration with source code repositories to enable running tests during CI/CD

Getting Started with ReplayWeb

Installing the Chrome Extension

  1. Grab the latest release from the releases; the packaged Chrome extension is a .crx file
  2. In Chrome navigate to the extension management page (chrome://extensions)
  3. Drag and drop the .crx file over the page to install
  4. In a terminal, run one of the following commands based on how you authenticate with github:
    • Personal Access Token: curl -L https://raw.githubusercontent.com/intuit/replayweb/master/packages/host/src/static/setup.sh | bash
    • SSH Keys: curl -L https://raw.githubusercontent.com/intuit/replayweb/master/packages/host/src/static/setup-ssh.sh | bash

For additional details see the readme for the Chrome Extension.

Installing the Test Runner

Available through npm, @replayweb/testrunner converts your JSON tests recorded from the Chrome extension into webdriverio tests. To get started, install the required dependencies into your project:

If you're using npm 5+

npx install-peerdeps --dev @replayweb/testrunner

If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly.

If you're using npm <5 intall the deps listed from the following command

npm info "eslint-config-airbnb@latest" peerDependencies

And add a simple wdio.conf.js:

const { getDefaults, loadFromConfig } = require('@replayweb/testrunner');
exports.config = { ...getDefaults(), ...loadFromConfig() };

This will read the replay.config.json from your repository, that was created by the Chrome extension and load all of your tests and suites. To execute the tests in your shell you can do npx wdio, or add a script to package.json that just executes wdio.

For additional details see the readme for the Test Runner package.

Documentation

The documentation is divided into several sections:

Contributing

Read below to learn how you can take part in improving ReplayWeb.

Code of Conduct

Intuit has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributing Guide

Thanks for your interest! Please see the CONTRIBUTING.md file for more information on how to develop and test your changes before contributing bug fixes and enhancements for ReplayWeb.

Good First Issues

To help you get your feet wet with our contribution process, we have a list of good first issues that have a relatively limited scope. This is a great place to get started.

License

This project is licensed under AGPL 3.

replayweb's People

Contributors

celeo avatar hipstersmoothie avatar timclarkson avatar aniketpaul1592 avatar rahulkshinde avatar shelbycohen avatar tonyhernandez avatar dong-alex avatar reeti-sarup avatar aasthagupta avatar kgchow avatar hwen3 avatar meeladdawood avatar purvikaul avatar samrae7 avatar stpalmer21 avatar nanomosfet avatar dependabot[bot] avatar rajput-kshitij avatar rounaksalim95 avatar

Stargazers

Classic Values avatar

Watchers

 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.