Commit Graph

341 Commits

Author SHA1 Message Date
Mitch-Budibase 8f0123b286 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 a439ac24e2
Merge branch 'develop' into cypress-testing 2021-12-24 10:55:57 +00:00
Mitch-Budibase 0121f80964 Adding new lines to bottom of files and other minor changes 2021-12-24 10:49:47 +00:00
Mitch-Budibase a851a60164 Adding new lines to bottom of files 2021-12-24 10:40:57 +00:00
Mitch-Budibase daca40850c 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 5da5acc27b
Merge pull request #3737 from Budibase/feature/home-screen-redesign
Home Screen Redesign
2021-12-15 09:47:03 +00:00
Peter Clement a24c1e626d fix home screen automation commands 2021-12-09 11:52:47 +00:00
Martin McKeaveney cd5d4a5df4 updating cypress test to cover automation creation 2021-12-08 11:32:28 +00:00
Martin McKeaveney 00f493b003
Merge pull request #3543 from Budibase/martin/misc-tasks
Martin/misc tasks
2021-11-26 11:58:40 +01:00
Martin McKeaveney 84f0081fc6 fix cypress tests 2021-11-26 11:42:37 +01:00
Peter Clement 5c3e05c2d4
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 7831ce223a update cypress to account for no default screen 2021-11-25 21:48:07 +00:00
Andrew Kingston 059d33caf3
Merge pull request #3476 from Budibase/multi-filter-component
Dynamic filter component
2021-11-24 08:39:28 +00:00
Peter Clement 70c522a06a
Merge pull request #3441 from Budibase/fix/pc-generic-fixes
Save automation test data
2021-11-23 20:07:19 +00:00
Peter Clement e996d4cc9d
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 672cf93b50 Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +00:00
Peter Clement 1b69fb8349 fixng some auto screen bugs 2021-11-23 09:39:40 +00:00
Andrew Kingston 1e360d6873 Fix cypress tests 2021-11-22 16:29:03 +00:00
Andrew Kingston 5cf682e1f0 Update cypress tests to account for component restructuring 2021-11-22 15:26:41 +00:00
mike12345567 72bf66926d 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 8d93a89b1d
Merge pull request #3334 from Budibase/feature/auto-screen-ui
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Peter Clement e91a8a175e fix broken automation test 2021-11-22 09:43:57 +00:00
Mitch-Budibase 10c5bb2c93 Merge branch 'develop' into cypress-testing 2021-11-18 13:51:30 +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
mike12345567 8d56fe1339 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 543fb1dcc6 Update commands.js
A few formatting based changes for this file
2021-11-15 15:40:48 +00:00
Mitch-Budibase 9f598ef56c Merge branch 'develop' into cypress-testing 2021-11-15 15:28:38 +00:00
Mitch-Budibase 6b676cd10c 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 8ad1906865 fix cypress tests 2021-11-15 11:04:22 +00:00
Martin McKeaveney 0a0a338b83 fix renaming an app 2021-11-10 14:57:46 +01:00
Martin McKeaveney 88c1b16ec2 adding cypress tag to input 2021-11-10 14:08:34 +01:00
Martin McKeaveney a8066909df fix cypress tests 2021-11-10 13:04:59 +01:00
Martin McKeaveney 753d2f51bc updating delete app cypress command 2021-11-09 18:35:19 +01:00
mike12345567 d29370cf34 Removing failing cypress tests to pass CI again. 2021-10-22 17:47:32 +01:00
Mitch-Budibase 084fe0fb16
Merge pull request #3108 from Budibase/cypress-testing
Editing customThemingProperties to run all tests
2021-10-21 18:51:07 +01:00
Mitch-Budibase 543113cab0 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 24d837f3d3
Merge pull request #3024 from Budibase/cypress-testing
New Tests & Command
2021-10-21 15:30:58 +01:00
Mitch-Budibase e15d0f117c Update to renameAnApplication
Removing a log that I had i place for val
2021-10-21 15:30:19 +01:00
mike12345567 c57908f14d Fixing test case issue, Cypress not consistently opening app creation modal. 2021-10-19 16:14:34 +01:00
Mitch-Budibase 54618e6072 Merge branch 'develop' into cypress-testing 2021-10-15 17:36:18 +01:00
Mitch-Budibase 02ed5343a2 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 eeda7322d0 remove unused command 2021-10-14 16:59:22 +01:00
Peter Clement 259ca7f4cd Don't show the create datasource popup in dev environments 2021-10-14 16:45:27 +01:00
Peter Clement e8542a6d0e fix cypress 2021-10-13 14:12:31 +01:00
Rory Powell a4a5cddc1a Cypress fix: 'RoverUpdated' -> 'Updated' in createTable.spec.js 2021-10-12 13:02:08 +01:00
Mitch-Budibase a928571b99 Merge branch 'develop' into cypress-testing 2021-10-11 14:51:33 +01:00
Mitch-Budibase 2d90abecde Updating customThemingProperties
Primary color is now accent color - updating test to reflect this
2021-10-11 14:51:24 +01:00
Peter Clement 47adf12a4a fix lint 2021-10-11 11:33:54 +01:00
Mitch-Budibase ce64923813 Some changes for addMultiOptionDatatype 2021-10-08 11:45:54 +01:00
Mitch-Budibase 58a40be2e5 Update commands.js 2021-10-08 10:56:44 +01:00
Mitch-Budibase 2ee4c13826
Merge branch 'develop' into cypress-testing 2021-10-07 14:01:22 +01:00
Martin McKeaveney f8b76a4860 use start from scratch instead of create app button 2021-10-06 14:35:00 +01:00
Andrew Kingston c4af022c84 Be more explicit with testing table deletion to avoid random failures due to ordering 2021-10-01 13:58:15 +01:00
Andrew Kingston d5b4dee531 Add slight delay to make views tests pass 2021-10-01 12:48:16 +01:00
Martin McKeaveney 2f491f3b6f
Merge branch 'develop' into dnd 2021-09-30 14:56:23 +01:00
Mitch-Budibase 2516d9bdc0 Fixing env change that i missed in commands file 2021-09-30 14:09:37 +01:00
Mitch-Budibase 108b5b0969 changing worker-url 2021-09-30 14:00:26 +01:00
Mitch-Budibase ee9a1135ba 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 0b88a0a2f2 Merge branch 'develop' into cypress-testing 2021-09-30 13:38:48 +01:00
Peter Clement ebd26cb42e cypress fix???? 2021-09-29 11:27:58 +01:00
Peter Clement 7d1310d561 fix cypress tests again 2021-09-29 09:53:31 +01:00
Peter Clement 03d7ffc09c test cypress fix 2021-09-28 22:37:04 +01:00
Peter Clement 27850ab248 cypress tests... 2021-09-28 19:29:25 +01:00
Peter Clement fa4f0b07f4 update cypress tests to account for new modal 2021-09-28 12:26:38 +01:00
Mitch-Budibase 716dbe9c98 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 8defbd1ed2 Remove old and no longer needed component-id data tag applied by styleable helper 2021-09-20 12:20:34 +01:00
Andrew Kingston 119891077b Fix cypress tests due to renaming of 'Create new app' text 2021-09-16 16:53:55 +01:00
PClmnt 90eee7492b
Merge pull request #2610 from Budibase/feature/automation-redesign
Automation Redesign
2021-09-16 15:17:51 +01:00
Martin McKeaveney e3ebc48060
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 c318a1b3be fix tests by ensuring the budibase connection is expanded 2021-09-16 10:03:57 +02:00
Maurits Lourens c22afdaf0f fix tests 2021-09-15 18:16:22 +02:00
Peter Clement d9f2bd2caa update reactivity of test data modal 2021-09-15 16:55:17 +01:00
mike12345567 e94c629bab Adding concept of internal and external actions. 2021-09-14 12:40:19 +01:00
mike12345567 daef4c2d64 Fixing test cases, making it possible to still run automations via env variable. 2021-09-14 11:18:02 +01:00
Maurits Lourens 5d10d2660d
Fix test 2021-08-06 21:46:44 +02:00
Maurits Lourens 1d6c52ddfa 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 5efc80b859 fix lint issues 2021-07-28 10:19:10 +02:00
Maurits Lourens a17077b25a replace spaces with underscores in screen routes 2021-07-28 09:09:37 +02:00
Maurits Lourens 8c4333f4ca fix cypress test 2021-07-27 23:48:06 +02:00
Martin McKeaveney 742402f4c7 merge with master 2021-07-11 18:07:46 +01:00
Kyle Harrison b4afda7b09 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01:00
Andrew Kingston 322ea442d8 Fix cypress test 2021-07-05 17:37:38 +01:00
mike12345567 655c6ec381 Fixing cypress test linkup to built files. 2021-06-25 16:37:01 +01:00
mike12345567 fc9e48e8e7 Fixing authentication with API key issue. 2021-06-21 17:13:06 +01:00
Martin McKeaveney c61d499fc6 remove internal API key for cypress setup 2021-06-21 16:15:19 +01:00
mike12345567 d4df026318 Linting and adding internal_api_key to cypress. 2021-06-21 14:06:06 +01:00
mike12345567 a04c930c1e Fixing some issues with cypress tests and screens getting multipled. 2021-06-17 18:19:34 +01:00
Martin McKeaveney 449169f215 fix up datasources and server tests 2021-06-17 15:24:52 +01:00
Andrew Kingston ba4a616982 Fix cypress test 2021-06-11 13:11:17 +01:00
mike12345567 92dbfee839 Removing unused function. 2021-06-07 17:00:03 +01:00
mike12345567 d89155aec8 Fixing conditional issues. 2021-06-07 16:59:54 +01:00
mike12345567 ad1fe134dd Skipping component test case. 2021-06-07 15:46:09 +01:00
Martin McKeaveney 2b1b434aa8 createView test green 2021-06-02 22:38:04 +01:00
Martin McKeaveney 2fbb9cdad0 view 2021-06-02 19:21:55 +01:00
Martin McKeaveney fa2a1693ad view fixes 2021-06-02 19:20:28 +01:00
mike12345567 fa98299737 Some fixes after test failures in CI. 2021-06-02 18:28:05 +01:00
mike12345567 fa455e8eef Fixing internal table issues and updating createTable cypress test case. 2021-06-02 12:32:07 +01:00
mike12345567 24d58f0c7c Re-working conditional logic to work better in cypress. 2021-06-01 14:29:25 +01:00
mike12345567 87893856c2 Formatting. 2021-05-25 18:08:34 +01:00
mike12345567 e003fec3dc 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 e2c9c06f98 Updating binding tests. 2021-05-25 16:52:35 +01:00
mike12345567 9639a8ee5c Updating Automation cypress tests, now functional. 2021-05-25 15:57:38 +01:00
mike12345567 be7736afb7 Fixing app cypress test cases. 2021-05-25 13:25:42 +01:00
mike12345567 39545358f2 Fixing the creation of user in cypress. 2021-05-25 11:06:50 +01:00
mike12345567 4268ea8eb0 Changing cypress commands. 2021-05-24 16:32:42 +01:00
mike12345567 bd0f78e38e Changing how connection is waited for. 2021-05-24 16:31:50 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
Andrew Kingston 0caad1f582 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-28 15:53:07 +01:00
Andrew Kingston 14a9eebfa1 Update other cypress helpers to work with spectrum 2021-04-28 15:08:43 +01:00
Andrew Kingston 164c4b76c7 Update cpyress tests so create and delete app helpers work again 2021-04-28 14:56:31 +01:00
mike12345567 ebaf8c3a2f Updating cypress tests to work with the new user ID system. 2021-04-21 11:33:12 +01:00
Martin McKeaveney 4700b24793 account for empty user id in automations 2021-04-15 21:34:03 +01:00
Martin McKeaveney e2167c1d62 lint 2021-04-15 18:34:49 +01:00
Martin McKeaveney 046850b4d6 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney 7c92f9af32 lint 2021-04-15 17:46:47 +01:00
Martin McKeaveney 191c085f17 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
mike12345567 fb4e52baff Updating worker/server to run in cypress properly. 2021-04-15 16:25:48 +01:00
mike12345567 0d65aac9a4 Linting. 2021-04-15 13:23:42 +01:00
Martin McKeaveney fe6d31d880 login command - need to run worker in cypress env 2021-04-15 12:14:50 +01:00
mike12345567 e9767eabc5 Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
mike12345567 6d5b13632f Adding a wait for authentication in cypress tests.# 2021-04-07 20:19:25 +01:00
Andrew Kingston a9f50556d3 Fix cypress tests not deleting old apps 2021-04-07 15:08:59 +01:00
Andrew Kingston 99c8897500 Format tests 2021-04-07 13:46:26 +01:00
Andrew Kingston ecf15f9207 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Keviin Åberg Kultalahti d62c4bef95 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti 9c0186debb adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti f67a64e74b bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
Keviin Åberg Kultalahti 7c6fc51e80 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Keviin Åberg Kultalahti 92fde68965 fixes views store 2021-04-01 11:53:22 +02:00
Keviin Åberg Kultalahti adab566c9d increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston 23641a5d56 Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Andrew Kingston 9012df0b90 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
Martin McKeaveney bf7031467d cypress tests passing 2021-03-24 21:15:14 +00:00
Martin McKeaveney 679da60b1c make cypress use leveldb 2021-03-24 15:36:13 +00:00
Andrew Kingston 543b5bb3fd Update cypress tests 2021-03-23 13:31:56 +00:00
Martin McKeaveney afaa706e07 simplify try catch in manage script 2021-03-23 11:01:33 +00:00
Andrew Kingston 40beae659a Add cypress test for deleting a component 2021-03-08 11:57:56 +00:00
Andrew Kingston d9a5c08a87 Add tests for handlebars helper and fix curly brackets used in binding test 2021-03-08 11:25:24 +00: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
Martin McKeaveney 8db4b28a1a
Merge pull request #1163 from Budibase/develop
Develop
2021-02-23 15:35:39 +00:00
Andrew Kingston 2f78afac6d Fix cypress test 2021-02-23 14:28:05 +00:00
Martin McKeaveney ff795446b2
Merge pull request #1083 from Budibase/bug/4001-to-0-fix
Attempting to fix the 4001 bug - using ephemeral ports in production (builder)
2021-02-22 13:57:26 +00:00
mike12345567 24ed7db624 Updating cypress tests as well as changing the auto column icons a bit to improve the look. 2021-02-19 15:49:54 +00:00
mike12345567 1930957553 Adding delay to cypress test to allow time for statistics to calculate. 2021-02-16 22:12:58 +00:00
mike12345567 2849ccb4b9 Updating cypress test to fix in CI. 2021-02-16 21:40:35 +00:00
mike12345567 66139b2b99 Fixing another cypress test. 2021-02-16 18:47:05 +00:00
Martin McKeaveney fde5ef02ac user search 2021-02-08 22:29:26 +00:00
Martin McKeaveney c3df071fc0 fix cypress tests 2021-02-06 22:41:27 +00:00