Commit Graph

309 Commits

Author SHA1 Message Date
Mitch-Budibase 45c39cbcc0 Updated PostgreSQL & Oracle Tests
PostgreSQL
- Test fixes (May still fail due to connection issues on smoke build)

Oracle
- Test fixes
- Skipping most tests (Oracle host needs configured)

commands.spec.js
- minor change to addDatasourceConfig function
2022-04-13 15:54:40 +01:00
Mitch-Budibase 57284ec219 Updated MySQL Tests
It may still fail as part of the smoke build due to connection issues - for now, direct test issues are resolved
2022-04-13 14:33:37 +01:00
Mitch-Budibase 0446c5f2e2 lint 2022-04-12 17:33:17 +01:00
Mitch-Budibase f81aed711d 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 29d7987768 Fixed Table Pagination Tests
Previous issues with the second page loading - reloading the page solves it
2022-04-12 16:20:15 +01:00
Mitch-Budibase 87ac25bcea Updated deleteApp function
Added a check for app name, function returns if app does not exist, rather than trying to delete
2022-04-12 15:59:12 +01:00
Mitch-Budibase c3447d418f lint 2022-04-01 14:41:45 +01:00
Mitch-Budibase b64b5edaa7 Changing test structure when searching for applications
Search functionality is not available when only 1 app exists - Updating to reflect this
2022-04-01 14:37:11 +01:00
Mitch-Budibase 4ad60322ab Changes to renameAnApplication & createUserAndRoles
renameAnApplication - changing the navigation to a direct URL rather than clicking the home logo button
createUserAndRoles - Removing the After action (now supports correct flow of tests)
2022-04-01 13:15:06 +01:00
Mitch-Budibase f3b9a06318 Adding and increasing wait times surrounding renameAnApplication.spec.js
Passes locally but looks like a timing issue when run against the CI.

Adding and increasing wait times to hopefully combat this. I will extend further if unsuccessful
2022-04-01 12:05:31 +01:00
Mitch-Budibase f595112b38 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
Mitch-Budibase 760a746c7d Moving assign/unassign user role type tests to test env only
The assign roles test seems to be quite flakey.

I am moving it and the unassign roles test to only run in the test environment while i isolate and fix the issue
2022-03-29 18:32:36 +01:00
Dean 864c83990f Replaced the expected string in the data rest test spec to the original 2022-03-29 10:38:56 +01:00
Dean f512441f11 Cypress test fixes and refactoring around the create app workflows 2022-03-28 23:21:38 +01:00
Andrew Kingston f40407885a Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-15 11:33:27 +00:00
Mitch-Budibase bb5799dbd9 Updating REST Test
A bit of a change of structure for how the test runs
-Also adding a wait as the test seems to be timing out on occasion
2022-03-10 13:46:30 +00:00
Andrew Kingston 8131bae496 Update cypress tests for different button casing 2022-03-08 08:46:07 +00:00
Peter Clement 48d8aaea2a Merge pull request #4390 from Budibase/feature/automation-data-types
Adding ability to toggle between Automation input types.
2022-03-01 14:00:21 +00:00
Mitch-Budibase 5e4365eccb Merge pull request #4751 from Budibase/cypress-testing
Changes for Table test - Commands.js
2022-03-01 12:15:44 +00:00
Peter Clement ffe35bc5ec Merge pull request #4638 from Budibase/feature/table-row-selection
Allow selection of rows from table component
2022-03-01 12:03:24 +00:00
Peter Clement 1a70785c02 fix automation 2022-03-01 11:58:20 +00:00
Mitch-Budibase 38cdf850eb Changes for Table test - Commands.js
Seems like a potential timing issue for the Create Table test

Specifically:
-The datasource modal looks to be sometimes delayed when appearing after app creation
--increasing wait time for after app creation
--Reducing wait within the createTable command
--Updating specific ID to use 'data-cy'
--Updating another ID for the data source modal

I am unable to reproduce this potential issue locally, so making changes in hopes the CI picks it up (if the timing issue still exists)
2022-03-01 11:49:40 +00:00
Peter Clement baf6c64e24 fix cypress, maybe? 2022-03-01 11:39:48 +00:00
Andrew Kingston 40273b7148 Pls cypress 2022-02-25 16:24:36 +00:00
Andrew Kingston 2434f1169d Try to fix cypress tests again 2022-02-25 13:40:23 +00:00
Rory Powell e2d1ede339 Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-25 08:22:21 +00:00
Andrew Kingston 67dd8aeaac Try to fix cypress tests 2022-02-23 13:53:15 +00:00
Andrew Kingston 1ec76e3e7e Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-23 13:25:48 +00:00
Andrew Kingston 572cf77644 Try to fix cypress tests 2022-02-23 13:14:28 +00:00
Mitch-Budibase b6d085a093 Increasing wait times for Assign User Roles test
Assign Roles test within createUserAndRoles is failing on CI.

It is not failing locally for me so i suspect a timing issue
2022-02-23 12:32:16 +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 2182de8b4a Updating datasourceWizard & revertApp
datasourceWizard
-Making test env only based on datasource usage

revertApp
-Updating a click function
2022-02-18 18:46:58 +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 153f3454fa Merge branch 'develop' into cypress-testing 2022-02-17 14:22:21 +00:00
Mitch-Budibase 0baafb230b 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
Martin McKeaveney a495050871 merge with develop 2022-02-10 11:39:15 +01:00
Mitch-Budibase c95f7da55e Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-02-09 14:17:17 +00:00
Mitch-Budibase 5930956c8e Stripping out another test spec file
Temporary removal of radio buttons tests
2022-02-09 14:17:03 +00:00
Mitch-Budibase dd8b39ed06 Merge branch 'develop' into cypress-testing 2022-02-09 13:53:17 +00:00
Mitch-Budibase 3ac0d544f2 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
mike12345567 b847b578c7 Making sure worker runs through ts-node in cypress, locally, then built in CI. 2022-02-01 16:02:44 +00:00
mike12345567 e642268364 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-02-01 14:33:02 +00:00
Martin McKeaveney c11e26cb2e merge 2022-02-01 11:22:14 +01:00
Maurits Lourens 6eca23541f build app before running e2e tests 2022-01-31 23:13:42 +01:00
Martin McKeaveney cca6d18af4 point to MinIO instance instead of through proxy 2022-01-30 21:25:56 +01:00
Martin McKeaveney 7c4d7e0e8f nginx prod config, security headers and content-security policies 2022-01-30 21:11:59 +01:00
mike12345567 91a90e62b2 Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
Mitch-Budibase ca8eaf0df3 AutoScreens Test update
increasing wait time for createAutogeneratedScreens command
-associated with auto screens tests
2022-01-21 18:40:32 +00:00
Mitch-Budibase 5c972f4510 Lint
ignoring lint for entire query support files, rather than just ignoring a specific line
2022-01-21 17:50:16 +00:00