Commit graph

38 commits

Author SHA1 Message Date
Nabin Hait
81dc1cf4eb Set 5 mins timeout for long test cases 2017-09-12 16:20:39 +05:30
Nabin Hait
116a123f50 Wait for after_ajax after setting form values 2017-09-12 15:37:35 +05:30
Rushabh Mehta
a8a10a9d72 Merge pull request #3882 from pratu16x7/user-progress
User Progress dialog
2017-09-04 11:13:35 +05:30
Zlash65
b7b77609ce added workflow mechanism to add user 2017-08-29 11:08:40 +05:30
pratu16x7
674308958a [setup-wiz] UI test command 2017-08-29 10:03:04 +05:30
tunde
a0e95877f6 adds some jsdocs style function comments 2017-08-17 20:23:06 +01:00
tunde
4996771f8e adds new function is_disabled_field 2017-08-17 14:17:02 +01:00
Rushabh Mehta
6081c30971 [tests] less verbose logs 2017-08-10 11:11:04 +05:30
Faris Ansari
44ee24aa75 Colors in Event Calendar using color picker (#3857)
* Add Color field to Event, show colored event in calendar

* [minor] handle edge cases

* Fix test boilerplate

* Add test for event

* fix codacy

* fix test
2017-08-07 13:36:27 +05:30
Rushabh Mehta
784603acf1 [fix] selenium 2017-08-03 17:55:34 +05:30
Vishal Dhayagude
9d9cef9c0b [fix] multiple grid_row fetch (#3856) 2017-08-03 16:52:18 +05:30
Aditya Hase
375dfd601d Replaced urlparse imports with six.moves.urllib.parse (#3847) 2017-08-03 11:43:28 +05:30
mbauskar
80a2beb32c resolved merge conflicts 2017-08-02 18:10:23 +05:30
Rushabh Mehta
eb2c725dba [fix] stop action if trigger fails for validate and before_, fixes frappe/erpnext#10200 (#3842)
* [fix] stop action if trigger fails for validate and before_, fixes frappe/erpnext#10200

* [fix] stop action if trigger fails for validate and before_, fixes frappe/erpnext#10200

* [fix] codacy

* [fix] add test to tests.txt
2017-08-02 17:53:28 +05:30
mbauskar
11da197bba resolved merge conflicts 2017-07-28 16:07:36 +05:30
Faris Ansari
67277507f0 [hotfix] Linked with and List item click (#3803)
* [hotfix] Linked with and List item click

* Run a single test using Test Runner

* Add test for Linked With

* [minor] List view fixes
2017-07-28 14:30:18 +05:30
Utkarsh Goswami
be60a22365 [UI Test Report] Test for Query Report (#3801)
* Updated Test for Query Report

* Correct path updated
2017-07-27 17:44:54 +05:30
Utkarsh Yadav
877f8e2a23 [UI Test] Kanban view (#3777)
* added changes and one test for column

* changes in tests for new test runner

* codacy fixes
2017-07-25 12:05:18 +05:30
Revant Nandgaonkar
0fa951f893 Oauth2 tests (#3756)
* Test for oauth2 test_authorize_guest_redirect

* fix test oauth2

* [Fix] using py requests instead of werkzeug test client

* [Fix] https://www.codacy.com/app/frappe/frappe/pullRequest?prid=788942

* Test OAuth 2 Authorization Code Bearer Token flow

* [Fix] https://www.codacy.com/app/frappe/frappe/pullRequest?prid=788942
2017-07-24 11:25:05 +05:30
Rushabh Mehta
ebbad93d26 [minor] allow tests with longer timeout 2017-07-20 15:14:27 +05:30
Rushabh Mehta
db6743cf3c [minor] allow tests with longer timeout 2017-07-20 15:14:27 +05:30
Rushabh Mehta
5577442251 [tests] refactor tests (#3743)
* [tests] refactored client side tests

* [tests] refactored client side tests

* [tests] refactored client side tests
2017-07-19 18:09:06 +05:30
Rushabh Mehta
ff52a61e03 [minor] link filters should be selectable (#3736)
* [minor] link filters should be selectable

* [test] add timeout
2017-07-19 15:52:16 +05:30
Rushabh Mehta
d4ba711178 Fixing tests (#3735)
* [check] test_calendar_view.js

* [check] test_calendar_view.js

* [tests] run all together

* [tests] run all together

* [tests] that work
2017-07-19 10:21:55 +05:30
Rushabh Mehta
9f97ce568a [tests] allow test anywhere in app and add boilderplate _test_controller.js (#3724)
* [tests] allow test anywhere in app and add boilderplate _test_controller.js

* [fix] test_number_format.js

* [minor] dont run test_runner.js

* [test] _test_module_menu.js

* [test] why is browser crashing?
2017-07-18 18:01:54 +05:30
Utkarsh Yadav
7be8b20a14 [UI Test] Module view (#3707)
* [UI Test] Module view

* changed file names

* minor changes
2017-07-18 14:43:55 +05:30
Rushabh Mehta
ac55a8626e [minor] added timeout while setting values 2017-07-18 14:38:51 +05:30
Rushabh Mehta
368bbeeb29 [fix] filters for calendars frappe/erpnext#9850 (#3686)
* [fix] filters for calendars frappe/erpnext#9850

* [add] tests
2017-07-18 10:50:26 +05:30
Rushabh Mehta
b81946b217 [minor] test name for test_test_runner.py 2017-07-17 12:02:28 +05:30
Utkarsh Yadav
f4c955d5b6 [UI Test] list view (#3684)
* [UI Test] List view

* some fixes in test_list_menu

* codacy fixes

* minor fixes

* removed menu test
2017-07-14 17:36:28 +05:30
Ameya Shenoy
0a32ad83bf [tests] restructured tests to work with the new testing framework (#3683)
* minor changes and added global_test_search

* stashing the changes

* named assertions, modified test_lib to fit ES6 standard, added global search test

* modified to work with the new testing framework

* renamed files

* increased timeouts

* only calendar and desktop test

* modified travis.yml
2017-07-14 17:34:25 +05:30
Rushabh Mehta
7b4957d1f3 [tests] more timeouts 2017-07-13 15:26:11 +05:30
Rushabh Mehta
25ad8ef16c Test Runner - Refactored (#3679)
* [tests] test_runner to run one JS test at a time

* [tests] test_runner to run one JS test at a time

* [test] ignore failing tests

* [test] comment test_calendar_view

* [test] add timeout

* [test] add timeout
2017-07-13 15:17:12 +05:30
Ameya Shenoy
9d9933491d Desktop, Calendar View and Gantt View tests (#3652)
* verify desktop icon and links

* added comments and fixed indentation

* refactored test_desktop, added test_calendarView, added custom functions to test_lib

* .

* added a generic func to click dropdown items

* codacy fixes

* added comments, changed test_list to delete the todo created

* Update test_lib.js
2017-07-11 14:22:56 +05:30
Rushabh Mehta
b14a625153 [fix] dont call setup twice 2017-07-11 12:39:24 +05:30
Prateeksha Singh
afed0c9374 Setup wizard refactor (#3548)
* [wizard] refactor and UI cleanups

* [wip] attach image control cleanup

* try and detect lang, country, gravatar

* password control

* frappe.wiz to frappe.setup

* cleaned up slides, yet to decide on master data

* Add function to add dynamic fields in layout

* [fix] independent slide fields numbering by deep-cloning initial fields

* refresh only appended fields, autofill user_details

* [wizard] UI test

* [wizard] frappe icon, reuse get_geo_ip_country, cleanups
2017-07-03 18:15:40 +05:30
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
Faris Ansari
a9cf952505 UI Tests for Frappe (#3500)
* init nightwatch.js

* add nightwatch to travis

typo

nightwatch fix

kill node

launch_url

run tests on local selenium

manually run sc

sc in bg with sleep

minor

minor

run test on chromedriver

simplify travis

minor

add chrome package

implicit chromedriver

nightwatch.global.js

path fix

console statement

enable screenshot

send screenshot to telegram

path

minor

remove chromium

add binary

screenshot

url

cleanup

increase timout

minor

minor

minor

* login test

add page_objects in config

Fix login test

* bench run-ui-tests

* update package.json

* update travis

* bench reinstall before running ui tests
2017-06-19 17:58:45 +05:30