Commit Graph

377 Commits

Author SHA1 Message Date
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
Mitch-Budibase 6a0a92d7e1 Updates to query files
queryLevelTransformerFunction
-adding eslint-disable-next-line

queryLevelTransformerFunctionWithData
-adding eslint-disable-next-line
-Removing const stateCode - not required
2022-01-21 17:38:22 +00:00
Mitch-Budibase 434460feb9 Oracle & Table pagination Test Env Only
createTable
-Pagination is now Test Env only

oracle
-Test Env only
-Removed smoke test tag

commands
-Fix for createApp command
-Increase wait for createRestQuery command
2022-01-21 17:28:33 +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
mike12345567 60e6cc3e9a Merge branch 'cypress-testing' of github.com:Budibase/budibase into cypress-testing 2022-01-21 13:37:25 +00:00
Mitch-Budibase e39c5b4c25 lint changes 2022-01-21 13:12:16 +00:00
Mitch-Budibase daebee184d Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-21 12:56:33 +00:00
Mitch-Budibase 8b8cb21ec3 Adding tags to tests
Currently there is 'smoke' and 'all' tags
2022-01-21 12:43:27 +00:00
Peter Clement bc521af082 fix cypress createApp command 2022-01-20 11:51:41 +00:00
Peter Clement 09611d3aad Merge remote-tracking branch 'origin/develop' into fix/template-row-limit 2022-01-20 09:53:39 +00:00
Peter Clement 27a8fefaa4 fix cypress 2022-01-20 09:44:40 +00:00
Martin McKeaveney 5bacd7f62a Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-01-19 16:19:42 +01:00
Martin McKeaveney 9c54872fa9 revert new cypress tests 2022-01-19 16:19:02 +01:00
Martin McKeaveney 8267d31626 Revert "Small changes associated with the smoke build" 2022-01-19 16:10:22 +01:00
Martin McKeaveney c25c88ae58 fix lint 2022-01-19 12:42:11 +01:00
Mitch-Budibase 9034f23fde Small changes associated with the smoke build
Removing a line from addMultiOptionDatatype

Also adding a wait when creating an app - smoke build looks to have a timing issue with some tests
-Just a 2 second wait for now
2022-01-18 17:25:09 +00:00
Mitch-Budibase 2960867cb0 lint changes 2022-01-18 16:20:54 +00:00
Mitch-Budibase bd82ce9704 Table Test fix - Add row to table
Fixing the command associated with adding a row to a table
2022-01-18 16:12:53 +00:00
Mitch-Budibase e4da48eb8a Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-18 16:02:49 +00:00
Mitch-Budibase 9a7286568a Structural Changes + New Test
Structural changes surrounding data sources
-Cypress env file removed
-Text change for fetching tables
-Oracle tests organised
-PostgreSQL tests organised

New test is for skipping table fetch via button

