Code Monkey home page Code Monkey logo

polariscope_2's People

Contributors

jhulme avatar samnissen avatar

Watchers

 avatar  avatar  avatar

polariscope_2's Issues

Show recent edits to Testsets

Show the most recent edits to testsets and corresponding test actions, object identifiers and test action data.

QAA-78

Encrypt variables while at rest and in flight

  • Data Element Values (aka Variables) should be encrypted while at rest
  • Run Test Action Data created from Data Element Values should be flagged as needing encrypted, and encrypted while at rest
  • Encrypted Run Test Action Data should be sent to API in its Encrypted form, and decrypted on the fly by workers.

QAA-96

DRY up *_sync code in rake tasks for connecting to API

The classes for getting data from the API:

  • lib/tasks/sync_actions.rb
  • lib/tasks/sync_browsers.rb
  • lib/tasks/sync_selectors.rb
  • lib/tasks/sync_sibling_relationships.rb
  • lib/tasks/sync_object_types.rb

reuse code for creating the connection to the API.

This could be passed to another class or module that would be instantiated when needed.

Create system of collecting Browsers from the WAA

Since only WAA-approved browsers can be used, and because Polariscope requires browsers to allow test-execution, please consider creating a system for collecting the available browsers from the Web Action API.

Add more detail to Runs

Add details to Runs list (on a given Collection):

Status: Pass/Failed/Executing/Queued/Scheduled

QAA-81

No rakefile found

$mina fresh:db
user@place's password:
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

I would assume you'd have to run bundler before being able to do this anyway?

Sometimes reordering the steps doesn't work

Change the numbers in the boxes of a test, push the reorder steps button, expect the steps reordered and they aren't.

The logs show no calls to the reordering action, so possibly a validation error on the JavaScript posting the data?

QAA-99

error running `setup:all`

-----> Setup the DB
$
    echo "-----> Create SQL query"
    DATABASE=polariscope_two
    Q1="CREATE DATABASE IF NOT EXISTS $DATABASE;"
    Q2="GRANT USAGE ON polariscope_two.* TO $PSAAPPMYSQLUSERNAME@localhost IDENTIFIED BY '$PSAAPPMYSQLPASSWORD';"
    Q3="GRANT ALL PRIVILEGES ON polariscope_two.* TO $PSAAPPMYSQLUSERNAME@localhost;"
    Q4="FLUSH PRIVILEGES;"
    SQL="${Q1}${Q2}${Q3}${Q4}"
    echo "-----> Execute SQL query to create DB and user"
    echo "-----> Enter MySQL root password on prompt below"
    echo \$\ mysql\ -uroot\ -p\ -e\ \"\$SQL\" &&
mysql -uroot -p -e "$SQL"
    echo "-----> Done"

-----> Create SQL query
-----> Execute SQL query to create DB and user
-----> Enter MySQL root password on prompt below
$ mysql -uroot -p -e "$SQL"
Enter password:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '@localhost IDENTIFIED BY ''' at line 1

Allow users to schedule test execution

When running a selection of tests, users should be able to set the time of execution. Users should also be able to set the tests to recur (at a minimum on a daily, weekly basis).

Users should also be able to manage scheduled tests -- including cancelling or updating execution time. This could reside in Runs#index.

QAA-75

Escaping HTML fails if the column is nil

If name or description on a test_run are nil, executing the tests generates this error:

NoMethodError (undefined method `include?' for nil:NilClass):
  app/models/run_test.rb:39:in `escape_jquery_html_characters'
  app/controllers/runs_controller.rb:39:in `block in create'
  app/controllers/runs_controller.rb:38:in `create'

Basic database.yml should be in repo and in mina shared folder

development:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: polariscope_two_dev
  pool: 5
  username: polariscope_two_dev
  password: polariscope_two_dev
  socket: <%= ENV['PSAAPPMYSQLSOCKETLOCATION'] %>
test:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: polariscope_two_test
  pool: 5
  username: polariscope_two_test
  password: polariscope_two_test
  socket: <%= ENV['PSAAPPMYSQLSOCKETLOCATION'] %>
production:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: polariscope_two
  pool: 5
  username: <%= ENV['PSAAPPMYSQLUSERNAME'] %>
  password: <%= ENV['PSAAPPMYSQLPASSWORD'] %>
  socket: <%= ENV['PSAAPPMYSQLSOCKETLOCATION'] %>

Error when trying to access restricted ObjectIdentifierSiblingsController#edit

I, [2016-03-02T06:20:36.627954 #22539] INFO -- : Processing by ObjectIdentifierSiblingsController#edit as HTML
I, [2016-03-02T06:20:36.628079 #22539] INFO -- : Parameters: {"collection_id"=>"2", "testset_id"=>"2", "test_action_id"=>"12", "object_identifier_id"=>"6", "id"=>"1"}
I, [2016-03-02T06:20:36.635202 #22539] INFO -- : Completed 500 Internal Server Error in 7ms
F, [2016-03-02T06:20:36.637143 #22539] FATAL -- :
NoMethodError (undefined method <<' for #<ActiveModel::Errors:0x000000083384b8>): app/controllers/object_identifier_siblings_controller.rb:113:inbelongs_to_user'

Create system for handling changes to Activities from the API

Currently when the API removes one of its available activities, the UI delete the corresponding Activity. The result is that the Testsets and Run Tests in the UI stop working, as they rely on each Test Action or Run Test Action having one Activity. The UI should have a system of 'retiring' Activities:

  • They remain in completed, updated Run Test Actions.
  • Any Run Test Actions that are not updated are set in a special 'failed' state that indicates the change.
  • Test Actions are given an 'invalid' Activity. The invalid Activity blocks execution (i.e. creation of Runs using the corresponding Testsets). The invalid Activity blocks saving edits of the Test Action until a valid Activity.

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.