Commit graph

138 commits

Author SHA1 Message Date
Ajith KV
1b6a857b2a
Fixed platform cypress test cases for marketplace 1.2 release (#7221)
* Fix failing cypress test cases

* Update the DS count
2023-08-08 15:37:18 +05:30
Ajith KV
858b8a448d
fix cypress test for workspace redirection (#7154) 2023-07-31 22:43:52 +05:30
Midhun Kumar E
c789289b19
Fixed cypress App Builder for v2.10.3 (#7118)
* Fix cypress for v2.10.3

* Remove only

* modify the expossed values count

* fix common methods

* Version modified
2023-07-25 13:51:49 +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
Kavin Venkatachalam
b1aaccf6ec
Merge branch 'develop' into appbuilder-1.2 2023-07-21 11:31:07 +05:30
Midhun Kumar E
7355218b66
Fix failing specs on app builder 1.2 (#7068)
* fix common methods

* fix filures and add validation for new expossed values

* Remove .only
2023-07-20 20:38:33 +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
Mekhla Asopa
6c95d3eb06
Added csa action automation (#6910) 2023-07-05 12:57:42 +05:30
Mekhla Asopa
f1062429a0
Added csa action automation (#6863) 2023-07-03 16:20:29 +05:30
Mekhla Asopa
553d067237 Merge branch 'develop' into test/add-cypress-for-table-new-features 2023-06-22 17:11:03 +05:30
Kavin Venkatachalam
07e0b73eca
Merge pull request #6804 from ToolJet/main
Merge Main to Develop v2.7.0
2023-06-21 19:17:31 +05:30
Midhun Kumar E
e4a0a33f09
Fix cypress failures (#6792) 2023-06-20 19:20:49 +05:30
Ajith KV
e7578658bd
Added cypress test for bulk user upload (#6671)
* Add cypress test for bulk user functionality

* Add data-cy for uploaded file field

* Update toast messages

* check for Conflicting Group Memberships

* Add test cases for multiple groups and non exisiting groups

* Revert "check for Conflicting Group Memberships"

This reverts commit bdafd0e3fa.

---------

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2023-06-16 16:08:12 +05:30
Mekhla Asopa
79618aac45
Fix cypress failure (#6745) 2023-06-16 12:48:29 +05:30
Ajith KV
2587ede023
Add cypress test to verifingy the private and public app visisbility for the same instance user (#6752) 2023-06-16 10:39:20 +05:30
Midhun Kumar E
d2d25e191e
Add automation for global settings (#6664) 2023-06-15 14:10:19 +05:30
Ajith KV
e416709ea4
Fix and modify cypress test cases for workspace sanitization changes (#6717) 2023-06-14 15:00:21 +05:30
Mekhla Asopa
49dcbb2b19 Added method for add new row and dynamic column 2023-06-14 03:49:19 +05:30
Midhun Kumar E
763b1eaa27
Added automation for runjs (#6536)
* Initial Utils and spec

* Add automation for set and unset variable

* Add validations for globals, and rename

* Modify config file

* Add all the fixes

* Revert config
2023-05-30 10:32:10 +05:30
Ajith KV
21b2afebca
Modify datasource cypress spec (#6494) 2023-05-22 17:52:28 +05:30
Midhun Kumar E
86fad66ce7
Fix for failing specs on release branch (#6438)
* Fix multipage failure

* Fix config

* Fix text spec

* Add versions to the suite

* Fix password and versions spec

* Revert config

* Fix password and listview

* Fix versions with temp fix

* fix all failures.

* add retry

* revert button fix

* Add workspace specs to the suite
2023-05-18 13:41:41 +05:30
Midhun Kumar E
e21de08794
Fixed cypress for v2.6.0 (#6430)
* Add data-cy for the event handler input fields (#6382)

* Added automation for inspector. (#6380)

* Add utils for inspector node verification

* Add inspector verification spec

* Add verification for inspector buttons

* Fix cypress failure

* update toast message

* Modify Config

---------

Co-authored-by: Mekhla Asopa <dadhichmekhla@gmail.com>
2023-05-17 12:14:03 +05:30
Ajith KV
5ab569bf1a
Fixed datasource connection cypress test cases (#6371)
* Fix and modify datasource connection

* Modify config files

* Fix snowflake test cases

* Data sourcce count

* fix postgres error message
2023-05-15 09:48:09 +05:30
Midhun Kumar E
6f1e11ebca
Added automation for CSA (#6342)
* Add CSA for table

* Add CSA for button

* Add CSA for textinput

* Remove it.only

* Add CSA for text

* Add CSA for modal

* Add CSA for multiselect

* Add CSA fix for text input
2023-05-10 18:36:42 +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 <adish.madhu@gmail.com>
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
Midhun Kumar E
ea3299574a
Fixed Editor cypress v2.5.0 (#6213)
* Fix for 2.5.0/Editor

* Minor selector fix

* Fix cinfig

* Fix cypress.yml

* revert cypress.yml changes

* Testing config changes

* Temp  changes

* revert Temp  changes

* Add screenshot verification and wait

* test screenshot on deletion

* Modify component delete util

* Fix config

* Fix for app deletion

* Test Table regression

* Fix table issue

* Fix table type issue

* Fix typo

* Fix clear via type

* Test fix for column input

* Test fix for column input 2

* Update cypress-run.config.js

* Remove spec skips

* Fix versions

---------

Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
2023-05-03 11:51:56 +05:30
Akshay
b22e6efecb
Merge pull request #6134 from ToolJet/test/fix-database-cypress-spec-failure
Modified database cypress spec failure
2023-05-02 14:42:24 +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
Ajith KV
d879dbd7cc
Fix and modif manage sso cypress spec (#6172) 2023-04-28 10:22:02 +05:30
Midhun Kumar E
9e63783eff
Fix failing specs (#6157) 2023-04-27 08:01:37 +05:30
Ajith KV
2337e177ea
Fix failed user permission cypress spec (#6147) 2023-04-27 07:40:27 +05:30
Mekhla Asopa
f31b8c223f Fix database cypress spec failure 2023-04-25 23:32:14 +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
Midhun Kumar E
8e65eabb70
Fix failing cypress specs. (#6099)
* Fix modal and basic specs

* Alert input fix

* Modify config
2023-04-24 16:33:27 +05:30
Akshay
3a2242718e
Merge pull request #5906 from ToolJet/test/fix-cypress-failure
Update automation script for export, import and version functionality
2023-04-17 14:50:27 +05:30
Midhun Kumar E
12b28e0ac6
Added automation for modal component (#6001)
* Add utils

* Modify common functions

* Add spec
2023-04-12 12:54:54 +05:30
Mekhla Asopa
ff329e4336 Fix cypress failure 2023-04-11 19:00:37 +05:30
Midhun Kumar E
b5acc1630c
Test/fix cypress editor v2.3 (#5914)
* Fix specs

* Modify config

* data-cy changes -temp

* Fix common component-fixes

* Fix latest failures [table,listView]

* Minor typo fix

* Fix the headless failures

* temp workflow changes

* Temp cypress yml changes

* Remove temp changes
2023-04-10 11:17:25 +05:30
Mekhla Asopa
a592e3aeb6
Added automation for edit row feature in Database (#5890)
* added method for edit row

* update method for edit row

* update method name
2023-04-04 08:11:02 +05:30
Ajith KV
8dfcf92dd9
modify cypress test for onboarding phone number feature (#5848) 2023-04-03 12:29:54 +05:30
Midhun Kumar E
24ef6a1f73
Added automation for mongoDB queries (#5810)
* init

* Add spec

* Add DS common utils

* Add mongoDB utils
2023-03-22 16:11:42 +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 <midhun752@gmail.com>
2023-03-20 18:48:10 +05:30
Mekhla Asopa
96da078566
Added automation for app version functionality (#5771)
* Added data-cy for edit version

* Added method to verify elements

* added spec for version

* Added relese test cases

* Added case for delete released version
2023-03-20 10:43:24 +05:30
Mekhla Asopa
cf25571783
Update cypress spec for export and import functionality (#5388)
* updated spec

* fix cypress failure

* delete file under download folder
2023-03-06 16:22:00 +05:30
Midhun Kumar E
786e3a2707
Updated DS specs to pass on GitHub actions (#5634)
* Modify data-cy common

* Update constants

* Delete unused file

* Update specs

* Update utils and common specs

* Skip  specs

* Update gitignore
2023-03-06 12:13:47 +05:30
Midhun Kumar E
c3eb99f23a
Added automation for table filter (#5641)
* Add utils for filter

* Add spec

* Remove it.only

* Config change

* Revert config changes

* Modify config

* Fix Syntax on config.

* Typo fix
2023-03-06 12:09:58 +05:30
Midhun Kumar E
a7673e7394
Add automation for mysql queries (#5710)
* Add cypress realevents to cypress

* Add constants and selectors

* Add and modify utils

* Add spec changes
2023-03-06 12:09:27 +05:30
Midhun Kumar E
3e5379feb7
Fixed Component automation on actions (#5585)
* Config changes

* Fix editor/components specs

* Remove it.only
2023-02-21 14:29:23 +05:30
Midhun Kumar E
420d5373c6
Added automation for Multipages. (#5584)
* Add selectors and texts

* Add utils

* Add spec
2023-02-21 12:58:19 +05:30
Ajith KV
f1c3079112
Added cypress test for user signup (#5564)
* Add cypress test for user signup

* Update invalid link it block

* resolve merge conflicts
2023-02-16 14:53:27 +05:30
Midhun Kumar E
b53156a42c
Added automation for table data download (#5550)
* Add data-cy for download

* Add spec changes

* Add task to read pdf and xlsx

* Add methods to parse constant data

* Fix typo

* Add tasks to cypress-run config

* Fix typo on config

* Fix typo on manage SSO

* Remove only from table spec
2023-02-14 14:04:20 +05:30
Ajith KV
cf5e22932c
Add happy path cypress spec for self hosted onboarding (#5545) 2023-02-14 14:00:54 +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 <sherfin94@gmail.com>
2023-02-09 16:26:10 +05:30
Midhun Kumar E
49f977b36c
Table automation enhancement (#5514)
* Add table utils

* Modify common utils

* Add new test cases

* Remove skip
2023-02-09 10:47:19 +05:30
Midhun Kumar E
29d3779830
Added spec to verify common components operations (#5409)
* Modify method to drag and drop

* Modify method editAndVerifWidgetName

* Add basic funtions for the spec

* Add spec
2023-01-24 13:43:01 +05:30
Ajith KV
9c8cddebe9
Fix and modify login spec (#5345) 2023-01-17 17:47:53 +05:30
Midhun Kumar E
80e22acb4a
Fix failing components verification specs (#5317)
* Add constants for components (labels and selectors)

* Modify common methods according to v2 changes

* Modify components specs according to v2 changes

* Modify cypress config to fix cypress runner crashing.

* Remove hardcoded data-cy from specs
2023-01-17 14:37:08 +05:30
Midhun Kumar E
abe4e7b099
Added automation for AWS S3 and MySQL connection. (#5071)
* Add happypath for aws s3

* Add happypath for MySQL

* Add common DS methods to utils

* Add creds to env

* Add minor changes on clear and type
2023-01-17 14:35:21 +05:30
gandharv
88fb4aca6f Merge branch 'develop' into chore/develop-to-v2-beta 2022-12-29 17:44:34 +05:30
Sherfin Shamsudeen
d6a72b50bd Merge develop to v2-beta 2022-12-27 20:10:33 +05:30
Mekhla Asopa
c6440162dc
Automation for export import functionality (#4848)
* Added data-cy

* Updated spec with verify elements

* Updated spec with export app method

* Added data-cy for import and Add test case for app import

* Updated rename method in the export spec

* update variable in import spec

* Updated spec with version assertion
2022-12-27 14:03:59 +05:30
Ajith KV
495057372b
[Cypress] Modify manage sso spec in multi workspace (#4865)
* Modify manage sso spec and add cypress test to verify workspace login page

* Modify manage sso spec and add cypress test to verify login and sign up page

* Add user onboarding test using GitHub and Google SSO

* Modify the spec with new methods

* Update sso id
2022-12-09 18:42:31 +05:30
Midhun Kumar E
dcc1b60966
[Cypress] Automation for table elements (#4813)
* Add methods to commands

* Add selectors

* Add labels

* Add table utils

* Add test for Table components and basic functions
2022-11-22 10:02:22 +05:30
Midhun Kumar E
138ad797d0
Added cypress test for data source PostgreSQL (#4602)
* Add data-cy

* Add basic spec

* Add basic method to create query

* Add data-cy for query section components

* Add common method for postgreSQL

* Update spec with methods

* Add data-cy for alert-box and query search elements

* Add method for widget integrations and event handler

* Add selector into selectorFile.

* Fix failing cases

* Add labels on Text file

* Fix failing specs due to rerendering

* Remove creds from spec
2022-11-11 11:15:12 +05:30
Ajith KV
936f28c401
Fixed failing profile spec (#4689)
* Add data-cy

* Add cypress file upload

* Fix and modify failing profile spec
2022-11-09 13:32:50 +05:30
Ajith KV
3f33354b79
Fixed failing manage sso spec (#4695)
* Modify data-cy

* Fix and modify failing Manage SSO spec in multi workspace

* Fix and modify failing Manage SSO spec in single  workspace
2022-11-09 13:32:02 +05:30
Ajith KV
7454169077
Fixed and modified failing cypress spec (#4715)
* Modify manage users spec in multi workspace

* Add data-cy

* Modify login spec

* Replace pagination with filter option

* Replace hard coded wait with alias

* Modify Manage users spec in single workspace
2022-11-08 11:18:25 +05:30
Ajith KV
299ff9f667
Fixed failing dashboard specs (#4667)
* Add and modify data-cy

* Fix failing manage users spec in multiworkspace

* Fix failing user permission spec in multi workspace

* Fix failing dashboard spec

* Fix failing manage group spec

* Fix failing manage users spec in single workspace

* Fix failing user permission spec in single workspace

* indentation changes

* Remove wait
2022-10-31 19:08:43 +05:30
alammoiz
a532b18d61
[cypress] Fix failing manage SSO spec in single workspace #4390 (#4509)
* added  [data-cy=login-page-logo] also removed one dropdown of same name

* Revert command.js

* call loginpagelogo

* Fixed toast test case

* updated text

* remove timer

* revert linting

* Github text fixed
2022-10-31 16:56:15 +05:30
Midhun Kumar E
b7c9d8b39b
Fix tooljet DOM dittachment issue (#4468) 2022-10-18 12:49:41 +05:30
Ajith KV
9c3ad28013
Add happy path spec for password input widget (#4112)
* Add data-cy for password input widget

* Add spec and constants

* Add review changes

* Modify spec with new utlis functions

* Add review changes
2022-10-14 17:16:09 +05:30
John Bampton
ca5fe39751
all: fix spelling (#4326)
Fixes typos, fixes a file name.

Minor whitespace removal from link
2022-10-11 13:46:40 +05:30
Midhun Kumar E
b99531da75
- Fixe failing cypress specs. (#4280)
- datepicker Happypath
- listView Happypath
- textInput Happypath
- multiselect Happypath
2022-10-04 13:06:59 +05:30
Ajith KV
7d89282776
Add happy path spec for Text Input widget (#4029)
* Add and modify data-cy for text input widget

* Add methods and utlis file for text input widget

* Add custom command for code mirror input clear function

* Modify common widget selectors

* Add and modify texts and labels

* Add spec file

* Add review changes
2022-09-23 18:03:05 +05:30
Midhun Kumar E
4d42efaa8f
Add cypress test for listview (#4070)
* Add data-cy

* Add utils

* Add spec and constants

* Fix commented lines.

* Added missing preview
2022-09-23 13:38:28 +05:30
Midhun Kumar E
bfe0fe9cad
Add preview for Multiselect and Datepicker happyPaths (#3854)
* Modify data-cy and update spec

* Add data-cy

* Add preview for multiSelect

* Add preview for datePicker

* Fix Text data-cy

* Modify selectors and texts

* Resolve conflicts and commented few lines of code.
2022-09-14 16:19:56 +05:30
Ajith KV
21e7162665
Cypress test for button widget happy path (#3776)
* Add and modify data-cy attribute for elements

* Modify faker file for random rgba hex code

* Add methods specific for button widget

* Add and modify common selector and text file

* Add and modify common widget methods

* Modify button text file

* Modify button widget happy path file

* Remove button selector file

* Modify multiselect widget happy with new methods

* Modify verify box shadow css method

* Add and modify common selector file

* Modify button text file

* add and modify specific methods for button widget

* Add and modify custom commands

* Add and modify common widget methods

* Add app preview and modify button widget happy path

* Add and modify data-cy attribute for elements

* Modify multiselect widget happy with new methods

* Modify data-cy attributes

* Add review changes

* Add data-cy attribute

* Add review changes

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2022-09-05 14:06:45 +05:30
Midhun Kumar E
381ae9df5d
Remove the paramLabel and fix cypress (#3764) 2022-08-09 21:14:51 +05:30
Ajith KV
46abf0bdfe
Cypress test for dashboard, app and folder CRUD operations (#3677)
* Add and modify data-cy attribute for elements

* Add and modify common and dashboard selector and text

* Add task to delete download folder

* Modify faker file

* Add common methods

* Add methods specific for dashboard spec

* Modify dashboard spec

* Review changes

* Add and modify data-cy for elements

* Add custom command to verify elements

* Modify verify elements command

* Remove exported app file
2022-08-04 20:40:46 +05:30
Midhun Kumar E
272205cce5
Add happy path spec for Multiselect widget (#3731)
* Modify faker package

* Add data-cy

* Add Selectors

* Add texts and labels

* Add faker objects

* Add spec file

* Add methods and new utis file

* Minor fix

* Minor typo fix
2022-08-04 20:16:53 +05:30
Midhun Kumar E
cf31de35fc
Upgrade Cypres to V10.3.1 (#3651)
* Remove cypress and its dependencies from root dir

* Install cypress to cypress-tests  directory

* Move cypress specs and utils

* Remove older files

* Fix package.json
2022-07-25 10:15:28 +05:30