Граф коммитов

50 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Forehand Jr 055e279e5c
Fix failing ui tests. (#121)
* Fix failing ui tests.
2019-01-23 12:31:11 -05:00
Benjamin Forehand Jr 7aba910b07
Adding some additional query tests, as well as some options tests. (#103)
* Adding some additional query tests, as well as some options tests.
2018-10-31 13:02:10 -04:00
Raphael Pierzina d30edc200e Fix users API calls, see #73 (#80) 2018-10-01 11:28:15 -04:00
Raphael Pierzina 9555235b06 Revert "Merge pull request #73 from jrbenny35/fix_users_api_calls"
This reverts commit 9eab542ed5, reversing
changes made to 99821acb07.
2018-09-24 16:27:53 +02:00
Benjamin Forehand Jr 19a3f0ac94 Add missing file and fix code quality. 2018-09-10 11:37:18 -04:00
Benjamin Forehand Jr f12f90769b Updates to api calls that have changed in upstream. 2018-09-10 11:30:03 -04:00
Raphael Pierzina 0d9febcc5d Update tests/test_queries.py to expect two search results 2018-08-17 09:32:22 +02:00
Raphael Pierzina 60d5acf098 Replace try-except with assertion in test_queries.py 2018-08-17 09:25:47 +02:00
Raphael Pierzina a59abc58c5 Add missing type hints to tests/test_queries.py 2018-08-17 09:14:30 +02:00
Raphael Pierzina 435edd7e0d Add doc strings to fixtures in tests/conftest.py 2018-08-17 09:10:21 +02:00
Benjamin Forehand Jr 918315af2b Fix formatting. 2018-08-16 14:28:54 -04:00
Benjamin Forehand Jr e312810ee5 Fix typing error. 2018-08-16 14:15:46 -04:00
Benjamin Forehand Jr aaf493fbff Add search exclusion test. 2018-08-16 14:12:54 -04:00
Benjamin Forehand Jr 34892ed190 Formatting and flake8 updates. 2018-08-07 10:51:47 -04:00
Benjamin Forehand Jr 99fdc92e31 Add id test. 2018-08-07 10:36:55 -04:00
Benjamin Forehand Jr 9dc82d3b7b Added a few query tests. 2018-08-03 15:28:25 -04:00
Benjamin Forehand Jr 861f12a758 Changed formatting to 88 max line length. 2018-07-12 11:03:28 -04:00
Raphael Pierzina 7be7eee9f6 Change return type for login_page fixture 2018-06-28 15:52:19 +02:00
Raphael Pierzina 5c647bd199 Change return type of server_url fixture 2018-06-28 15:52:19 +02:00
Raphael Pierzina 26a3636733 Resolve type hint for user fixture 2018-06-28 15:52:19 +02:00
Raphael Pierzina b368ca1753 Add type hints to test_queries.py 2018-06-28 15:52:19 +02:00
Raphael Pierzina 734c4dacd9 Add type hints to test_login.py 2018-06-28 15:52:19 +02:00
Raphael Pierzina eb4fefe1a1 Remove unused flake8 import from conftest.py 2018-06-28 15:52:19 +02:00
Raphael Pierzina 886f77b824 Create package for models 2018-06-28 15:52:19 +02:00
Raphael Pierzina d2178b3d3a Add type hints to conftest.py 2018-06-28 15:52:19 +02:00
Raphael Pierzina eb4abeacec Fix mypy problem in conftest.py 2018-06-28 14:03:55 +02:00
Benjamin Forehand Jr 429ddf9760 Moved some functions to proper classes based on new login flow. 2018-06-26 14:55:19 -04:00
Benjamin Forehand Jr 67abfaa2a3 Changed login function logic. 2018-06-26 14:28:12 -04:00
Benjamin Forehand Jr e5b25a5ccd Fixup. 2018-06-26 13:02:30 -04:00
Benjamin Forehand Jr 96a6a17da7 Trying cli for datasource creation. 2018-06-26 12:53:39 -04:00
Benjamin Forehand Jr e89897656e Updated formatting and flake8 fixes. 2018-06-25 17:50:29 -04:00
Benjamin Forehand Jr 2e09ec118e Added query search test. 2018-06-25 17:47:21 -04:00
Benjamin Forehand Jr 7454fc7fce
Add flake8 (#36)
* Add some linting and flake8 to circleci.
2018-06-22 23:50:21 -04:00
Raphael Pierzina f9bd0256e3 Improve code formatting 2018-06-19 13:04:21 +02:00
Raphael Pierzina e1c7fd38c5 Update imports in conftest.py 2018-06-19 12:34:40 +02:00
Raphael Pierzina 394a3c0568 Add doc string to UserFactory 2018-06-19 12:30:18 +02:00
Raphael Pierzina 480acfb19c Fix function name of user factory fixture 2018-06-19 12:30:00 +02:00
Benjamin Forehand Jr f0890ca72c Added new factory instance. 2018-06-18 11:49:38 -04:00
Benjamin Forehand Jr 08d898d3a3 Changed logical operator. 2018-06-15 17:01:23 -07:00
Benjamin Forehand Jr 302148a3c0 Updated formatting. 2018-06-15 16:54:01 -07:00
Benjamin Forehand Jr 839a5791ed Added new users fixture and class options. 2018-06-15 16:44:29 -07:00
Benjamin Forehand Jr 27350f7e34 Updates based on review. 2018-06-11 16:24:04 -07:00
Benjamin Forehand Jr af10054a1e Changed admin login to fixture. 2018-06-08 13:14:39 -04:00
Benjamin Forehand Jr 9ae001d4d3 Removed json import. 2018-06-07 12:13:51 -04:00
Benjamin Forehand Jr 0273c0cab6 Added api calls for adding a user. 2018-06-07 11:49:52 -04:00
Benjamin Forehand Jr 5ec794da09 Updates based on review. 2018-05-24 14:55:41 -04:00
Benjamin Forehand Jr 684ccfa0da Updates to makefile and returned to using server url. 2018-05-23 11:27:58 -04:00
Benjamin Forehand Jr 3ced2428a5 Added docker compose files, updated Dockerfile command and tests.
* Added new docker-compose files to aid with ui test development as
as well as running ui tests against upstream.

* Changed the tests to use pytest base url. This allows us to use
the verify option to wait for the server to be created and setup
before beginning the tests.

* Added setup-docker.sh script to config the docker redash databases
and setup the redash instance for testing.

* Added a docker entrypoint to allow for calling test command from
the command line. This will help with CI.
2018-05-18 17:35:09 -04:00
Raphael Pierzina 4719d65adb Implement first UI tests for login 2018-04-26 18:49:22 +02:00
Raphael Pierzina cafdd10254 Implement pytest plugin in tests/conftest.py 2018-04-26 18:48:32 +02:00