Commit graph

121 commits

Author SHA1 Message Date
gavin
81df6fc92a
fix: Open console even if Frappe imports failed (#11832)
Co-authored-by: Sagar Vora <sagar@resilient.tech>
2020-11-02 16:42:12 +05:30
Gavin D'souza
5cf1568248 fix: Don't make lockfile changes
* Adding --no-save still updates the package.json. Unsure what to do
next.
2020-10-13 16:48:37 +05:30
Gavin D'souza
05feb9d42c fix: Don't remove cypress after installation 2020-10-13 15:58:27 +05:30
Gavin D'souza
40ee03c21d Merge branch 'develop' of github.com:frappe/frappe into move-cypress 2020-10-12 17:32:16 +05:30
mergify[bot]
31cb17f416
Merge pull request #11400 from gavindsouza/uninstall-app-for-non-existing-apps
fix: Uninstall App even if it doesn't exist on bench
2020-09-22 03:54:42 +00:00
gavin
f710ad095f
Merge pull request #11436 from gavindsouza/build-assets
feat: Ship built assets
2020-09-15 13:01:38 +05:30
Gavin D'souza
55733b9b38 fix: Early skip fetching Frappe Assets if running in CI 2020-09-14 21:00:10 +05:30
Gavin D'souza
464aefb9cd fix: Use yarn instead of npm 2020-09-14 18:44:41 +05:30
Gavin D'souza
8cc1636a8c fix: Install Cypress only if running UI tests 2020-09-14 17:01:18 +05:30
Gavin D'souza
ff384d9d72 chore: Minor fixes 2020-09-09 19:26:11 +05:30
Gavin D'souza
f975da1cbf fix: URL Fixes and code restructure 2020-09-07 16:55:43 +05:30
Gavin D'souza
fe44d2b97d chore: Optimize imports 2020-09-07 15:25:47 +05:30
Gavin D'souza
f53fe3e854 feat: Ship Built Assets 2020-09-07 15:14:37 +05:30
gavin
557bceed02
fix: Allow args and kwargs too
Co-authored-by: Aditya Hase <aditya@adityahase.com>
2020-08-20 12:03:03 +05:30
Gavin D'souza
aae0309ced feat: Allow me to execute anything console would allow 2020-08-19 14:19:52 +05:30
Suraj Shetty
e27c910f66 fix: Make users while setting up class 2020-08-12 00:02:39 +05:30
Suraj Shetty
b03513613f fix: Init site 2020-08-11 23:39:55 +05:30
Suraj Shetty
a7b3afdff5 fix: Add enable in_test flag for ui_tests 2020-08-11 23:28:34 +05:30
Faris Ansari
5a1ce409b6 fix: Add method to import data from file
- Update import paths to use data_import module
- Data Import Beta -> Data Import
2020-06-11 18:02:25 +05:30
Faris Ansari
6f80a0b462 fix: Data Import -> Data Import Legacy 2020-06-11 18:02:25 +05:30
Suraj Shetty
e389dcf6fe
Merge branch 'develop' into dib-fixes-2020-05-18 2020-06-09 15:26:46 +05:30
Faris Ansari
497068886c chore: Omit less and scss files from coveraage 2020-06-05 20:04:44 +05:30
Gavin D'souza
9d11f2c44f fix: redo improper merge commit 2020-06-01 19:31:41 +05:30
Gavin D'souza
07c15d0fe1 fix: replace terrible code with bad one 2020-06-01 18:44:47 +05:30
Faris Ansari
af62cb8967 fix: Imports 2020-05-29 18:52:52 +05:30
Sagar Vora
ff89abd930 fix(v13): use newer ipython compatible with python 3.8 2020-05-04 14:28:09 +05:30
Suraj Shetty
2ed8cacd2f chore: Use chrome browser for test
- Remove unused cypress:run command from package.json
2020-04-25 12:52:14 +05:30
Shivam Mishra
98d3533c2c
fix: UI tests (#9664)
* fix: fallback for default desk page

* fix: return if reference name does not exist

* refactor: rename to Query Report

* refactor: codacy linting fixes

* refactor: null check for data in workspace

* feat: enable cypress recording

* chore: codacy linting fixes

* refactor: don't set route explicitly

* fix (cypress): wait for request to be complete in grid pagination test

* fix (cypress): explicitly return async calls

* refactor: visit new_form directly

* refactor: skip some scripts for ui tests

* Revert "refactor: skip some scripts for ui tests"

This reverts commit 1e46e3cd5361c2910d25efb244774d153511af53.
2020-03-09 12:30:59 +00:00
Faris Ansari
4b51508194 fix: Cypress run command 2020-02-10 13:08:26 +05:30
mergify[bot]
6763ee7712
Merge pull request #9198 from gavindsouza/build-refact
refactor(build): updated variable names, namespaces + style fixes
2020-01-06 05:53:18 +00:00
Gavin D'souza
9dc172692d feat: added apps installed on site in console ns
chore: dropped deprecated commands
style: whitespacing and new line fixes
2020-01-04 13:44:37 +05:30
Gavin D'souza
16c4c8f202 fix(install): bench jupyter 2020-01-04 11:09:33 +05:30
Suraj Shetty
58825e89a8 feat: Disable testing for all sites by default
To avoid accidental test execution on production sites
2020-01-03 22:08:06 +05:30
Gavin D'souza
ae48dfe2b4 chore: dropped legacy selenium dependant tests
selenium TestDriver deprecated
--ui-tests flag in `bench run-tests` deprecated
2019-11-13 15:01:05 +05:30
Faris Ansari
b382be67d5 feat: data-import command
Use the new Data Import from the command line

```
bench --site sitename data-import --doctype Item --file /path/to/csvfile.csv
```
2019-09-30 13:39:43 +05:30
Aditya Hase
fe0c399750
fix(cypress): Use cypress:run command 2019-09-05 17:57:13 +05:30
Aditya Hase
8a3c5a8c51 fix(tests): Raise CalledProcessError if run-ui-test errors 2019-07-24 15:03:10 +05:30
Faris Ansari
1389300115 fix: bench run-ui-tests command (#7844)
* fix: bench run-ui-tests command

BREAKING CHANGE
This replaces the old run-ui-tests command which used selenium to run
UI tests with Cypress.

Usage:

bench --site [sitename] run-ui-tests [app]
bench --site [sitename] run-ui-tests [app] --headless

* fix: Include adminPassword from site_config

* fix: string formatting
2019-07-05 15:30:59 +05:30
Anurag Mishra
b76e42bc17 fix: removed *.xml 2019-06-13 17:52:47 +05:30
Anurag Mishra
376ba5392e fix: remove *_test.py 2019-06-13 16:53:03 +05:30
Anurag Mishra
a8ec5d6b2f fix: remove unwanted file from coverage 2019-06-13 16:43:36 +05:30
Faris Ansari
5e2c2d8337
fix: Index rendered page content (#7405)
* fix: Index rendered page content

- Order results based on words matched in title

* fix: Reset session user after indexing page

* chore: comments
2019-05-12 19:21:07 +05:30
Rushabh Mehta
abfb44a047
Merge pull request #6993 from zerodhatech/fixtures
export fixtures of a specific app
2019-02-28 13:01:21 +05:30
Shridhar Patil
8aadcdf73e export fixtures of a specific app 2019-02-27 12:18:46 +05:30
Saurabh
76bd4e4f19 Merge branch 'master' into develop 2019-01-30 12:36:43 +05:30
Sagar Vora
26eb775803
fix: keep deprecated help commands (#6851) 2019-01-29 21:56:57 +05:30
Sagar Vora
ef82f39f99 Merge branch 'staging' into develop 2019-01-29 18:24:11 +05:30
Sagar Vora
fe3fe0a4b8 Merge branch 'master' into staging-fixes 2019-01-29 17:08:58 +05:30
Shivam Mishra
dad1c04aae feat: Deprecate In App Help (#6801)
* [feat] Removed help from toolbar.js

* [feat] Removed help from global search

* [feat] redirected search in help to docs website

[] Url needs to be configurable from hooks

* [Feat] Removed search functions for help

* [fix] Help links not redirecting

* [feat] Modified "Help" menu on desk toolbar

* [feat] Removed docs search from desk toolbar

* Removed Search from toolbar.js

* Removed /search_docs from website

* Removed help from migrate

* Deprecated help from command utils

* Removed help.py

* Removed help setup from travis.yml

* [fix] Fixed formatting issues

* [fix] Deleted commented code from toolbar.js

* [fix] Minor link fix

* [Fix] Fixed a small typo

* Removed docs_app dependency from pathces

* [fix] Removed commented code

* [fix] Typo in function name

* fix: remove commented code

* [fix] Changed 'Deprecated' message to 'Removed'

Removed will be the correct term instead of deprecated
2019-01-29 14:59:39 +05:30
Abhishek Kedar
552ee2f36b Enabled --safe-updates in bench mariadb (#6752)
* Enabled --safe-updates in bench mariadb

* Enabled mysql --safe-updates in bench mariadb

This will ensure that --safe-updates is enabled in bench mariadb which will avoid accidental updates in the table if where or limit clause is missing in the SQL query.
2019-01-29 10:49:28 +05:30