Commit graph

66 commits

Author SHA1 Message Date
Mekhla Asopa
6475a29f59
Update data-cy for platform automation (#15082)
* update data-cy for platform automation

* update data-cy for page setting

* update data-cy for public app
2026-02-24 10:49:54 +05:30
Mekhla Asopa
4f7620b37f Merge branch 'lts-3.16' into test/Automation-marketplace-fixes 2025-12-09 10:59:16 +05:30
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
f846cd9894 added api method for marketplace 2025-11-28 15:24:13 +05:30
Mekhla Asopa
9585f6c073
Platform automation fixes (#14571)
* addedspace in button spec

* update manage sso

* fixed onboarding spec

* fixed license specs

* - Fix private and public app

* - Update spec by removing it only

* Add timeout for loading fixes.

* fix for first user onboarding.

* User invite flow 

* Profile 

* homePageDashboard 

* homePageDashboard  

* Redirection limit 

* userInviteFlowEdgeCases  

* First user onboarding 

* fixed global inspector specs

* - Fix multienv, and login

* Update openid test cases

---------

Co-authored-by: emidhun <[email protected]>
Co-authored-by: ajith-k-v <[email protected]>
2025-11-13 18:25:04 +05:30
Srimaniteja
e4a69c2380
cypress spec for whitelabel (#14502)
* cypress spec for whitelabel

* Fix major issues.

* Add data-cy for tooljet banner

* Update api command

* Update whitelabeling spec

---------

Co-authored-by: emidhun <[email protected]>
2025-11-12 10:46:46 +05:30
Mekhla Asopa
80c2144359 fixed failed spec 2025-11-07 13:01:27 +05:30
ajith-k-v
b7d57d003a update test cases 2025-11-04 13:13:27 +05:30
ajith-k-v
d428686c9c Add cypress test cases for multi env functionality with basic and valid license 2025-11-03 12:30:05 +05:30
ajith-k-v
cf50028f31 update constants and commands 2025-10-26 18:20:13 +05:30
Johnson Cherian
a955c7a458
Merge pull request #14246 from ToolJet/wf_cypressFix_after_statemanagement
fixed cypress spec for WF's after state management
2025-10-16 19:34:28 +05:30
emidhun
a3b0a33ce7 Fix-import spec 2025-10-15 15:26:34 +05:30
Srimanitejas123
956f6be885 updated spec with review comments 2025-10-15 14:33:22 +05:30
Srimanitejas123
ef38815bda added api commands 2025-10-15 12:11:28 +05:30
Srimanitejas123
724e62340d updated spec with banner fixes 2025-10-14 18:09:55 +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
ajith-k-v
bb33387614 update review comment 2025-10-07 13:25:52 +05:30
ajith-k-v
3067b6a02a Merge branch 'lts-3.16' into test/platform-cypress-action 2025-10-07 11:24:56 +05:30
Mekhla Asopa
cf73e3bfbf added test cases for globel inspector 2025-10-07 10:47:12 +05:30
emidhun
e974639e28 Add minor optimization 2025-10-07 10:07:34 +05:30
emidhun
e37eff779d Fix commands 2025-10-06 14:17:21 +05:30
Mekhla Asopa
a84edd29a8 update review comment 2025-10-06 10:28:28 +05:30
ajith-k-v
805972d8d2 update workspace constants test cases 2025-10-05 23:36:35 +05:30
Mekhla Asopa
6e54ac6fcf update test case for globel inspector 2025-10-03 22:57:54 +05:30
Mekhla Asopa
817076150f added test cases for globel inspector 2025-10-03 21:50:25 +05:30
Mekhla Asopa
4e4990f11f
Added automation flow for user metadata (#14126)
* added data-cy for usermetadata

* added automation for user metadat
2025-09-22 20:00:32 +05:30
Adish M
f0cc130cac
Merge pull request #14108 from ToolJet/test/sso-google
Add automation for SSO [Google]
2025-09-18 16:37:48 +05:30
emidhun
4aca718fd4 init 2025-09-18 10:16:52 +05:30
ajith-k-v
41f4776f87 Update custom commands 2025-09-16 21:24:44 +05:30
ajith-k-v
7a33c4deb0 okta sso user onboarding 2025-09-16 21:15:28 +05:30
Mekhla Asopa
fc6e8e762a
Added cypress to the SQL query test cases (#13992)
* added mysql query element

* added pgsql bulk update gui

* added query action method

* removed console

* update data-source number

* fixed failed rest api, graphql, mariadb and snowflake

* fixed failed MsSQL spec

* added query for sql server
2025-09-10 13:42:34 +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
Devanshu Gupta
1d1c7858cd
Feat/audit logs 2.0 (#13012)
* feat: added default audit logs for logout, archive, unarchive, profile_update

* feat: added resource data in audit table

* feat: added archive workspace, invite redeem

* feat: updated profile update audit

* feat: updated user invite audit

* feat: completed user actions audit

* feat: added default audit logs for logout, archive, unarchive, profile_update

* feat: added resource data in audit table

* feat: added archive workspace, invite redeem

* feat: updated profile update audit

* feat: updated user invite audit

* feat: completed user actions audit

* fix: merge conflict

* fix: ee commit

* fix: removed logs

* feat: added migration for resource_data

* fix: updated action names

* frontend ee commit

* feat: added /user/instance route

* fix: user instance update

* fix: updated feature name

* user ee commit

* feat: added instance level archive

* fix: user details update instance

* feat: added self signup audit

* ee audit commit

* ee commit

* metadata workspace field

* fix: instace user unarchive data

* feat: added grou permission default properties

* fix: review fixes

* feat: granular app

* fix: moved user name logic to service

* remove log

* ee commit

* feat: separate routes for app, data-source

* feat: added some actions

* ee commit

* ee commit

* feat: added audits

* ee commit

* fix pasword

* Update the new granular permission api end points in cypress test cases

* feat: batch-3 actions

* removed log

* remove import

* feat: added app audit logs

* feat: public app update route

* feat: added resource route

* fix: json clone

* feat: added feature audit

* revert INSTANCE_UPDATE

* feature key update

* fix: filter resource guard

* ee commit

* fe ee commit

* script for resolving submodule conflicts

* changing docs url to .ai

---------

Co-authored-by: ajith-k-v <[email protected]>
Co-authored-by: Midhun G S <[email protected]>
Co-authored-by: Rudra deep Biswas <[email protected]>
2025-06-25 12:40:07 +05:30
Mekhla Asopa
d7a5e07ff2
Added automation for Rest API all methods (#12935)
* add rest api auth

* add content-type scenario

* fixed failed cypress specs

* update version spec
2025-05-27 13:20:39 +05:30
ajith-k-v
b5149c07d3 update server host value 2025-05-06 14:44:46 +05:30
Adish M
07668a03f0
Merge pull request #12152 from ToolJet/test/external-api
Cypress test cases for external api
2025-04-29 10:47:49 +05:30
emidhun
ee6e44936d Merge remote-tracking branch 'origin/main' into test/appbuilder-gh-workflow-test 2025-04-25 14:28:36 +05:30
emidhun
76352d5dbf Fix the specs 2025-04-25 13:56:18 +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
Yukti Goyal
f13d305326 Added import,export and user onboard cases 2025-03-19 20:25:44 +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
Ajith KV
5f16d59368
Update app versioning cypress test cases (#11803)
* Update app versioining test cases

* Add data-cy for preview settings

* Update commands

* Update version spec as per the custom command

* update keyboard action validation toast
2025-01-16 11:38:50 +05:30
Ajith KV
08c205788f
Updated private and public apps test cypress cases (#11788)
* update apps test cases

* Update data-cy

* Remove app editor spec
2025-01-15 17:25:24 +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
Midhun Kumar E
2b3cd0ca62
Added automation for Inspector. (#11517)
* Add modified inspector spec

* Modify openApp with slug

* Add cypress modifications

* Add data-cy for page menu item
2024-12-10 15:31:27 +05:30
ajith-k-v
3e7118f6c4 Modify the domain specific functions 2024-12-06 17:33:32 +05:30
ajith-k-v
60265ed25a Modify platform cypress test cases 2024-12-04 12:17:53 +05:30