There are a few other smaller changes
2022-01-18 16:02:42 +00:00
Mitch-Budibase 4279772444 Merge branch 'develop' into cypress-testing 2021-12-24 10:55:57 +00:00
Mitch-Budibase 40ab428e22 Adding new lines to bottom of files and other minor changes 2021-12-24 10:49:47 +00:00
Mitch-Budibase d5bea7e0f3 Adding new lines to bottom of files 2021-12-24 10:40:57 +00: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
Peter Clement 841feac5fa Merge pull request #3737 from Budibase/feature/home-screen-redesign
Home Screen Redesign
2021-12-15 09:47:03 +00:00
Peter Clement fa8fb5577e fix home screen automation commands 2021-12-09 11:52:47 +00:00
Martin McKeaveney 1b8a3c9813 updating cypress test to cover automation creation 2021-12-08 11:32:28 +00:00
Martin McKeaveney c7bf4770a5 Merge pull request #3543 from Budibase/martin/misc-tasks
Martin/misc tasks
2021-11-26 11:58:40 +01:00
Martin McKeaveney eec02321f5 fix cypress tests 2021-11-26 11:42:37 +01:00
Peter Clement 0b9cc02023 Merge pull request #3544 from Budibase/feature/auto-screen-ui
Remove initial screen defintion so user can see the new screen creation button
2021-11-25 22:13:07 +00:00
Peter Clement 2945b15ee3 update cypress to account for no default screen 2021-11-25 21:48:07 +00:00
Andrew Kingston 567d188e29 Merge pull request #3476 from Budibase/multi-filter-component
Dynamic filter component
2021-11-24 08:39:28 +00:00
Peter Clement 9c5fc58d43 Merge pull request #3441 from Budibase/fix/pc-generic-fixes
Save automation test data
2021-11-23 20:07:19 +00:00
Peter Clement b6d02dace9 Merge pull request #3488 from Budibase/feature/auto-screen-ui
Remove nav selection modal from screens UI (for now)
2021-11-23 13:48:14 +00:00
Peter Clement 1da1331b3a Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +00:00
Peter Clement a68247ffcb fixng some auto screen bugs 2021-11-23 09:39:40 +00:00
Andrew Kingston 6b2e235c35 Fix cypress tests 2021-11-22 16:29:03 +00:00
Andrew Kingston d9b7426d29 Update cypress tests to account for component restructuring 2021-11-22 15:26:41 +00:00
mike12345567 ea0000df51 Updating UI to have a table/column deletion check which makes sure the user understands what they are doing, also disabling external table deletion. 2021-11-22 15:26:24 +00:00
Peter Clement 7bbf5500c6 Merge pull request #3334 from Budibase/feature/auto-screen-ui
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Peter Clement 8581c06721 fix broken automation test 2021-11-22 09:43:57 +00:00
Mitch-Budibase 650702c1b4 Merge branch 'develop' into cypress-testing 2021-11-18 13:51:30 +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 aaff5260d3 Adding a script to be able to debug backend like cypress runs, without needing to build everytime - fixing an issue that appears to only occur occasionally in the cypress environment. 2021-11-16 17:40:31 +00:00
Mitch-Budibase 348c4ed75b Update commands.js
A few formatting based changes for this file
2021-11-15 15:40:48 +00:00
Mitch-Budibase 9f1f9304bd Merge branch 'develop' into cypress-testing 2021-11-15 15:28:38 +00:00
Mitch-Budibase 8780010926 New Tests (User Roles, Query Level Transformers, Data Sources etc.)
New tests:
-Query Level Transformers
-Table pagination
-User Roles
-Data Sources (correct config, incorrect config, Wizard)

Also:
-New Commands to support
Testing
-Cypress Updated
2021-11-15 15:25:58 +00:00
Peter Clement a6d8c791e1 fix cypress tests 2021-11-15 11:04:22 +00:00
Martin McKeaveney 91a9e78e92 fix renaming an app 2021-11-10 14:57:46 +01:00
Martin McKeaveney 8f7b57837e adding cypress tag to input 2021-11-10 14:08:34 +01:00
Martin McKeaveney f5406cecf2 fix cypress tests 2021-11-10 13:04:59 +01:00
Martin McKeaveney 1361b05966 updating delete app cypress command 2021-11-09 18:35:19 +01:00
mike12345567 0266e0586f Removing failing cypress tests to pass CI again. 2021-10-22 17:47:32 +01:00
Mitch-Budibase 907c506b95 Merge pull request #3108 from Budibase/cypress-testing
Editing customThemingProperties to run all tests
2021-10-21 18:51:07 +01:00
Mitch-Budibase 2a933bf68a Editing customThemingProperties to run all tests
removing 'only' from one of the tests.

Both tests in this spec will now run
2021-10-21 18:50:09 +01:00
Mitch-Budibase 2636dd67e5 Merge pull request #3024 from Budibase/cypress-testing
New Tests & Command
2021-10-21 15:30:58 +01:00
Mitch-Budibase c81bf77ddd Update to renameAnApplication
Removing a log that I had i place for val
2021-10-21 15:30:19 +01:00
mike12345567 5671b7ff2f Fixing test case issue, Cypress not consistently opening app creation modal. 2021-10-19 16:14:34 +01:00
Mitch-Budibase 21fef55e93 Merge branch 'develop' into cypress-testing 2021-10-15 17:36:18 +01:00
Mitch-Budibase 02ccb5278b New Tests & Command
Rename an application
-5 tests

Custom theming properties
-1 new test (Button roundness)

