Code Monkey home page Code Monkey logo

studio's Introduction

Workflow Studio for ProActive Workflows & Scheduling

Build Status

Requirements

You need npm installed (Node.js). Selenium-standalone is required for the UI tests (installed locally by npm).

Setup

Run these commands to setup your dev environment:

npm install -g grunt-cli bower
npm install
bower install

Then to deploy the studio with the scheduler create a symlink in $SCHEDULING_HOME/dist/war pointing to app.

Tests

Setup

  • Fulfill the dependencies with npm install and bower install. Then let's assume you did some changes to the code, you want to check for regressions. You need to either run grunt clean build test:ui:dev(test is a predefined task of grunt, and already runs some syntax check on the code).

Manual Test Execution

  • On the first run you need to use node_modules/selenium-standalone/bin/selenium-standalone install which will install generic drivers and chrome drivers (firefox stopped support of their selenium driver and started a new webdriver in Rust). Once selenium server is downloaded, you can run it with node_modules/selenium-standalone/bin/selenium-standalone start to start your local selenium server instance.

  • Call nightwatch with your config and test suite node_modules/nightwatch/bin/nightwatch --config test/ui/nightwatch.json --env jenkins-chrome for example

How to run a specific test case

The test will assume you have a running studio instance (either in a real release that is running locally, or using method B). Method B doesn't require any running release, you have to run the following command node test/json-server-data/mock-scheduler-rest.js from your studio respository. Then you can run a single test file using node_modules/nightwatch/bin/nightwatch --config test/ui/nightwatch.json --test test/ui/specs/login.js --testcase "PWS-159 The dialog Please open a workflow appears behind the no workflow open panel" if you don't specify the --testcase it will run the whole test file

studio's People

Contributors

bluekvirus avatar fviale avatar laurianed avatar lpellegr avatar maelaudren avatar marcocast avatar martintrn avatar mbenguig avatar mebubo avatar paraita avatar sandrinebeauche avatar shatalovyaroslav avatar smirnoveeon avatar sophiesongge avatar tobwiens 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.