Commit graph

225 commits

Author SHA1 Message Date
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
snehal741
328df6c85b
Change the text of CTA for first application (#6087)
Co-authored-by: Snehal Bobade <snehal.bobade@thoughtworks.com>
2023-04-29 20:07:58 +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
Ajith KV
577c830af0
Fix failing dashboard spec (#5941) 2023-04-20 10:29:50 +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
Mekhla Asopa
3fa805993e Merge branch 'develop' into test/fix-cypress-failure 2023-04-10 18:11:49 +05:30
Avirup Banik
a7cb6817b1
Fixed the typo in event handler screen in page menu (#5930)
* Fixed the typo in event handler screen in page menu

* Updated the code as per suggestion
2023-04-10 13:53:13 +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
f41e4654e3 Merge branch 'develop' into test/fix-cypress-failure 2023-04-04 15:29:15 +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
Mekhla Asopa
661f7de6a9 fix failure 2023-03-31 21:11:13 +05:30
Mekhla Asopa
62100fd588 updated export and import spec 2023-03-31 20:55:08 +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
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
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
Midhun Kumar E
036c56c51b
Upgrade cypress to 12.5.1 (#5519)
* Upgrade cypress to 12.5.1

* Add env for cypress run

* add screenshots directory

* add downloads directory

* Add video directory

* Add to .gitignore

* Delete .gitignore

* Remove plugin cypress-file-upload

* Modify config and support
2023-02-09 17:11:50 +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
0d32857149
Add automation for DSs (#5512) 2023-02-09 10:48:20 +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
Midhun Kumar E
15bd45c2d2
Add cypress.env.example (#5366)
* Add cypress.env.example file

* Remove js config(unused)

* Remove all env vars from config file
2023-01-19 16:09:05 +05:30
Ajith KV
9c8cddebe9
Fix and modify login spec (#5345) 2023-01-17 17:47:53 +05:30
Midhun Kumar E
05f499c9da
Add automation for smtp, dynamoDB, Elastic-search connections. (#5349)
* cypress-test

* Add and modify selectors and texts

* Add spec for dynamoDB

* Add spec for Elasticsearch

* Add spec for SMTP

* Add creds on env
2023-01-17 15:52:31 +05:30
Midhun Kumar E
d9e9637b77
Added automation for datasource connection. (#5091)
* Add automation for BigQuery

* Add automation for Firestore

* Add automation for MongoDB

* Add automation for Redis

* Add fields on env
2023-01-17 14:39:38 +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
Kiran Ashok
44c66423ef
changed work email to email (#5126) 2023-01-02 12:42:37 +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
cdb6d871c5
Fix failing SSO signup spec (#4941) 2022-12-23 12:25:44 +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
Midhun Kumar E
0ad366b7f2
Fixed the widget specs failed on v1.28.3 (#4749)
* Fix toast-message failure

* Fix datepicker failures

* Fix listview failures

* Fix numberinput failures

* Fix passwordinput failures

* Fix textinput failures

* Remove commented code
2022-11-11 11:00:28 +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
3ec961e830
Fixed failing manage SSO spec in multi workspace (#4658)
* Fixed failing manage SSO spec in multi workspace

* github to gitHib
2022-10-31 19:07:33 +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
John Bampton
953ccf29e6
Fix spelling (#4400)
Remove duplicate entries in JSON files
2022-10-18 12:50:38 +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
Ajith KV
cd7926130e
Add happy path spec for number input widget (#4074)
* Add data-cy for number input widget

* Modify faker file

* Add spec and constants

* Modify spec with random number funtion

* Modify button widget spec

* Review changes
2022-10-04 13:08:21 +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