Suraj Shetty
c27b9d3f31
test(command): Select staticarea of field if input is not available
3 years ago
Shariq Ansari
888372cd57
test: fixed failing form.js cypress test
3 years ago
Nidhi Purohit
e8f81a3886
Changes in get_table_field command
3 years ago
Komal-Saraf0609
b79f9918b4
test: Fixing sider issues
3 years ago
Komal-Saraf0609
b2fef12b44
test: Renaimg the file and also adding tests
3 years ago
Suraj Shetty
e18f8d6e10
chore: Remove duplicate command
3 years ago
Suraj Shetty
0a8b5fe785
test: Fix get_field command for select fields
3 years ago
Faris Ansari
f7e8135a0c
chore: colocate ui tests
UI tests can now be colocated where they make more sense.
The filename must start with ui_test_ and end with .js to be
picked up by cypress.
3 years ago
Shariq Ansari
cf416aa779
test: minor fix
3 years ago
Shariq Ansari
7a6bee9dab
test: fixed failing test(timeline, recorder, navigation)
3 years ago
Ankush Menat
5996d6829d
test: fix flaky awesome_bar test
3 years ago
Suraj Shetty
59e0501cc7
test: Fix timeline tests
3 years ago
MitulDavid
d8d8c8e54e
ci: Code coverage for JS files
3 years ago
Suraj Shetty
5f9340fda2
test: Set delay for fill_field
3 years ago
Suraj Shetty
a56b117ca4
test: Wait for filter save on clear filter
3 years ago
Suraj Shetty
3aed8f9e22
test: Miscellaneous fixes to avoid flaky tests
3 years ago
Suraj Shetty
b4bb4c039f
test: Update click_sidebar_button to accept btn_name
- to make tests cases readable
3 years ago
MitulDavid
b417218f1d
test: Add support for Testing-Library queries within Cypress tests
3 years ago
Komal-Saraf0609
a8fe3a8668
test: Adding Cypress tests for sidebar, timeline and email testing ( #13729 )
* test: fix get_field command
* test: Add timeline email test cases
* test: Add sidebar test cases
* test: Add timeline test cases
* test: Added new commands
* test: Added proper name for test case, added comments and removed redundancy
* test: Added proper name for test case, added comments and removed redundancy
* test: Added proper name for test case, added comments and removed redundancy
* test: Added new commands
* test: Added proper name for test case, added comments and removed redundancy
* test: Added proper name for test case, added comments and removed redundancy
* fix: Sider issues
* fix: Sider issues
* fix: Sider issues
* fix: UI Tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI tests
* fix: UI test
* fix: UI tests
* fix: UI tests
* fix: Context correction
* test: fix fill_field command
* test: fixed get_field command
(removed :visible for code)
* test: Fixed fill_field command
(removed .blur())
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
4 years ago
prssanna
24aabd2b02
fix: ui tests
4 years ago
walstanb
196a534c0e
fix: failing ui test cases
4 years ago
Suraj Shetty
2f59dc2a7d
test: Fix failing tests
4 years ago
Suraj Shetty
d18751db07
test: Make tests Cypress v6 compatible
4 years ago
Suraj Shetty
39d0e72f94
chore: Update Cypress 3 to 6 & fix test cases
4 years ago
Suraj Shetty
21c020e036
style: Fix formatting issues
4 years ago
prssanna
841c1b9852
fix: cypress tests
4 years ago
Rushabh Mehta
54cee87826
fix(minor): tests + routing
4 years ago
conncampbell
2c4b5c67b0
fix: Read-only table has read-only form fields.
4 years ago
Rushabh Mehta
864f579409
feat(doctype-layout): Ability to add different layouts to doctypes
4 years ago
Rushabh Mehta
06355968f8
fix(routes): move /app#route to /app/route
4 years ago
Rushabh Mehta
75fe8a615a
feat(app): move /desk to /app
4 years ago
Suraj Shetty
0b6e1cb78e
test: Remove unnecessary website visit
5 years ago
Shivam Mishra
1e1cc1b6c0
fix(dashboard chart): Hide filters if hide_actions is set ( #9679 )
* refactor: remove print statement
* fix: hide filters if hide_actions is set
* refactor (cyoress): wait after clearing field
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
5 years ago
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>
5 years ago
Suraj Shetty
7cf5dee097
test: Add assert statement for value
5 years ago
Suraj Shetty
a8b3a6b20b
test: Add test to check if field is editable
5 years ago
Suraj Shetty
d41ca958ab
test: Move wait to list_view.js
5 years ago
Suraj Shetty
9f3b0b59fc
test: Fix listview test by waiting for clear-cache
5 years ago
Raffael Meyer
d823417d2f
feat(tests): add api/resources
5 years ago
Faris Ansari
d719f77edb
fix(ui-tests): Pick admin password from config ( #7842 )
6 years ago
Faris Ansari
8fb2a538ec
test: Add UI test for Link control ( #7809 )
* test: Add UI test for Link control
- Add API cy.call
- Add API cy.create_records
- Add ui_test_helpers.py
* style: Missing semicolon
* style: Missing semicolon
* style: Missing semicolon
* style: Remove unused imports
* test: Robust test for setting invalid value
* style: Remove unused import
6 years ago
Suraj Shetty
8d40f513eb
test: Add clear cache command
6 years ago
Faris Ansari
8524c143cd
fix: UI Test
6 years ago
Suraj Shetty
3d21bba74d
test: fix fill_field command for code fieldtype
6 years ago
Faris Ansari
93523df7d6
style: Missing semicolon
6 years ago
Faris Ansari
a5c6dbf3ed
test: Add UI test for FileUploader
6 years ago
Mangesh-Khairnar
b5d1a3aa18
fix: pass fields as array in cypress dialog
6 years ago
Mangesh-Khairnar
cb47502fb9
chore: add expect to eslintrc
6 years ago
Mangesh-Khairnar
19af18767e
test: add cypress command for initializing a dialog for ui testing
6 years ago
Faris Ansari
b61a37a233
fix: Notification test in Postgres ( #7044 )
6 years ago