Giter VIP home page Giter VIP logo

heavens_door's Introduction

Heaven's Door

A tiny Rails engine that generates capybara test scenario by recording browser operation in development env.

Installation

Add this line to your Rails application's Gemfile (in most cases, for development group only):

gem 'heavens_door', group: :development

Usage

Usage

Start Recording

Visit your development app with your browser, then click the โบ button on the top right.

Generate Scenarios

Just manipulate the browser, like fill-in the forms and submit, or click the links. Your operations will be recorded on the browser.

Copy to Clipboard

You can export the operations as a Capybara test scenario script by clicking the ๐Ÿ“‹ button.

Stop Recording

To stop recording and clear the whole recorded scenario, click the โน button.

Requirements

  • Rails
  • Modern browsers

Contributing

Pull requests are welcome on GitHub at https://github.com/amatsuda/heavens_door.

TODO

  • Insert assertions from the browser

  • Some kinds of input (like time_field, datetime_field) might not be working properly

  • Hotkeys to hide/show the panel

  • Better UI

  • Cleaner JS code

  • Tests (do we really need tests for this? Well, maybe...)

  • etcetcetc.

License

The gem is available as open source under the terms of the MIT License.

heavens_door's People

Contributors

acjustplay avatar amatsuda avatar hkdnet avatar indigolain avatar kichion avatar luizpicolo avatar moiseshilario avatar ravelll avatar rono23 avatar ssig33 avatar tomog105 avatar viniciusalmeidasilva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

heavens_door's Issues

Recording non-localhost sites

This looks great, thanks for putting it together!

I haven't dived in yet, but was wondering if it'll play nicely recording non localhost sites?

Thanks again

Button position for recording

The button that starts burning in both Chrome and Safari browsers on the Mac is in a difficult position to click due to the scroll bar.

screen shot 2019-02-02 at 11 58 26 am

Record button is missing

Hi myself and another developer added your gem but the record button isnt present, wondering is this a known issue?, Thansks.

navigator.clipboard is undefined

Firefox Developer Edition 66.0 Beta 6 (20190207161357)

TypeError: navigator.clipboard is undefined[Learn More] heavens_door.js:31:5

when I type:
sessionStorage.heavensDoor

It always return:

"  scenario 'GENERATED' do
    visit '/whitelabels/clients/new'
"

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.