Commit Graph

325 Commits

Author SHA1 Message Date
Hetu Nandu
11766c0e4a
Action onPageLoad test fix (#2581) 2021-01-15 11:08:53 +05:30
Hetu Nandu
2b8bae158c
Batch action evaluation calls (#2561) 2021-01-14 20:07:21 +05:30
NandanAnantharamu
9f2fbf13c8
Cypress upgrade to 6.2.1 (#2535)
* Cypress upgrade to 6.2.1

* Replaced route and server and assertions

* Removed intercept as it involves changes with alias

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-01-14 11:14:07 +05:30
NandanAnantharamu
d1d70b8b5c
Updated mongodatasource tests (#2567)
* Updated mongodatasource tests

* Commented assertion for test datasource and updated query test

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-01-13 21:34:23 +05:30
Arpit Mohan
5860b1b2ab Adding the init dump SQL file for PostgreSQL database
This is used when running the Cypress tests
2021-01-13 15:41:39 +05:30
NandanAnantharamu
06ecc106d6
Using Cypress wait instead of postExecute for Table binding test (#2249)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-01-08 14:11:23 +05:30
akash-codemonk
bad63f9e68
Onboarding fixes (#2458) 2021-01-08 11:36:09 +05:30
imgbot[bot]
ec115967f5
[ImgBot] Optimize images (#2384)
*Total -- 1,492.69kb -> 1,218.88kb (18.34%)

/static/form.png -- 651.09kb -> 517.01kb (20.59%)
/static/editor.png -- 694.01kb -> 555.61kb (19.94%)
/static/appsmith_logo_white.png -- 4.91kb -> 4.31kb (12.23%)
/app/client/src/assets/icons/ads/app-icons/bar-graph.svg -- 0.54kb -> 0.51kb (4.18%)
/app/client/src/assets/icons/ads/app-icons/team.svg -- 1.03kb -> 1.00kb (3.12%)
/app/client/src/assets/icons/ads/app-icons/line-chart.svg -- 0.88kb -> 0.86kb (2.77%)
/app/client/src/assets/icons/ads/app-icons/email.svg -- 0.25kb -> 0.24kb (2.73%)
/app/client/src/assets/icons/ads/app-icons/single-person.svg -- 0.69kb -> 0.68kb (1.97%)
/app/client/src/assets/icons/ads/app-icons/airplane.svg -- 1.18kb -> 1.16kb (1.82%)
/app/client/src/assets/icons/ads/app-icons/family.svg -- 1.52kb -> 1.49kb (1.8%)
/app/client/src/assets/icons/ads/app-icons/hospital.svg -- 0.41kb -> 0.41kb (1.65%)
/app/client/src/assets/icons/ads/app-icons/pants.svg -- 0.45kb -> 0.44kb (1.52%)
/app/client/src/assets/icons/ads/app-icons/call.svg -- 0.67kb -> 0.66kb (1.46%)
/app/client/src/assets/icons/ads/app-icons/lotus.svg -- 1.35kb -> 1.33kb (1.3%)
/app/client/src/assets/icons/ads/app-icons/lightning.svg -- 0.78kb -> 0.77kb (1.25%)
/app/client/src/assets/icons/ads/app-icons/hat.svg -- 0.55kb -> 0.54kb (1.24%)
/app/client/src/assets/icons/ads/app-icons/couples.svg -- 1.50kb -> 1.48kb (1.23%)
/app/client/src/assets/icons/ads/app-icons/mug.svg -- 0.56kb -> 0.55kb (1.23%)
/app/client/src/assets/icons/ads/app-icons/sunflower.svg -- 1.15kb -> 1.13kb (1.19%)
/app/client/src/assets/icons/ads/app-icons/website.svg -- 1.83kb -> 1.81kb (1.12%)
/app/client/src/assets/icons/ads/app-icons/diamond.svg -- 0.63kb -> 0.62kb (1.09%)
/app/client/src/assets/icons/ads/app-icons/money.svg -- 1.18kb -> 1.17kb (1.07%)
/app/client/src/assets/icons/ads/app-icons/headphones.svg -- 0.84kb -> 0.83kb (1.04%)
/app/client/src/assets/icons/ads/app-icons/bus.svg -- 2.09kb -> 2.07kb (1.03%)
/app/client/src/assets/icons/ads/app-icons/pie-chart.svg -- 0.96kb -> 0.95kb (1.02%)
/app/client/src/assets/icons/ads/app-icons/shirt.svg -- 0.67kb -> 0.67kb (1.02%)
/app/client/src/assets/icons/ads/app-icons/smartphone.svg -- 0.68kb -> 0.68kb (1%)
/app/client/cypress/fixtures/appsmithlogo.png -- 1.97kb -> 1.96kb (0.99%)
/app/client/src/assets/icons/ads/app-icons/music.svg -- 0.74kb -> 0.73kb (0.93%)
/app/client/src/assets/icons/ads/app-icons/rocket.svg -- 1.55kb -> 1.54kb (0.88%)
/app/client/src/assets/icons/ads/app-icons/medical.svg -- 0.57kb -> 0.56kb (0.86%)
/app/client/src/assets/icons/ads/app-icons/plant.svg -- 1.06kb -> 1.05kb (0.83%)
/app/client/src/assets/icons/ads/app-icons/love.svg -- 0.83kb -> 0.82kb (0.82%)
/app/client/src/assets/icons/ads/app-icons/repeat.svg -- 0.76kb -> 0.75kb (0.78%)
/app/client/src/assets/icons/ads/app-icons/bird.svg -- 1.15kb -> 1.14kb (0.77%)
/app/client/src/assets/icons/ads/app-icons/car.svg -- 1.79kb -> 1.78kb (0.76%)
/app/client/src/assets/icons/ads/app-icons/coding.svg -- 0.51kb -> 0.51kb (0.76%)
/app/client/src/assets/icons/ads/app-icons/rose.svg -- 1.29kb -> 1.28kb (0.76%)
/app/client/src/assets/icons/ads/app-icons/system.svg -- 1.03kb -> 1.02kb (0.76%)
/app/client/src/assets/icons/ads/app-icons/tree.svg -- 0.95kb -> 0.94kb (0.72%)
/app/client/src/assets/icons/ads/app-icons/card.svg -- 1.22kb -> 1.21kb (0.72%)
/app/client/src/assets/icons/ads/app-icons/cricket.svg -- 0.96kb -> 0.95kb (0.71%)
/app/client/src/assets/icons/ads/app-icons/yen.svg -- 0.99kb -> 0.99kb (0.69%)
/app/client/src/assets/icons/ads/app-icons/location.svg -- 1.00kb -> 1.00kb (0.68%)
/app/client/src/assets/icons/ads/app-icons/laptop.svg -- 0.72kb -> 0.71kb (0.68%)
/app/client/src/assets/icons/ads/app-icons/rupee.svg -- 1.04kb -> 1.04kb (0.65%)
/app/client/src/assets/icons/ads/app-icons/medal.svg -- 1.05kb -> 1.04kb (0.65%)
/app/client/src/assets/icons/ads/app-icons/shop.svg -- 1.96kb -> 1.94kb (0.65%)
/app/client/src/assets/icons/ads/app-icons/cat.svg -- 1.60kb -> 1.59kb (0.61%)
/app/client/src/assets/icons/ads/app-icons/dog.svg -- 2.11kb -> 2.09kb (0.6%)
/app/client/src/assets/icons/ads/app-icons/bicycle.svg -- 1.46kb -> 1.46kb (0.6%)
/app/client/src/assets/icons/ads/app-icons/basketball.svg -- 1.52kb -> 1.51kb (0.58%)
/app/client/src/assets/icons/ads/app-icons/flag.svg -- 1.22kb -> 1.22kb (0.56%)
/app/client/src/assets/icons/ads/app-icons/euros.svg -- 1.24kb -> 1.23kb (0.55%)
/app/client/src/assets/icons/ads/app-icons/stars.svg -- 1.20kb -> 1.19kb (0.49%)
/app/client/src/assets/icons/ads/app-icons/chat.svg -- 1.49kb -> 1.49kb (0.46%)
/app/client/src/assets/icons/ads/app-icons/restaurant.svg -- 1.52kb -> 1.52kb (0.45%)
/app/client/src/assets/icons/ads/app-icons/saturn.svg -- 1.59kb -> 1.58kb (0.43%)
/app/client/src/assets/icons/ads/app-icons/moon.svg -- 1.65kb -> 1.65kb (0.41%)
/app/client/src/assets/icons/ads/app-icons/chinese-remnibi.svg -- 1.69kb -> 1.68kb (0.4%)
/app/client/src/assets/icons/ads/app-icons/burger.svg -- 2.77kb -> 2.76kb (0.39%)
/app/client/src/assets/icons/ads/app-icons/earth.svg -- 1.87kb -> 1.86kb (0.37%)
/app/client/src/assets/icons/ads/app-icons/joystick.svg -- 1.98kb -> 1.97kb (0.35%)
/app/client/src/assets/icons/ads/app-icons/steam-bowl.svg -- 2.95kb -> 2.94kb (0.33%)
/app/client/src/assets/icons/ads/app-icons/alien.svg -- 1.27kb -> 1.27kb (0.31%)
/app/client/src/assets/icons/ads/app-icons/uk-pounds.svg -- 2.33kb -> 2.32kb (0.29%)
/app/client/src/assets/icons/ads/app-icons/dollar.svg -- 2.59kb -> 2.58kb (0.26%)
/app/client/src/assets/icons/ads/app-icons/pizza.svg -- 1.86kb -> 1.86kb (0.26%)
/app/client/src/assets/icons/ads/app-icons/bitcoin.svg -- 2.75kb -> 2.74kb (0.25%)
/app/client/src/assets/icons/ads/app-icons/rainy-weather.svg -- 8.28kb -> 8.27kb (0.15%)
/app/client/src/assets/icons/ads/app-icons/shake-hands.svg -- 4.62kb -> 4.61kb (0.15%)
/app/client/src/assets/icons/ads/app-icons/football.svg -- 4.93kb -> 4.92kb (0.14%)
/app/client/src/assets/icons/ads/app-icons/snowy-weather.svg -- 8.34kb -> 8.33kb (0.12%)
/app/client/src/assets/icons/ads/app-icons/server.svg -- 9.10kb -> 9.10kb (0.08%)
/app/client/src/assets/icons/ads/app-icons/cloud.svg -- 23.21kb -> 23.20kb (0.03%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-01-07 11:23:35 +05:30
NandanAnantharamu
523e3ec397
flaky test updated (#2468)
* flaky test updated

* updated another flaky test

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-01-07 10:37:17 +05:30
prapullac
7309e91153
Added test for Datasource associated with API (#2336)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2021-01-07 10:32:26 +05:30
Pawan Kumar
51076eaead
Fix: Show appropriate error message when an onPageLoad action fails (#2355)
* show action in toast error message on pageload error

* add test case

* add error body in toast

* fix test case

* fix test case

* update test case

* uncomment test case

* remove the console log

* remove unused console

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2021-01-06 10:55:47 +05:30
akash-codemonk
f5e696a4f4
Hide other header elements while showing the deploy button 2021-01-06 09:38:18 +05:30
akash-codemonk
69cd988c01
Fix onboarding test failure causing other tests to fail (#2417) 2021-01-04 15:52:22 +05:30
Hetu Nandu
4387200262
Sub tree evaluation (#1841)
Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: Piyush Mishra <piyush@codeitout.com>
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
Co-authored-by: Akash N <akash@codemonk.in>
2021-01-04 15:46:08 +05:30
NandanAnantharamu
4c5387f707
updated assertion (#2419)
* updated assertion

* review comment incoirporated

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2021-01-04 12:59:21 +05:30
akash-codemonk
1a35bb1e75
Onboarding flow (#2311) 2020-12-30 13:01:20 +05:30
Rishabh Saxena
ccd9371820
update tooltip test (#2392) 2020-12-29 19:50:14 +05:30
Rishabh Saxena
13fae1a5c1
fix test (#2390) 2020-12-29 17:45:15 +05:30
Hetu Nandu
b5e8673921
Properly log data tree instrumentation (#2228) 2020-12-29 14:55:56 +05:30
Piyush Mishra
988ebe975b
RPC-like layer with graceful startup and shutdown around a webworker (#2252) 2020-12-28 14:12:43 +05:30
Piyush Mishra
3930c4c63c
Hotfix circularJSON (#2214) 2020-12-23 19:48:46 +05:30
Rishabh Saxena
778b82f9ae
enable hotkeys only when a widget is selected (#2262) 2020-12-23 16:58:29 +05:30
vicky-primathon
bf5693f907
Reset table selected row when table data changes (#2307) 2020-12-23 09:28:23 +05:30
prapullac
91125ebc26
Manual test Ideas for home page (#2208) 2020-12-22 14:06:52 +05:30
Arpit Mohan
a942dc198e Revert "Onboarding flow (#1960)"
This reverts commit e84699e7ba.

Reverting this commit because this flow requires more changes before it's ready for prime-time.
Will continue development on this feature in a different branch
2020-12-22 13:02:02 +05:30
Piyush Mishra
5408806bf1
Do not add objects to the DataTree (#2275)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-12-21 11:44:20 +05:30
akash-codemonk
e84699e7ba
Onboarding flow (#1960)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-12-18 18:48:47 +05:30
Piyush Mishra
a3ed1515d5
Add headers null check (#2223)
* @hetunandu for president
2020-12-17 20:13:01 +05:30
Hetu Nandu
4b3a0ca9de
Fix table text pagination test (#2253) 2020-12-17 18:52:19 +05:30
Piyush Mishra
29de447411
Upgrade fusioncharts npm package (#2241) 2020-12-17 17:43:33 +05:30
NandanAnantharamu
db89dddbad
Organization test split into 2 parts (#2247)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2020-12-17 14:16:54 +05:30
Pawan Kumar
e63f0a9d2a
Fix: 404 error page shows server unavailable (#2195)
* mount error wise route

* remove log

* add test case

* fix wrong error page

* fix typescript error + remove unused variable

* remove 404 + 500 routes

* remove unused imports

* fix typo in test case

* remove history replace in utils

* remove unused variable

* add error codes for safe crash

* remove unused variables

* add error codes in all api rejects + update error reducer code type

* update error codes in init saga

* add selectors for error safe crash + take error logic out of app router

* remove unused variables

* remove extra line

* add header in error pag

* refactor page header on error page

* remove unused import

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-12-17 12:33:59 +05:30
NandanAnantharamu
4914e0a3f2
Updated tests from the functional tests (#2234)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2020-12-17 11:40:50 +05:30
Rishabh Saxena
17ded71de3
fix actions/queries not fetched after cloning a page (#2196)
* fix actions/queries not fetched after cloning a page

* cf fix

* update type

* update test to check if api is cloned

* trigger tests
2020-12-16 14:51:31 +05:30
Hetu Nandu
df902440f5
Add xml2json and json2xml functions (#2022) 2020-12-15 14:16:33 +05:30
Pawan Kumar
1cafbca767
Fix: The search in the multi select is not showing + Multi select dropdown stops functioning if default value is undefined (#2057)
* fix dropdown input ghost width

* add fix when default option is undefined

* update test cases for dropdown undefined default value

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-12-15 10:34:51 +05:30
Pawan Kumar
ffc6c91150
Fix: Input Widget Regex validation not working as expected (#2165)
* add check for custom regex when input is number

* add test cases

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-12-15 10:34:30 +05:30
Hetu Nandu
5bd2cc1ea4
Execution params in actions (#2128) 2020-12-15 00:18:13 +05:30
NandanAnantharamu
095e7d3a8c
Added test for Org logo update and delete (#2177)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2020-12-14 11:50:44 +05:30
Piyush Mishra
22aa9756c1
Resize canvas on delete widget (#1958) 2020-12-11 19:18:01 +05:30
prapullac
b27a32940e
Manual Test Ideas (#2129) 2020-12-11 17:25:54 +05:30
Pawan Kumar
5553da02e8
Fix: Page crashes on cloning the API (#2087)
* fixed the page crashig on cloning the api

* adding test cases

* comment out the drag and drop test case in input spec

* update test case

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-12-10 13:52:40 +05:30
NandanAnantharamu
9fb99c1145
Added tests for Table binding with Input Widget (#1955)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-12-10 10:52:19 +05:30
NandanAnantharamu
ec7149f9d8
Test case for creating multiple apps (#1871)
* Added test for #1716

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2020-12-08 23:47:34 +05:30
Pawan Kumar
c67ada9a24
Fix/updating datasources does not update sidebar (#2018)
* add check for datasources in memo equality check

* add test cases

* update test cases

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-12-08 14:54:02 +05:30
devrk96
6cd44a5b84
Fix: Application name update checks (#1710) 2020-12-07 12:22:49 +05:30
Pawan Kumar
91127ed719
Fix: FilePicker widget was not setting loading state to true on calling action (#1985)
* set loading state on calling action in file picker

* add test cases for file picker loading state

* add tests cases

* add isLoading state in state instead meta

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-12-03 11:02:50 +05:30
akash-codemonk
afa81d9eaf
Datasource form bug fixes (#1986)
* Datasource form fixes #1967 and fixes #1966
* Add tests for scenarios in #1967 and #1966
2020-12-02 16:06:35 +05:30
devrk96
5d820c7203
Fix: Organization rename and toast issues (#1954)
* Toast message removed when renaming an organization
2020-12-02 03:30:29 +05:30
Pawan Kumar
43f821fddc
Fix: test cases for datepicker (#1977)
* clear cache values on delete

* added test cases

* add reload in test case

* fix test cases for datepicker spec

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-12-01 12:10:31 +05:30