Commit Graph

30 Commits

Author SHA1 Message Date
Mitch-Budibase ad8510dad8 Test Skip & Remove retries
I meant to also skip dev mode test within UserSettings

Also removing test retries (not useful currently)
2023-01-19 19:38:58 +00:00
Mitch-Budibase d467bec7bd Smoke Build Changes - Timing issues
Timing issues persist for the smoke build.

Increasing timeout values to try and combat this
2022-07-07 11:07:05 +01:00
Mitch-Budibase 985ab8f4a2 Cypress: Smoke Build Timing based Changes
Still some timing issues against the smoke build, but less this time.

- Mainly adding timeouts against cy.visit
- Improving some structure with the close modal command in a few places
2022-07-06 21:10:34 +01:00
Mitch-Budibase 56fac8dff8 Additional timing based changes for createApp
All tests pass locally, just having issues with timing on the CI run

Also reduced test retries (runs a total of 2 times instead of 3, the 3rd run does not add any value)
2022-06-30 13:53:16 +01:00
Martin McKeaveney 1ed9a4fc09 merge 2022-05-18 20:12:28 +01:00
Martin McKeaveney 6bfb611de4 initial smoke test reporting 2022-05-16 23:08:05 +01:00
Mitch-Budibase 3ea297c5fc Adding retries capabilities
Tests in Cypress run mode will retry up to 2 times (Beneficial for the smoke build flakey tests)
Tests in Cypress open mode will not retry (more ideal for local testing)
2022-05-16 15:16:04 +01:00
Mitch-Budibase ffd1821f7d Update DeleteApp function & Enable Cypress video flag
Commands.js
- DeleteApp does not need specific functionality for test env

cypress.json
- Enabling video flag for Cypress
2022-05-11 16:49:27 +01:00
Rory Powell e2d1ede339 Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-25 08:22:21 +00:00
Rory Powell 83d8c70419 Change ports 2022-02-23 07:00:57 +00:00
Mitch-Budibase ac1ba47ecd Setting Video flag to False
There seems to be an issue sometimes with video processing and test runs - Removing this for now
2022-02-22 15:08:08 +00:00
Rory Powell a80950a5ce Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-22 11:27:26 +00:00
Rory Powell b9306b5a7a Prevent local port conflicts between account portal and cypress 2022-02-22 11:20:58 +00:00
Mitch-Budibase fa9559f1ce Setting video flag back to true 2022-02-21 11:08:32 +00:00
Mitch-Budibase 3672da15d7 Updates/Fixes based on previous test run
General test fixes/updates

-Removed createUser.spec.js - Covered by another file
-Skiipping two tests within queryLevelTransformer
2022-02-18 17:59:33 +00:00
Mitch-Budibase c7aeb97b26 Setting video flag to false within Cypress.json 2022-02-17 17:44:34 +00:00
Mitch-Budibase 5d63dbd9a6 Commands Update & Query Files
-Updating Commands file to include all recent changes
-Added query files (2 of them) - required for query level transformers testing
-Cypress.json updated to remove "/builder/"
-Updating cypress version in package.json
-Missing }) within addmultioptiondatatype.spec.js
2022-01-21 14:41:53 +00:00
Martin McKeaveney 9c54872fa9 revert new cypress tests 2022-01-19 16:19:02 +01:00
Mitch-Budibase df43b270dc New Tests and Changes based on updated test environment
-Changes made to reflect the new layouts of the test env
--e.g. Changes to the app grid, changes to UI screens
-Updated commands
--New commands added & some updated
-New tests
--Revert App
--AutoScreensUI
--Change app icon and colour
--Data source testing

In particular to data source testing
-I have a file for mySQL, PostgreSQL, Oracle, and REST.
--enabled better regression testing for each

Other changes made for:
-QueryLevelTransformers tests
-Table tests
-Renaming applications
-Automations
-Multi-option datastype

New env file added too
2021-12-24 10:38:03 +00:00
Mitch-Budibase 7ba79a8982 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
mike12345567 069de1fdb1 Updating Automation cypress tests, now functional. 2021-05-25 15:57:38 +01:00
Andrew Kingston 60a045b4c3 Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Andrew Kingston 86667bfa0f Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Martin McKeaveney 11f13950e9 make cypress use leveldb 2021-03-24 15:36:13 +00:00
Andrew Kingston 9fb40759d6 Refactor cypress to use common app creation functionality and stop cypress deleting all apps 2021-03-05 14:36:38 +00:00
Andrew Kingston 5ce959a164 Revert default cypress port 2021-03-05 14:06:44 +00:00
Andrew Kingston b9760c6dbc Add cypress tests for data bindings and component creation 2021-03-05 13:52:26 +00:00
mike12345567 a88ce0d608 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 9e00550eda 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 48c604d0d0 feat: adds cypress to the builder 2020-06-09 13:52:00 +02:00