Giter VIP home page Giter VIP logo

arlecchino's Introduction

arlecchino's People

Contributors

dependabot[bot] avatar quramy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

arlecchino's Issues

After / After Each

Motivation:

  • We want to clean up browser’s state(e.g. cookie, local storage, etc) whenever test ends (both success / error)

Execute raw JavaScript step

I want some escape hatches such as:

steps:
  - exec: myStep
module.exports = async function(ctx) {
  await ctx.currentPage.doSomthing();
};

Include scenarios written in other files

Motivation:

  • Refactor scenario YAML files
  • Page object pattern

Example

Simple

# main.yml
description: Main scenario
steps:
  - import_steps: po.yml  # expand steps statically
# po.yml
steps:
  - goto: /login
  - find:
      query: input[type='submit']
      action: click
  - wait_for_navigation

Complex

# main.yml
description: Main scenario
steps:
  - import_steps: po.yml$open
  - import_steps: po.yml$submit
# po.yml
- ref_id: open
  steps:
    - goto: /login
- ref_id: submit
  steps:
    - find:
        query: input[type='submit']
        action: click
    - wait_for_navigation

Create results report

It needs report UI design sketch.

I want:

  • View for how the scenario is configured
  • View of timeline of scenario steps
  • List view for screenshot images
  • View for stored variables

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.