1 new command
-searches for an application
2021-10-15 17:36:10 +01:00
Peter Clement 1030d24e25 remove unused command 2021-10-14 16:59:22 +01:00
Peter Clement 63b0938d36 Don't show the create datasource popup in dev environments 2021-10-14 16:45:27 +01:00
Peter Clement d720171846 fix cypress 2021-10-13 14:12:31 +01:00
Rory Powell 5948aab953 Cypress fix: 'RoverUpdated' -> 'Updated' in createTable.spec.js 2021-10-12 13:02:08 +01:00
Mitch-Budibase 1a3b147c47 Merge branch 'develop' into cypress-testing 2021-10-11 14:51:33 +01:00
Mitch-Budibase 5b98ca0197 Updating customThemingProperties
Primary color is now accent color - updating test to reflect this
2021-10-11 14:51:24 +01:00
Peter Clement 8744e50ded fix lint 2021-10-11 11:33:54 +01:00
Mitch-Budibase d6818acfcf Some changes for addMultiOptionDatatype 2021-10-08 11:45:54 +01:00
Mitch-Budibase 417826ffed Update commands.js 2021-10-08 10:56:44 +01:00
Mitch-Budibase a590cb836f Merge branch 'develop' into cypress-testing 2021-10-07 14:01:22 +01:00
Martin McKeaveney 29f8cfe7ac use start from scratch instead of create app button 2021-10-06 14:35:00 +01:00
Andrew Kingston 38b341e4b9 Be more explicit with testing table deletion to avoid random failures due to ordering 2021-10-01 13:58:15 +01:00
Andrew Kingston c6566cc282 Add slight delay to make views tests pass 2021-10-01 12:48:16 +01:00
Martin McKeaveney 8c65d45c23 Merge branch 'develop' into dnd 2021-09-30 14:56:23 +01:00
Mitch-Budibase f703243562 Fixing env change that i missed in commands file 2021-09-30 14:09:37 +01:00
Mitch-Budibase aea74a4d74 changing worker-url 2021-09-30 14:00:26 +01:00
Mitch-Budibase f443127e13 Changing Environment
I had this as the test env, changing it back to what it was previously.
2021-09-30 13:52:20 +01:00
Mitch-Budibase d7b4519090 Merge branch 'develop' into cypress-testing 2021-09-30 13:38:48 +01:00
Peter Clement c33d5f4d14 cypress fix???? 2021-09-29 11:27:58 +01:00
Peter Clement fd96e1f7a2 fix cypress tests again 2021-09-29 09:53:31 +01:00
Peter Clement 55d61a3293 test cypress fix 2021-09-28 22:37:04 +01:00
Peter Clement 7d03a4cba5 cypress tests... 2021-09-28 19:29:25 +01:00
Peter Clement a117f3542c update cypress tests to account for new modal 2021-09-28 12:26:38 +01:00
Mitch-Budibase b6f8d74e01 Cypress Testing additions and changes
-Changing baseurl to be the test env
-Made a few updates to existing tests/commands
--New commands also added
-Add Radio Button Test
-Add Multi Option Datatype test
-Custom Theming Properties Test
--Just the one so far, more to come
2021-09-27 18:19:25 +01:00
Andrew Kingston 07e0cbb210 Remove old and no longer needed component-id data tag applied by styleable helper 2021-09-20 12:20:34 +01:00
Andrew Kingston 88ea38e9ed Fix cypress tests due to renaming of 'Create new app' text 2021-09-16 16:53:55 +01:00
PClmnt c968d534ac Merge pull request #2610 from Budibase/feature/automation-redesign
Automation Redesign
2021-09-16 15:17:51 +01:00
Martin McKeaveney ecb34e49e3 Merge pull request #2169 from mslourens/collapse_expand_database_connections
Collapse and expand database connections
2021-09-16 14:26:25 +01:00
Maurits Lourens 85d4ef7673 fix tests by ensuring the budibase connection is expanded 2021-09-16 10:03:57 +02:00
Maurits Lourens 910e2f9a1d fix tests 2021-09-15 18:16:22 +02:00
Peter Clement 7b99574f4c update reactivity of test data modal 2021-09-15 16:55:17 +01:00
mike12345567 70bc68fb61 Adding concept of internal and external actions. 2021-09-14 12:40:19 +01:00
mike12345567 500179e312 Fixing test cases, making it possible to still run automations via env variable. 2021-09-14 11:18:02 +01:00
Maurits Lourens 10e8b54f4f Fix test 2021-08-06 21:46:44 +02:00
Maurits Lourens aa1d214c4d Merge branch 'develop' into prevent_space_in_url
# Conflicts:
#	packages/builder/src/components/design/PropertiesPanel/ScreenSettingsSection.svelte
2021-08-05 20:11:55 +02:00
Maurits Lourens a77b386f6e fix lint issues 2021-07-28 10:19:10 +02:00
Maurits Lourens 519d2bd0fb replace spaces with underscores in screen routes 2021-07-28 09:09:37 +02:00
Maurits Lourens 101ca5f01e fix cypress test 2021-07-27 23:48:06 +02:00
Martin McKeaveney bebfe4c6e1 merge with master 2021-07-11 18:07:46 +01:00
Kyle Harrison 2d451bb3a9 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Andrew Kingston 03c4f0fc24 Fix cypress test 2021-07-05 17:37:38 +01:00
mike12345567 b25033cab6 Fixing cypress test linkup to built files. 2021-06-25 16:37:01 +01:00
mike12345567 ed5dd08c66 Fixing authentication with API key issue. 2021-06-21 17:13:06 +01:00
Martin McKeaveney 9b8613e9fc remove internal API key for cypress setup 2021-06-21 16:15:19 +01:00
mike12345567 96f477ddfd Linting and adding internal_api_key to cypress. 2021-06-21 14:06:06 +01:00
mike12345567 552c608b49 Fixing some issues with cypress tests and screens getting multipled. 2021-06-17 18:19:34 +01:00
Martin McKeaveney 35942d27b4 fix up datasources and server tests 2021-06-17 15:24:52 +01:00
Andrew Kingston 2d3bc1312e Fix cypress test 2021-06-11 13:11:17 +01:00
mike12345567 88290f2a13 Removing unused function. 2021-06-07 17:00:03 +01:00
mike12345567 1f798f594d Fixing conditional issues. 2021-06-07 16:59:54 +01:00
mike12345567 e75b1338c2 Skipping component test case. 2021-06-07 15:46:09 +01:00
Martin McKeaveney 75d30ed3a1 createView test green 2021-06-02 22:38:04 +01:00
Martin McKeaveney 6f663a1daf view 2021-06-02 19:21:55 +01:00
Martin McKeaveney 5b26d094cc view fixes 2021-06-02 19:20:28 +01:00
mike12345567 32579aede8 Some fixes after test failures in CI. 2021-06-02 18:28:05 +01:00
mike12345567 781bd7bab6 Fixing internal table issues and updating createTable cypress test case. 2021-06-02 12:32:07 +01:00
mike12345567 c8e08f293a Re-working conditional logic to work better in cypress. 2021-06-01 14:29:25 +01:00
mike12345567 62ec2f2cc0 Formatting. 2021-05-25 18:08:34 +01:00
mike12345567 8e8223e3bb Fixing create user test case, fixed part of create table and made a start on create components. 2021-05-25 18:06:56 +01:00
mike12345567 1631aa698b Updating binding tests. 2021-05-25 16:52:35 +01:00
mike12345567 069de1fdb1 Updating Automation cypress tests, now functional. 2021-05-25 15:57:38 +01:00
mike12345567 1146d508fd Fixing app cypress test cases. 2021-05-25 13:25:42 +01:00
mike12345567 921eb39227 Fixing the creation of user in cypress. 2021-05-25 11:06:50 +01:00
mike12345567 55aba6b824 Changing cypress commands. 2021-05-24 16:32:42 +01:00
mike12345567 85102fab4e Changing how connection is waited for. 2021-05-24 16:31:50 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston 9c903feed0 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
Andrew Kingston a1c01bb905 Update other cypress helpers to work with spectrum 2021-04-28 15:08:43 +01:00
Andrew Kingston e7089a26cd Update cpyress tests so create and delete app helpers work again 2021-04-28 14:56:31 +01:00
mike12345567 89fef34401 Updating cypress tests to work with the new user ID system. 2021-04-21 11:33:12 +01:00
Martin McKeaveney 201b26059c account for empty user id in automations 2021-04-15 21:34:03 +01:00
Martin McKeaveney 508730db6b lint 2021-04-15 18:34:49 +01:00