Commit graph

48 commits

Author SHA1 Message Date
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
Midhun Kumar E
ebdbef9977
test: Cypress automation revamp appbuilder 1.5 (#8804)
* fix button spec

* fix appTitle spec

* fix componentDuplication spec

* fix csa spec

* fix datepicker spec

* fix list view  spec

* fix modal  spec

* fix multiselect  spec

* fix input  specs

* fix query  specs

* fix inspector and global setings  specs

* fix multipage  spec

* fix text  spec

* fix table  spec

* fix layout
2024-02-20 21:28:38 +05:30
Ajith KV
6edf883fba
Add cypress test cases for group duplication (#8646) 2024-01-29 12:28:38 +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
481355af08
Add cypress test cases for app creation flow (#8232) 2023-12-04 10:16:24 +05:30
Ajith KV
9f61f676dc
Added cyppress test case for creating and editing workspace (#8159)
* Add cyppress test case for creating and editing workspace

* Add wait

* Modify test case for action
2023-11-17 16:29:04 +05:30
Ajith KV
be643515ed
Added cypress test cases for redirection error page (#8150) 2023-11-14 17:40:06 +05:30
Ajith KV
ca0ad7e39f
Modifed platform cypress test cases (#8129)
* Modify platform test cases

* Fix user onboarding with group

* Modify test cases

* Revert api command changes
2023-11-09 17:40:27 +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
097acb0ff8
Fixed platform cypress test cases (#7426)
* fix failing platform test cases

* Add missing data-cy
2023-09-13 12:32:06 +05:30
Midhun Kumar E
6b155930a1
Automation fixed for appbuilder-1.3 (#7388)
* Add data-cy

* Fix specs

* Fix no events label

* Fix Table regression

* Fix action failures.

* Fix Event data-cy

* Fix cy version

* Revert lock filr
2023-09-12 13:04:44 +05:30
Ajith KV
c2891eea71
Modified the datasource cypress test cases (#7234)
* initial: flow setup

* [BugFix] Fix dynamic form breaking in case "react-component-headers" form type outside of the editor

* fixes: initial creation of datasource with default options

* resolve: local ds issues and cleanup

* cleanup

* fix: equality check

* revamp: gds flow

* fix: local ds not updating

* fix: minor bugs

* remove datasource confirmation modal

* bug fixes

* Modify the datasource cypress test cases

* Add data-cy for new datasource components

* rename to data sources

* rename: data sources

* fix: local ds wrapper css

* Add new commands file

* Add new commands file

* fix: datasource route

* Modify data source test cases

* Modify cypress config

* Modify data source icon tooltip text

---------

Co-authored-by: Vijaykant Yadav <[email protected]>
Co-authored-by: Nakul Nagargade <[email protected]>
Co-authored-by: emidhun <[email protected]>
2023-08-28 17:53:11 +05:30
Ajith KV
bb28eb9f40
Add test cases for constants on editor (#7285) 2023-08-18 14:53:53 +05:30
Ajith KV
114755a1db
Add cypress test cases for workspace constants (#7254) 2023-08-14 14:46:16 +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
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
e416709ea4
Fix and modify cypress test cases for workspace sanitization changes (#6717) 2023-06-14 15:00:21 +05:30
Ajith KV
b581add526
Add cypress test for share app funcationality (#6459) 2023-05-18 12:59:14 +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
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
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 <[email protected]>
2023-05-03 11:51:56 +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
2337e177ea
Fix failed user permission cypress spec (#6147) 2023-04-27 07:40:27 +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
Ajith KV
577c830af0
Fix failing dashboard spec (#5941) 2023-04-20 10:29:50 +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
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
Ajith KV
3dd844dc35
Add cypress spec for password reset functionality (#5609) 2023-02-23 08:43:35 +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
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
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 <[email protected]>
2023-02-09 16:26:10 +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
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
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
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
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 <[email protected]>
2022-09-05 14:06:45 +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
Renamed from cypress/constants/selectors/common.js (Browse further)