seitime-frappe/.travis.yml
Faris Ansari 83d6659e12 Add UI tests using Cypress (#6562)
* test(UI): Add UI tests using cypress

* test: Add test configuration for travis

* fix: Lock redis version

* fix: Refactor fill_field command

* fix: Rename setup_wizard test to run first

* test: Add setup for dashboard service

* test: Add build matrix for ui test

* test: Add name to each build matrix

* test: Only include ui test for an extra build stage

* fix: Exclude UI test with python 3.6

* test: Test order

* test: Enable developer_mode

* test(login): Check session user and not hash

* test: Refactor assert

* test: Refactor setup wizard test

* test: Remove setup wizard test

* test: Add blank seed database

* test(form): Scroll to top before save

* test: Fix form test

* test: timeout

* test: more wait

* test: Remove specific selector

* test: Remove wait, delay typing

* test: Blur input after typing

* test: Wait for form to get dirty

* test: Add credentials for frappe org

* test: Remove node install step

* style: Fix linting issues

* fix: List view filters

- ToDo: Dont override frappe.route_options if it is already set

* test: Dont reload page before test
2018-12-03 09:07:31 +05:30

44 lines
No EOL
635 B
YAML

language: python
dist: trusty
sudo: required
python:
- 2.7
- 3.6
env:
- DB=mariadb
- DB=postgres
- TEST_TYPE=ui
services:
- mysql
addons:
postgresql: "9.5"
hosts:
- test_site
- test_site_postgres
- test_site_ui
matrix:
exclude:
- python: 2.7
env: DB=postgres
- python: 3.6
env: TEST_TYPE=ui
install:
- $TRAVIS_BUILD_DIR/.travis/install.sh
before_script:
- cd ~/frappe-bench
- sed -i 's/9000/9001/g' sites/common_site_config.json
- bench start &
- sleep 10
script:
- $TRAVIS_BUILD_DIR/.travis/run-tests.sh
after_script:
- coveralls -b apps/frappe -d ../../sites/.coverage