Commit graph

48 commits

Author SHA1 Message Date
Ankush Menat
4a70ac4e4e chore: Drop some ui tests
- Either not important and flaky
- Or badly written using weird selectors and flaky

Not touching things that work.
2023-11-27 16:40:39 +05:30
Ankush Menat
21a0dabdb2 test: increase wait
field value isn't updated and cypress attempt to save
2023-10-16 15:41:31 +05:30
Ankush Menat
6939a24d43 test: update tests for ui changes
- update selectors
- remove color check code
2023-09-18 21:23:49 +05:30
Ankush Menat
ab44a9cca8 test: socketio tests
- conflict check (moved from form)
- list view updates
- custom event subscribe and recieve
2023-07-01 12:43:53 +05:30
Suraj Shetty
e4ff09ad6a test: Fix form flaky test 2023-06-26 09:14:17 +05:30
Riandrys Góngora Román
ba438fe4a6 test: update docfield property using set_df_property in child table
add UI test with cypress on form.js
update docfield property using set_df_property in child table
2023-01-23 11:26:07 -05:00
Ankush Menat
e397b27d29 test: upgrade cypress from v6 to v10
chore: run cypress migrator

fix: specPattern should be an array

test: correct intercept URL

This is breaking change in cypress 7.0

test: make list view test rerunnable

test: redo undo tests and add compare doc

test: scroll to action button

chore: drop flaky tests

fix: remove scroll behaviour

fix: clear filters before running count test

