Commit Graph

20 Commits

Author SHA1 Message Date
Mitch-Budibase 702deee511 Update commands.js + createApp.spec.js
commands.js
- Increasing wait due to timing issue for specific test runs.
- Added `{ force: true }` to assist with adding components

createApp.spec.js
- Increasing wait due to timing issue for specific test runs
2022-05-11 21:13:57 +01:00
Mitch-Budibase eba7df7255 Updated createApp.spec.js
The test 'should provide filterable templates' was failing on the smoke build.

Updated to check existence of apps and act accordingly
2022-04-12 17:24:15 +01:00
Mitch-Budibase 69d6dbc23a Updating tests to work with test Env
I've made some changes to the tests and commands file to allow for the tests to run within the Test env after the latest round of UI changes.

Some of these changes also allow for testing instances in which apps already exist - This is specific for the test env, the CI runs always have a clean instance
2022-04-01 11:31:18 +01:00
Dean 6164b4d574 Cypress test fixes and refactoring around the create app workflows 2022-03-28 23:21:38 +01:00
Mitch-Budibase d87d5f2fed Re-adding tests
I had removed a lot of these for checking against the CI - adding them back in
2022-02-17 14:06:17 +00:00
Mitch-Budibase 39ebebcb3c temporarily stripping tests to review CI against tests
Many tests are failing against the CI
-I'm stripping a lot out for now to verify the CI going green
2022-02-09 12:56:27 +00:00
Mitch-Budibase 0abcff774b Adding tags to tests
Currently there is 'smoke' and 'all' tags
2022-01-21 12:43:27 +00:00
Mitch-Budibase c7c4bd607f Env variables & data files
Changes as per PR
-Created files for transformer queries - tests updated accordingly
-Updates for Env variables and usage
-Changes surrounding App Rename testing
2021-11-18 13:47:41 +00:00
Martin McKeaveney 046850b4d6 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney 191c085f17 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
Martin McKeaveney fe6d31d880 login command - need to run worker in cypress env 2021-04-15 12:14:50 +01:00
Andrew Kingston 23641a5d56 Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Andrew Kingston dc3dadcc44 Refactor cypress to use common app creation functionality and stop cypress deleting all apps 2021-03-05 14:36:38 +00:00
Andrew Kingston c03e361710 Add cypress tests for data bindings and component creation 2021-03-05 13:52:26 +00:00
mike12345567 68f68c1e26 Attempting to fix the issue with 4001, this updates the cypress tests so that it is easier to change the port on which it runs as well as updating the electron usage of the app to use port 0 (an ephermeral port). 2021-02-03 16:09:48 +00:00
Martin McKeaveney bbcb282e53
Cypress Tests Running in CI (#524)
* cypress test setup

* running cypress in CI

* fixing tests after first time setup wizard

* bb api key

* API Key in right place

* adding env in cypress.json

* env var in setup

* lint

* API key not working

* fill in API key form if present

* allow more time for creation

* cypress server for debug

* video recording, better debugging

* Adding debug logs

* set node env

* cypress env

* cancel irrelevant test
2020-08-05 15:18:28 +01:00
kevmodrome 0ab7b99f41 update names for tests 2020-06-11 13:20:13 +02:00
kevmodrome 202abaa13e rework tests to use commands for DRYness 2020-06-11 12:04:31 +02:00
kevmodrome e4fded7114 update create app test 2020-06-09 15:40:00 +02:00
kevmodrome b9e8319670 adds test for creating budibase app 2020-06-09 13:52:19 +02:00