Commit graph

50 commits

Author SHA1 Message Date
Midhun Kumar E
a2a70ec737
Fixed cypress app builder v2.7.0 (#6796)
* Fix table and database specs

* Fix toast issue

* Fix toast delay
2023-06-21 08:38:40 +05:30
Midhun Kumar E
e4a0a33f09
Fix cypress failures (#6792) 2023-06-20 19:20:49 +05:30
Ajith KV
fa243e0f83
Fixed workspace cypress v2.7.0 (#6781)
* Fix failing workspace specs

* Fix dashboard and share app test cases

* skip public app test case in Share app spec
2023-06-20 12:58:58 +05:30
Midhun Kumar E
d2d25e191e
Add automation for global settings (#6664) 2023-06-15 14:10:19 +05:30
Midhun Kumar E
a202d62768
Added automation for runPy (#6590)
* 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

* Add automation for runPy
2023-05-30 13:06:52 +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
Sherfin Shamsudeen
0fbfd12bbe Merge branch 'main' into merge-back/2.6.0 2023-05-23 16:00: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
Akshay
366b44b35d
Merge pull request #6377 from ToolJet/test/fix-version-and-database-cypress-spec-failure
Modified version and database cypress spec failure
2023-05-16 17:35:57 +05:30
Midhun Kumar E
07e31ed5de
Added automation for inspector. (#6380)
* Add utils for inspector node verification

* Add inspector verification spec

* Add verification for inspector buttons
2023-05-16 14:43:56 +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
Mekhla Asopa
8e3fbf5fac Fix cypress failure 2023-05-12 16:10:16 +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
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
Midhun Kumar E
9e63783eff
Fix failing specs (#6157) 2023-04-27 08:01:37 +05:30
Mekhla Asopa
e81a7d5c51 Fix cypress failure 2023-04-25 15:37:18 +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
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
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
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
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
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
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
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
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
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
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