test: input delay causes flake
2022-09-02 17:47:30 +05:30
Ankush Menat
7cca7ca0e7 refactor: move section assignment and add test 2022-08-31 12:24:56 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Ankush Menat
5ea96ced3a test: undo/redo, jump to field UI tests 2022-07-20 21:44:48 +05:30
Ankush Menat
e762fe9ce1
test: clear filters on ToDo before running test (#17494) 2022-07-13 12:29:41 +05:30
Ankush Menat
e63e26890c fix: show "doc modifed after" load message 2022-06-21 20:25:54 +05:30
Shariq Ansari
d558f16e71 test: fixed flaky test for form, timeline_email 2022-04-22 17:43:20 +05:30
Shariq Ansari
888372cd57 test: fixed failing form.js cypress test 2022-04-01 12:46:46 +05:30
Shariq Ansari
15daadf5a6 test: failing test fixes 2021-11-11 11:20:50 +05:30
Shariq Ansari
417ef53dfa test: Updated form.js 2021-11-08 13:04:56 +05:30
Shariq Ansari
d7b06299af test: Minor fix 2021-11-02 18:43:58 +05:30
Shariq Ansari
06d8d8535f test: Fixed form.js 2021-11-02 18:20:36 +05:30
MitulDavid
58b3cdeb9a test: Fix flaky tests in form.js 2021-09-29 13:34:22 +05:30
MitulDavid
93198b7123 test: Replace existing queries with Testing-Library queries 2021-08-18 19:11:01 +05:30
Gavin D'souza
1e7cffe8bc chore(ci): Add wait time before checking list view
Cypress form.js tests run just fine locally but not on GHA :thonk:
2021-06-11 16:22:00 +05:30
Sagar Vora
513835a92c test: no need to blur text editor 2021-04-17 13:12:19 +05:30
Suraj Shetty
108c728298 test: Add a test case for grid validation 2021-04-01 12:38:40 +05:30
Suraj Shetty
d18751db07 test: Make tests Cypress v6 compatible 2021-01-31 23:19:01 +05:30
Suraj Shetty
39d0e72f94 chore: Update Cypress 3 to 6 & fix test cases 2021-01-31 21:54:59 +05:30
prssanna
1ef8cd9032 fix: ui tests 2021-01-29 12:12:24 +05:30
prssanna
26821d4fbe fix: ui tests 2021-01-27 14:31:00 +05:30
Rushabh Mehta
b2686e0623 fix(routing): removed /space from routing 2021-01-01 12:30:35 +05:30
prssanna
841c1b9852 fix: cypress tests 2020-12-29 17:00:30 +05:30
Rushabh Mehta
54cee87826 fix(minor): tests + routing 2020-12-24 14:48:40 +05:30
Shivam Mishra
b97c0e24a1 test: rename workspace to space 2020-12-16 14:28:52 +05:30
Rushabh Mehta
06355968f8 fix(routes): move /app#route to /app/route 2020-11-11 16:35:02 +05:30
Rushabh Mehta
75fe8a615a feat(app): move /desk to /app 2020-11-11 16:31:47 +05:30
Shivam Mishra
df7f70ef29 test: form test description not filled
* wait 300 ms for form controller to update doc
2020-06-05 14:56:32 +05:30
Suraj Shetty
65c29161b0
Merge branch 'develop' into data-options-child-table 2020-04-27 11:06:35 +05:30
Suraj Shetty
dbee5931d2 test: Fix form.js test
- By waiting for form save
2020-04-25 16:18:10 +05:30
Suraj Shetty
ba9b8a4060 test: Remove unnecessary website page visit 2020-04-25 14:55:12 +05:30
Gavin D'souza
a877fba5d9 test: set_invalid controller for child tables 2020-04-17 17:44:41 +05:30
Shivam Mishra
8d0f026eeb refactor: return promise explicitly 2020-03-12 17:10:27 +05:30
Shivam Mishra
372b64709b refactor: set base desk url for cypress tests 2020-03-02 19:11:32 +05:30
Andrew McLeod
07cedc581d feat: Optionally remove seconds from datetime (#8531)
* fix: Add updated datepicker; fixed seconds formatting bug.
Seconds between 0 and 9 were not zero-padded.

* feat: Add framework for time format

* feat: datetime server-side formatters.

* tests: Added server-side datetime formatter tests

* feat: Update client-side datetime formatters

* tests: Add Cypress client-side formatting tests.

* fix: JSON errors

* fix: Update to not hard-code admin password

* fix: Change to using bulk_update rather than the REST API

* tests: Use Custom doctype for testing, not Standard

* fix: Codacy style fixes

* fix: Commonify update_datetime_picker in date.js, datetime.js, time.js
Fix order of time_format in System Settings
Restore get_user_fmt in utils/datetime.js

* feat: Drastically reduce scale of Cypress testing (to make tests faster)
Full testing is possible by setting 'fast_mode' to false in the spec file.

* fix: Fix issues with datepicker/timepicker expansion

* fix: typo

* style: Various style fixes as requested by DeppSource: Python

* fix: Timepicker not hiding on 'now' button. Force hiding on click.

* style: Codacy style fixes.

* fix: Use datepicker from node_modules

* test: Refactor Datetime UI tests

- cy.get_field
- cy.set_value
- cy.insert_doc with ignore_duplicate
- Nominal datetime tests to cover most formats
- Formatting with prettier

* test: Datetime UI tests; wait for cur_frm.doc.datetime to update

* tests: Add whitespace to typed input

- Clear input only for Time field

* test: Wait timeout 200

* test: Fix form test

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
2019-12-25 14:54:28 +05:30
Faris Ansari
dcdf95a95f
fix(form-nav): Get filters from list_view (#9124)
* fix(form-nav): Get filters from list_view

- Fallback to user_settings
- Fix UI Test

* style: Missing semicolon
2019-12-24 18:31:01 +05:30
Suraj Shetty
a3292e76f9
test: Increase defaultCommandTimeout to 10sec (#9115)
* test: Fix failing test in form.js

* test: Increase defaultCommandTimeout to 10sec
2019-12-24 00:26:29 +05:30
Suraj Shetty
ecf0755911
test: Fix failing test in form.js (#9103) 2019-12-23 10:08:55 +05:30
Suraj Shetty
147dfb12e8 test: Fix form's randomly failing test 2019-12-23 08:53:32 +05:30
prssanna
3bd310b2e1 fix(tests): add UI test for next previous document navigation 2019-12-09 19:20:55 +05:30
Faris Ansari
d719f77edb
fix(ui-tests): Pick admin password from config (#7842) 2019-07-05 12:24:07 +05:30
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