Commit Graph

86 Commits

Author SHA1 Message Date
Hetu Nandu
fe43680abc
Action test fixes (#130)
* Fixes for tests
* remove marketplace tests
* fix some other tests
* Simplify update datasource
* Add cypress env variables
2020-07-21 19:31:51 +05:30
NandanAnantharamu
84c901181d
Updated locators and corrected typo. Also updated some routes (#133)
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-21 17:35:06 +05:30
NandanAnantharamu
1d726dac20
Create Org related usecases (#84)
* Create Org related usecases

* Review comments incorporated

* Updated with env variables for test users and routes

Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-20 15:08:35 +05:30
Arpit Mohan
a9ed054cbb
Adding Github Action workflow to the client code base (#66)
This PR adds the build, test & package workflow to the client code base as well.

In order for us to run the Cypress tests, we also spin up a local server in a Docker container and run all our tests against that server. This ensures that our tests are faster to run as well.

We also introduce the concept of stubbing network requests by stubbing the API that fetches the property pane configuration from the server.

Results for the Cypress tests can be viewed at: https://dashboard.cypress.io/projects/eyxvp8/runs/
2020-07-16 11:20:46 +05:30
NandanAnantharamu
daeb39a8ce
Apipane fix (#108)
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-16 10:30:51 +05:30
NandanAnantharamu
1b3e8c91a7
Fixing Cypress test cases (#32)
* Removed saveQuery method part for query

* login from env variables

Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-11 12:12:53 +05:30
satbir121
bbbdbd50b5
Name of a newly created api and query is focused on mount. (#21)
* New api and query has name in edit mode

* Curl import new api.

* Changing createApi command for new ui.

* Edit Api name is not visible in UI.

* Removed edit api name click.

Co-authored-by: Satbir Singh <satbir@appsmith.com>
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
2020-07-06 11:08:39 +05:30
Hetu Nandu
4a6717889c
Streamline action save with widgets (#10)
- Remove drafts from actions
- Direct update action from forms
- Debounced saving of actions
- Add org id in default datasource
- Merge query and api run saga
2020-07-03 14:28:58 +05:30
NandanAnantharamu
24af49ba18
Removed saveQuery method part for query in Cypress tests for delete API (#18)
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-02 10:59:55 +05:30
Nandan H A
4eb30fccf2 Updating the locators for the API pane to get more tests to pass 2020-06-30 04:19:16 +00:00
Nandan H A
de3773b7af Feature/locators update 2020-06-26 13:56:18 +00:00
Nandan H A
ad549f9638 Feature/locators update 2020-06-24 13:52:41 +00:00
Nandan H A
5e8356c4d7 Feature/locators update 2020-06-19 14:32:56 +00:00
Nandan H A
7bba999c9f Fixing tests for ACL flow
The current push for fixing tests in the new ACL flow.

1. New way to handle create application.
2. API login
3. Removed redundant tests.
4. Fixed Issues wrt ACL changes
2020-06-17 10:47:01 +00:00
Arpit Mohan
fc8e43da1f Query pane fixes
- Show mongo execute response in seperate cards for each record
- Update postgres read template
- Show query execute error message in the UI.
2020-06-17 10:19:56 +00:00
Vicky Bansal
232f5a9206 Fix/empty cells for empty table 2020-06-17 06:00:43 +00:00
Satbir Singh
7e3df81302 Api name editable. 2020-06-16 10:23:19 +00:00
Akash N
e6ed4fd5bc Datasouces and query fixes
-  Show plugin icons in query sidebar and dropdown
- Collapse all sections except the first one in datasources form
- Collapse from second depth in query mongo response UI.
2020-06-12 05:09:49 +00:00
rashmipn
8c0d010216 fixed issue 2020-06-11 10:43:18 +05:30
Satbir Singh
13422048e4 Save api on edit. 2020-06-10 17:42:51 +00:00
Arpit Mohan
9c6e46c649 Merge branch 'Add/Pagination-tests' into 'release'
Add pagination Cypress tests

This adds tests for server-side pagination in a table. 

Pagination via table pageNo and by responseUrl are covered in this scenario.

See merge request theappsmith/internal-tools-client!693
2020-06-10 12:25:16 +00:00
Rashmi P
66b26c42ee Add pagination Cypress tests 2020-06-10 12:25:16 +00:00
Hetu Nandu
cb2867069f Action creator evaluated value fixes 2020-06-10 12:16:50 +00:00
Hetu Nandu
e2eb590a86 Query pane evaluated value 2020-06-10 07:49:27 +00:00
Hetu Nandu
d9540f8927 Evaluated value popup 2020-06-04 13:49:22 +00:00
Satbir Singh
3b729bc470 Merge branch 'fix/react-table-widget' into 'release'
Fix/react table widget

See merge request theappsmith/internal-tools-client!599
2020-06-03 10:50:10 +00:00
Vicky Bansal
c2efa63eba Fix/react table widget 2020-06-03 10:50:10 +00:00
Akash N
62f003df6e Embedded Datasource
- Show path along with url in the api pane for embedded datasource
- Add store as datasource menu option for embedded datasource
- Allow users to type the  path for global datasources
- Show the base url as a tag along with the path for global datasource.
2020-06-03 05:40:48 +00:00
Rashmi P
9aa3b5f247 Add/publish bind tests 2020-05-29 10:02:03 +00:00
Satbir Singh
6a89f3acd0 Changed the popover for api creation. 2020-05-29 00:57:01 +05:30
Satbir Singh
0bf9d74a46 Changed Show Modal to Open Popup 2020-05-29 00:33:37 +05:30
Satbir Singh
5e526b9119 Changing Show Alert to Show message in tests 2020-05-29 00:29:09 +05:30
Aditya Acharya
bc51f22b16 Publish/alltests 2020-05-28 10:35:54 +00:00
Rashmi P
57b65fc974 Add/publish test cases 2020-05-28 06:37:47 +00:00
Nandan H A
a102ca9d6f Removed redundant tests.
Added all verb tests to same spec file.
Added pagination test.
updated beforeEach in index file.
2020-05-27 11:21:11 +00:00
Aditya Acharya
1ef092b9d2 Publish/test cases 2020-05-26 12:22:29 +00:00
Aditya Acharya
9f02eb42e4 Add/publish button 2020-05-21 09:45:48 +00:00
Nandan H A
6a1e942680 Feature/api action tests
added below tests
* API verb tests added ( POST /PUT/PATCH)
* Query param tests (This is also includes invalid and valid)
* Edit APIs( update of api name and api datasource as well)
* mustache API test
* Market Place API test
* Curl POST test
2020-05-20 16:04:37 +00:00
Rashmi P
50515a8ef5 Merge branch 'add/Create-Delete-test' into 'release'
Added Create Delete App test

See merge request theappsmith/internal-tools-client!611
2020-05-20 11:04:40 +00:00
Rashmi P
345fcdea21 Added Create Delete App test 2020-05-20 11:04:39 +00:00
Aditya Acharya
4adad3aecc Fixing the issue where the code mirror textArea wasn't getting cleared.
Also adding more test cases to bind table selected row values to other UI widgets.
2020-05-20 10:07:53 +00:00
Aditya Acharya
16e4262123 Feature/logout 2020-05-19 06:13:15 +00:00
rashminagarajp
56414e3d2c resolved conflicts 2020-05-18 11:04:49 +05:30
rashminagarajp
261ac07367 fixed date picker issue 2020-05-18 09:58:41 +05:30
Aditya Acharya
3286b7f808 Adding UI binding test cases for widgets 2020-05-16 07:28:13 +00:00
rashminagarajp
3a506e133c comments ressolved 2020-05-15 18:15:08 +05:30
rashminagarajp
31ca946199 ressolved comments 2020-05-15 17:50:09 +05:30
Rashmi P
d5a24cd03c Replaced create api fun commands.js 2020-05-14 11:02:41 +00:00
rashminagarajp
8e3c16f3e5 Added Table with Api Bind test case 2020-05-14 14:46:39 +05:30
rashminagarajp
052cf49d86 Changed the End points related to https://dev.appsmith.com 2020-05-14 10:40:36 +05:30