polariscope_2's People
polariscope_2's Issues
Carousel of step-by-step images
Using a standard module, play a carousel of every screenshot captured during a test in a lightbox on the testset.
QAA-98
Add config/backup_credential.yml to mina shared paths
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
Collecting Pointers at the time of creating the Run/RunTests/RunTestActions is not implemented
When the Run is created, RunTestActions should be built from pointed-to Testsets.
QAA-116
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.
Include WAA dependencies in install script and instructions
Since the app working properly depends on OrderActionTypes, Selectors and IdTypes being synced from the Web Action API, this should be included in the install script where possible and the instructions as necessary.
Alert users upon test execution failure
Users should be notified of Run failure via email.
QAA-74
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?
open_another_window mistakenly requires an object
It should only require data.
Create system for absorbing and displaying data about test action success and failure from the API
Object Types are not displayed in alphabetical order
Allow for greater flexibility in data entry and editing
Turn TestActionData#data into a mediumtext field and change UI form element from <input type="text">
to <textarea>
QAA-83
Add config/symmetric-encryption.yml to mina shared files
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
Please consider making remote deployment optional
Update the Run Tests and Test Actions without reloading the page
Update the Run Tests and Test Actions without requiring that the user reloads the page.
QAA-65
Allow users to set collections' permissions
Allow users to set collections to either 'open' or 'closed', where open would allow other users to edit or delete elements within the collection.
QAA-76
Allow Markdown test creation and export
As a tester, I would like to be able to write tests, their steps and objects in a documented Markdown format, as well as export existing tests to the same format. An example of such functionality: http://getgauge.io/documentation/user/current/specifications/scenarios.html
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
Add config/web_action_api.yml file to .gitignore
config/web_action_api.yml file is often updated with new email/token details after deploying to a fresh development or test environment.
As a results file should remain untracked by git.
Clarify in deployment instructions that deploy domain var requires username too
export POLARISCOPEDEPLOYDOMAIN='username@domain-or-ipaddress'
or something
Deployment requires `config/web_action_api.yml` and `config/secrets.yml`
$ mina deploy
# ... bunch of stuff
-----> Migrating database
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /path/to/tmp/build-14567462368075/config/web_action_api.yml
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'
"mina: command not found"
$ mina setup:all
bash: mina: command not found
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'] %>
`bundle install` requires bundler
gem install rails
-> gem install rails bundler
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:in
belongs_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.
Allow drag-and-drop reordering of test actions
QAA-79
The color of the rows in Run Test Steps can be wrong
When one step doesn't have additional details to expand, the subsequent steps will be grey instead of the expected white
run_test_action_data data column doesn't match test_action_data size
run_test_action_data data column doesn't match test_action_data size
The former is 'string', the latter is 'mediumtext'.
When executing Testsets, any data columns larger than the string maximum raise an error and the Run is not created.
`setup:all` continues even if mysql statement returns error
"No package build-essential mysql-server zlib1g-devel libmysqlclient-devel libsqlite3-devel available.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.