Commit graph

138 commits

Author SHA1 Message Date
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