Commit graph

45 commits

Author SHA1 Message Date
Rushabh Mehta
f409fd7358 [ui-tests] python is back! (#3565)
* [ui-tests] python is back!

* [minor] remove old test

* [test] dont test test_runner

* [tests] try firefox

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome 1

* [tests] try chrome 2

* [tests] try chrome 3

* [tests] try phantomJS

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] try chrome

* [tests] login click button

* [tests] login click button

* [tests] show log

* [test] test with start_maximized

* [test] test only login

* [travis] test another port for selenium

* [travis] try running ui tests after unittests are done

* [travis] pring body_div if fails

* [tests] complete setup wizard for frappe

* [minor] move ui tests to frappe/ui/tests

* [tests] ui tests in public and codacy fixes

* [fix] tests + eslint

* [minor] move tests to tests/ui folder and print console after print

* [fix] linting

* [tests] added documentation and better integration testing

* [promise] form triggering is now promise based

* [test]

* [test]

* [test]

* [test]

* [test] print output

* [minor] default empty in select and print console

* [cleanup] more minor fixes

* [enhance] first-cut done!

* [minor] frappe.run_serially to pass arguments while chaining
2017-07-03 11:53:00 +05:30
tundebabzy
6fbe20caaa Except and raise statement python 3 compatible style (#3216)
* changes exception and raise statements to python 3 style

* changes except statement to python 3 style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* adds six.reraise to fix python 3 style raise statements with traceback

* fixes indentation
2017-05-11 10:51:59 +05:30
tundebabzy
7b41d7e5eb Python 3 compatible print statements (#3199)
* changes print statements in file to python 3 compatible style using `__future__`

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* changes deprecated md5 module to hashlib

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements
2017-05-01 12:34:29 +05:30
Rushabh Mehta
86ceb21005 [feature] Global Search (again) (#2710)
* [start] global search frappe/erpnext#6674

* [fix] setup before running test

* [start] global search frappe/erpnext#6674

* Display result as rudimentary list, rebuild old doctypes

* Media view, child tables, delete document updates, searchable fields

* More results UI

* Code clean up

* remove msgprint from document.py to resolve merge conflict

* Modularization stage 1, get show more to work with it

* Dedicated modal Search bar works, some clean up needed

* Can't data-dismiss on links, Bootstrap issue, use hashchange

* Accomodate missing field content syndrome

* Search in boolean mode, make GS default in awesome bar, fix double modal bug and cleanup

* Add in Meta

* Add in customize form

* Modularise Global Search

* Search object

* Commonify Search UI: Stage I

* II: save list state, UI, default condensed view, refactor

* Fix SQL bug, Refactor awesome bar, Fix unicode bug, add nav results

* Refactor using separate search objects, some async issues

* Fix async flow

* Fix preceding more list bug

* UI additions

* another async fix, back link

* Help: Stage I

* Help: Stage II

* Background jobs, fix route options bug

* Fix GS syncing on install

* Add GS options in awesome bar: test

* Input now remembers search type state

* More UI updates

* Add description for GS results in awesome bar

* Fix help modal bug

* Fix: not commit during install

* Test cases, some fixes

* Update in_test flag in enqueue

* Disable GS sync when not install_db

* Add flag check

* Disable field in child tables

* Cleanups

* Create table fix

* Fix redis exception, remove commit enqueue, add gs in migrate

* Fix tests

* Single enqueue

* cleanups

* Fix tests

* Fix event test

* Fix duplication, search as first option

* Add show name in global search

* fix event tests and desk.less

* Fix communication.json

* [fixes] wip

* [fix] tests

* [minor] for tests

* [minor] for tests

* [minor] for tests

* [minor] for tests
2017-02-13 14:50:54 +05:30
Rushabh Mehta
cdac8794b9 [fix] [test] [translation] 2016-08-24 14:39:57 +05:30
Felipe Orellana
d07e6759a1 Added junit xml reporting capability to test_runner. Added new --junit-xml-output flag to frappe run-test bench command. Updated requirements file to include xmlrunner to generate junit xml reports. (#1995) 2016-08-23 16:49:08 +05:30
Anand Doshi
13e43fcbcd [fix] use importlib instead of imp.load_source in test_runner. Fixes to scheduler.py 2016-04-13 21:00:08 +05:30
Rushabh Mehta
9d8c2b5eff [enhancements] added frappe.utils.evalute_filter(doc, filter) and ability to hook multiple doc events at the same time 2016-04-08 17:07:31 +05:30
Rushabh Mehta
eb399f74bd [enhancement] desktop icons, completed modules setup and test cases 2016-03-16 11:17:29 +05:30
Anand Doshi
1dc5ebda32 [fix] test runner fixes 2015-09-23 12:48:29 +05:30
Rushabh Mehta
da9530815a [test-runner] fix 2015-05-18 12:24:03 +05:30
Rushabh Mehta
af08e9629c [test-runner] fix 2015-05-18 12:14:53 +05:30
Rushabh Mehta
cb3984e902 [test-runner] fix 2015-05-18 12:11:49 +05:30
Rushabh Mehta
e841a47ab1 [tests] restart selenium tests 2015-05-06 23:22:41 +05:30
Anand Doshi
81f2153523 fixes to statics and scheduler 2015-04-06 19:30:20 +05:30
Rushabh Mehta
c153b810e0 [fix] high level perms serverside checking 2015-03-26 19:33:10 +05:30
Rushabh Mehta
d0d1f68c2d [minor] style 2015-03-16 18:44:23 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Rushabh Mehta
3bdd69fa61 [fix] export_json 2015-02-22 22:31:52 +05:30
Rushabh Mehta
7cad548270 [tests] 2015-02-21 22:37:35 +05:30
Rushabh Mehta
2f9608dba4 [fixes] [cleanup] clien side api, etc 2015-02-18 19:05:10 +05:30
Nabin Hait
508c4fc64b Fixed Conflict while merging v4 to v5 2015-02-10 17:20:39 +05:30
Nabin Hait
1e90f57385 Minor fixes: escaped characters 2015-01-16 15:37:47 +05:30
Rushabh Mehta
ac0a9deaf1 [mailbox] cleaned up, added tests #561 2014-09-29 12:21:56 +05:30
Rushabh Mehta
132793857d fix test 2014-07-15 14:50:50 +05:30
Rushabh Mehta
be98dc03d3 fix test 2014-07-15 14:50:50 +05:30
Rushabh Mehta
11aca930e8 fix test 2014-07-15 14:50:50 +05:30
Rushabh Mehta
b9f6bc3423 added email alerts 2014-07-15 14:50:49 +05:30
Pratik Vyas
0751a1b02f fix copy doc naming bug in test runner 2014-05-16 13:35:57 +05:30
Anand Doshi
3c160b6554 Deprecate Select fields with options as link: 2014-05-09 13:35:09 +05:30
Rushabh Mehta
343330fe6b hooks.txt -> hooks.py 2014-05-02 12:18:12 +05:30
Anand Doshi
2535c65bb1 Test Cases - commit after running tests, run tests --without_serve 2014-05-01 16:28:36 +05:30
Rushabh Mehta
487a4fed32 started client side testing using selenium and other related and unrelated fixes 2014-04-30 19:39:35 +05:30
Anand Doshi
a134be1d81 #478 2014-04-08 20:19:02 +05:30
Anand Doshi
e3ac45d4b0 docstatus transition check, permissions #478 2014-04-08 13:52:36 +05:30
Anand Doshi
d891c34e6e Run specific test cases by passing function names to --tests 2014-04-07 13:12:30 +05:30
Anand Doshi
f2d4f65f8d Refactored Customize Form frappe/frappe#478 2014-04-03 18:39:00 +05:30
Rushabh Mehta
efa987dfb1 frappe/frappe#478 fixes 2014-04-03 17:43:08 +05:30
Rushabh Mehta
5d4e39bef6 frappe/frappe#478, more changes, removed bean 2014-04-03 14:30:49 +05:30
Rushabh Mehta
4f304cfc6a frappe/frappe#478, frappe tests pass, .txt renamed to .json 2014-03-31 17:27:12 +05:30
Anand Doshi
60df3e32cc frappe/frappe#478 2014-03-28 16:45:46 +05:30
Anand Doshi
f1eb0dd005 Replaced doc, doc.fields frappe/frappe#478 2014-03-28 13:54:53 +05:30
Rushabh Mehta
1e364ba1c7 #478 2014-03-28 11:34:59 +05:30
Anand Doshi
edbadc18b2 Changed frappe.conn to frappe.db 2014-02-26 12:35:02 +05:30
Rushabh Mehta
024ddfcc5b -webnotes +frappe 💥 2014-02-14 14:55:11 +05:30
Renamed from webnotes/test_runner.py (Browse further)