Commit graph

58 commits

Author SHA1 Message Date
Rohan Lahori
5bec5a5b12
Feature/draft versioning support (#14284)
* added app_versions fields

* added data migration for backward compatibility

* added ce specific logic

* fixed ce migration (need to dev-test)

* moved to data migration

* migration changes

* added endpoint to create draft version

* backend changes

* added draft to app_import scenario

* added version description

* minor changes (needs improvement)

* fixed breaking dropdown in editor

* updated submodule commits

* revert package.json

* revert ui not used changes

* submodule changes

* reverting non used files

* ui changes

* ui changes

* ui changes

* ui changes

* ui changes

* copywriting changes

* ui changes

* ui changes

* edit version modal changes

* ui integration changes

* added button solid and removed unused css

* removed commented code from create version modal

* updated button size to use large

* ui changes

* draft version modal changes

* added sub-module commits to main

* draft version endpoint changes

* ui changes for draft version modal

* fix breaking ui

* ui changes for banner

* minor ui changes

* remove scss changes from themes file

* removed unused components (cleanup)

* removed unused components (pr cleanup)

* draft version changes

* create version modal changes

* canvas banner fixes

* comment creation logic

* refactor: version dropdown

* update endpoint changes

* fix: promote logic

* update submodule

* fix: released version and create version modal

* fix draft version creation

* minor ui changes

* minor backend fixes

* tooltip changes

* added all components in same folder

* added minor comments

* import fixes

* refactor files

* fix: overlay issues

* fix: on version creation

* fix ce bugs

* bug fixes

* bug fixes

* bug fixes

* bug fixes

* base merge

* feat: draft versioning support with UI enhancements and backend adjustments

- Updated AppCanvas to conditionally render AppCanvasBanner based on edit mode.
- Enhanced CreateDraftVersionModal to handle version selection and creation logic.
- Modified CreateVersionModal to streamline version creation process and handle commits.
- Improved ReleaseConfirmation to include development versions in release context.
- Refactored CreateDraftButton and VersionDropdownItem for better UI consistency and dark mode support.
- Updated VersionManagerDropdown to manage draft versions and improve version selection logic.
- Enhanced version switcher and promote/release buttons with dark mode styling.
- Adjusted server-side features and constants to support new draft versioning capabilities.
- Updated styles across components for better visual consistency and responsiveness.

* minor fixes

* rebase

* merge base

* update submodule

* Add data-cy attribute for draft version components

* Update cypress test cases for draft version feature

* Update failing test cases

* Update draft version test cases

* Skip older flow

* migration changes

* migration fixes

* Update the failed test cases

* removed multiple api calls

* fix: version set on draft creation

* fixes

* fix: version update on save version

* fixes

* name fix

* fix version lock banner styling

* bump version to 3.20.50-lts across all components

---------

Co-authored-by: Vijaykant Yadav <[email protected]>
Co-authored-by: ajith-k-v <[email protected]>
Co-authored-by: gsmithun4 <[email protected]>
2025-12-05 22:13:00 +05:30
Mekhla Asopa
39e197bb11 fix app version spec and private public spec 2025-11-21 18:31:40 +05:30
ajith-k-v
48b6f27840 update workspace constants test cases 2025-11-19 22:14:33 +05:30
Mekhla Asopa
69fc35f7bb fix app create 2025-11-19 21:52:02 +05:30
emidhun
3718fecf31 Permission, and workflow card fixes. 2025-11-19 14:59:58 +05:30
emidhun
54546836bd - Fix dashboard.cy.js 2025-11-19 00:50:26 +05:30
Mekhla Asopa
418a8914bf fixed export/import failed spec 2025-11-13 01:37:42 +05:30
Adish M
466194f08f
Merge pull request #14410 from ToolJet/test/add-cypress-license
Added automation for licensing
2025-10-29 11:53:46 +05:30
Midhun Kumar E
2d66855ae1
Merge branch 'lts-3.16' into test/optimised-import-export-and-versions 2025-10-28 12:43:35 +05:30
Mekhla Asopa
8e340d096c added verification test case for license 2025-10-24 20:41:08 +05:30
emidhun
78703585ae test: enhance utility functions for better test reliability
- Add .first() selector to handle multiple button matches in verifyModal
- Add wait time before environment selection in selectEnv
- Use .first() selectors in version navigation functions
- Add openPreviewSettings helper function
- Add wait for appDs intercept in switchVersionAndVerify
2025-10-24 12:08:03 +05:30
Yukti Goyal
1ee0f9ac26 Dashboard, homepage changes with data-cy 2025-10-21 17:50:05 +05:30
Adish M
6c488d19cc
Merge pull request #14378 from ToolJet/test/add-delete-procedure-on-action
Added delete procedure on action.
2025-10-21 15:28:30 +05:30
emidhun
59d5743579 Update dnd and minor changes 2025-10-17 17:32:00 +05:30
Ajith KV
7d28810652
Add cypress test cases for enterprise user groups and permissions (#14340)
* Add cypress test cases for enterprise user groups and permissions

* update constants

* update user groups test cases

* update spec

* update groups cases

* update lock.json

* update custom group cases

* update docker file

* update first user onboarding and platform commands

* add case for UI  promote and release permission
2025-10-17 12:38:44 +05:30
Ajith KV
712972a084
Add cypress test cases for enterprise user role permission (#14315)
* Update user role test cases for enterprise

* seperate platform custom api commands

* update cypress test cases
2025-10-13 13:19:54 +05:30
Mekhla Asopa
cf73e3bfbf added test cases for globel inspector 2025-10-07 10:47:12 +05:30
emidhun
d9fb316c39 Fix helpers 2025-10-06 14:17:51 +05:30
Mekhla Asopa
817076150f added test cases for globel inspector 2025-10-03 21:50:25 +05:30
Ajith KV
b54c3e1afb
Modify apps cypress test cases for enterprise (#13078)
* Modify apps cypress test cases for enterprise

* Update cypress.Dockerfile

* cypress fix

---------

Co-authored-by: Adish M <[email protected]>
2025-06-30 15:11:11 +05:30
Ajith KV
33d6313bb4
Fix failing platform cypress test cass on action (#12805)
* Fix failing test cass on action

* Fix failing test cases

* fix dashboard test cases

* Fix failing test cases

* Fix app slug test cases

* skip failing test cases

* fix failing test cases

* fix dasboard test cases

* fix failing test cases

* modify config

* fix app slug test cases

* modify app slug test case

* Modify dashboard test cases

* modify config

* update folder structure

* Fix the dashboard test cases
2025-05-13 13:34:32 +05:30
Ajith KV
258469f78d
Fix failed platform cypress test cases (#12537)
* Fix failed platform cypress test cases

* fix apps test cases

* Update test cases

* Fix failing test cases

* Modify data-cy attribute

* Fix test cases in subpath deployment

* revert the utils changes

* Fix failing action test cases

* Add data-cy attribute

* Fix failing test cases

* Fix failing test cases

* Fix failing test cases

* fix action failing test cases

* Modify import export test cases

* Fix failing test cases

* Fix dashboard test cases

* Fix dashboard failing it block

* revert changes
2025-04-21 19:37:35 +05:30
Ajith KV
7f1d24a2da
Modularisation platform cypress fix (#12432) 2025-04-07 15:49:21 +05:30
Ajith KV
bf8223ecf7
Updated app import export cypress test cases (#11836)
* Update app import export cypress test cases

* Add calidation for invalid app file and version switchinh

* Fix failing test cases

* Fix failed test cases

* update test cases for proxy deployments

* update the utils
2025-01-27 12:10:35 +05:30
Srimanitejas123
956f345eb9
Updated private and public app spec (#11602)
* Updated app version spec

* Updated app editor spec

* Updated app editor spec

* Updated app editor spec

* Updated apps spec

* Updated app spec

* changes on app spec

* Updated version spec

* App import and export spec

* Updated apps spec based on review commends

* updated app import and export spec based on review comments

* Updated appEditor and privateAndpublic app spec based on review commends

* Updated version and app import and export spec based on review commends

* fixed selector for query search bar

* Updated private and public app spec based on review comments

* updated private ad public app based on review comments

* Updated version spec

* Updated according to review comment

* Updated based on review comments

* Updated based on review comments

* removed commented lines

* Updated api commands

* Updated app import export spec

* updated app import and export with tj_db

* Updated version spec

* Updated app import and export spec

---------

Co-authored-by: Sri mani Teja s <[email protected]>
Co-authored-by: Ajith KV <[email protected]>
2025-01-07 12:20:36 +05:30
Ajith KV
db918e7132
Optimize platform cypress test cases (#11689)
* Optimize platform Cypress test cases

* Add custom command for creating and rename custom commands
2024-12-23 14:51:27 +05:30
YuktiGoyal02
d0af6735a0
Groups Permission changes (#11574)
* group permission ui

* data-cy added

* Fixed groupduplication spec

* Removed unwanted code

* functionality cases added

* added removed selectors

* added waits

* fixed review comments and added remaining scenarios

* fixed comments

---------

Co-authored-by: Yukti Goyal <[email protected]>
Co-authored-by: Sri mani Teja s <[email protected]>
Co-authored-by: Ajith KV <[email protected]>
2024-12-18 15:42:08 +05:30
Ajith KV
2dfb2aeb01
Modified SSO cypress test cases (#9077)
* Modify SSO cypress test cases

* modify data-cy

* Update path
2024-03-13 17:35:36 +05:30
Ajith KV
4ee2744331
Modified platfrom cypress test cases (#8709)
* Modify platfrom cypress test cases

* Modify manage groups test case
2024-02-06 16:16:06 +05:30
Ajith KV
9ea2b68e20
Modified platform cypress test cases for dashboard revamp (#8621)
* Modify platform cypress test cases for dashboard revamp

* Modify cypress test cases

* Modify failed test cases

* Update failed test cases
2024-01-23 18:04:59 +05:30
Ajith KV
e1dd946354
Fixed failed test cases for platform release v2.23.0 (#8107)
* fix failed test cases

* Add wait
2023-11-06 11:19:35 +05:30
Ajith KV
6dc71c41d7
Modified cypress test cases for url changes (#7956) 2023-10-19 11:36:49 +05:30
Ajith KV
bb28eb9f40
Add test cases for constants on editor (#7285) 2023-08-18 14:53:53 +05:30
Ajith KV
36efa1be11
Modify cypress test cases for new UI changes (#7214) 2023-08-07 17:26:43 +05:30
Ajith KV
858b8a448d
fix cypress test for workspace redirection (#7154) 2023-07-31 22:43:52 +05:30
Ajith KV
9afb42b845
Fixed platform cypress test case for release v2.10.3 (#7104)
* Fix and modify platform test cases

* fix failing test cases

* Fix failing workspace test cases

* Add wait for failed test cases

* Remove query success toast

* skip the user onboarding via group
2023-07-24 21:00:14 +05:30
Ajith KV
b4d22578d1
Added cypress test for user onboarding with user groups (#7011)
* Add cypress test for user onboarding with user groups

* Update config

* Update intercept api for ee

* fix failing specs

* Fix add users funtion

* Fix GDS spec for action

* Update config
2023-07-17 10:50:42 +05:30
Midhun Kumar E
1b272b53f4
Fixed cypress for app builder on Platform v1.1 (#6993)
* App Builder cypress fix

* Revert typo

* Fix for hotfix failures

* Fix for canvas height

* Fix for runPy

* Fix for popover

* Fix for popover-2

* Fix for table column issue

* Fix inspector

* fix versions
2023-07-12 13:29:13 +05:30
Ajith KV
bd69f0b9b1
Added cypress test for GDS user privileges (#6980)
* Add cypress test for GDS user priliavges

* Fix failing specs

* reslove conflicts

* fix conflicts and update cypress config file for GDS

* fix failing test cases

* Fix share app spec
2023-07-11 16:50:52 +05:30
Ajith KV
61a7e983d7
Fixed platform test cases for release v2.9.0 (#6923)
* Add fixes for failing test cases

* Skip the share app test case
2023-07-05 18:17:00 +05:30
Ajith KV
0ce712316b
Modified CE Cypress spec for EE (#6829)
* Modify cypress spec for EE

* Modify data-cy on users table

* Fix the failing specs

* Modify test cases for action

* Fix share app test cases for action

* Revert config changes

* Modify workspace cypress config

* Added wait for bulkuser upload test case
2023-07-05 14:08:18 +05:30
Midhun Kumar E
cab4c5cc37
Fixed cypress for v2.9.0 app builder. (#6912)
* Add new specs to the suite

* Fix new CSAs

* Fix common methods

* Fix appbuilder automation spec failures

* Fix import spec

* Add fix for button spec

* Add fix for button position

* Add fix for table and codehinder
2023-07-05 12:58:09 +05:30
Ajith KV
e416709ea4
Fix and modify cypress test cases for workspace sanitization changes (#6717) 2023-06-14 15:00:21 +05:30
Ajith KV
142d54bc50
Fixed failing profile cypress spec (#6245)
* Fix failed profile spec

* Modify data-cy of the dashboard section header

* Fix manage users spec

* Fix user permission spec

* Remove single workspace cypress test cases

* Add indentation changes

* Update self host signup spec

* Update cypress config file

* adding changes to capture downloads

* fix cypress tests for actions

* fecth invitation url from the database

* database test commit

* test commit

* test commit

* test commit

* test commit for pg host

* test commit

* commit for screenshot

* revert test commits

* Update sql task name

* Add changes for actions

* Fix manage groups spec

* Update folder structure

* Fix user permission spec

---------

Co-authored-by: Adish M <[email protected]>
2023-05-09 19:33:37 +05:30
Ajith KV
0de8dc2285
Fixed and modified manage groups cypress spec (#6238)
* Fix flaky dashboard spec

* Modify manage groups cypress spec
2023-05-03 19:53:08 +05:30
Ajith KV
dfbd3bd922
Fixed and modified dashboard cypress spec (#6209)
* Fix failing dashboard spec

* update reset password and selfhost spec
2023-05-02 14:14:48 +05:30
Mekhla Asopa
e81a7d5c51 Fix cypress failure 2023-04-25 15:37:18 +05:30
Ajith KV
f02d8d4ca5
Modified failing manage users cypress spec (#6109)
* Fix and modify manage users cypress spec

* Fix signup cypress spec
2023-04-25 10:10:30 +05:30
Mekhla Asopa
f0597c98b2
Added automation for database (#5589)
* Added data-cy for table header and subheader

* added data-cy for table operations

* added data-cy for table and text

* Added selectors and texts for database

* Added method for table edit and delete operation

* Added data-cy for delete icon and fields

* Added method for table operation

* Add workaround to handle re-rendering of filter

* Updated and removed duplicate data-cy

* fix toast failure

* deleted unused files

* Updated data-cy for filter section

* updated spec

* Fix failure

* resolved conflicts

---------

Co-authored-by: emidhun <[email protected]>
2023-03-20 18:48:10 +05:30
Ajith KV
12daac6d92
Add and modify data-cy for v2 (#5458)
* Add data-cy for v2 elements

* Add and modify data-cy

* fix and modify multiworkspace spec

* Add data-cy for workspace variable

* Fix user permission spec

* Add selectors and text for workspace variable

* Fix changes

* Add test cases for workspace varaible user permissions

* Modify workspace variable data-cy

* Add and modify data-cy for manage groups

* Fix and modify Manage groups spec

* Fix and modify single workspace spec

* Add missing data-cy for single workspace

* Fix and modify dashboard spec

* Add and modify data-cy for dashboard elements

* Fix and modify profile spec

* Add data-cy for avatar

* Fix and modify SSO onboarding spec

* Add data-cy for workspace name

* fix failing specs

* Add data-cy work edit workspace button

---------

Co-authored-by: Sherfin Shamsudeen <[email protected]>
2023-02-09 16:26:10 +05:30