Commit Graph

302 Commits

Author SHA1 Message Date
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 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
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
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
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 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 eec02321f5 fix cypress tests 2021-11-26 11:42:37 +01: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 1da1331b3a Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +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 8581c06721 fix broken automation test 2021-11-22 09:43:57 +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
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
Martin McKeaveney 91a9e78e92 fix renaming an app 2021-11-10 14:57:46 +01:00
mike12345567 0266e0586f Removing failing cypress tests to pass CI again. 2021-10-22 17:47:32 +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 c81bf77ddd Update to renameAnApplication
Removing a log that I had i place for val
2021-10-21 15:30:19 +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 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 5b98ca0197 Updating customThemingProperties
Primary color is now accent color - updating test to reflect this
2021-10-11 14:51:24 +01:00
Mitch-Budibase d6818acfcf Some changes for addMultiOptionDatatype 2021-10-08 11:45:54 +01:00
Mitch-Budibase a590cb836f Merge branch 'develop' into cypress-testing 2021-10-07 14:01:22 +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
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
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
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 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
Andrew Kingston 03c4f0fc24 Fix cypress test 2021-07-05 17:37:38 +01:00
Andrew Kingston 2d3bc1312e Fix cypress test 2021-06-11 13:11:17 +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 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 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 4c20427c33 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney fdfb9dafb2 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
Martin McKeaveney 52920beb78 login command - need to run worker in cypress env 2021-04-15 12:14:50 +01:00
Andrew Kingston 0ac0f2f742 Format tests 2021-04-07 13:46:26 +01:00
Andrew Kingston 1c8de5d52d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Keviin Åberg Kultalahti 9277a40b37 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti 84bb7245fc adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti a7934ecfd0 bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
Keviin Åberg Kultalahti 3c2f182b03 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Keviin Åberg Kultalahti 50da4159e1 fixes views store 2021-04-01 11:53:22 +02:00
Andrew Kingston 86667bfa0f Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Andrew Kingston 14a4545874 Update cypress tests 2021-03-23 13:31:56 +00:00
Andrew Kingston 9f838e098f Add cypress test for deleting a component 2021-03-08 11:57:56 +00:00
Andrew Kingston 043f6c9275 Add tests for handlebars helper and fix curly brackets used in binding test 2021-03-08 11:25:24 +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 b9760c6dbc Add cypress tests for data bindings and component creation 2021-03-05 13:52:26 +00:00
Martin McKeaveney 71778c0dc1 Merge pull request #1163 from Budibase/develop
Develop
2021-02-23 15:35:39 +00:00
Andrew Kingston 57ea02de87 Fix cypress test 2021-02-23 14:28:05 +00:00
Martin McKeaveney f16ec615aa 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 aa449e4729 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 91926d17d9 Adding delay to cypress test to allow time for statistics to calculate. 2021-02-16 22:12:58 +00:00
mike12345567 6d519e1ad9 Updating cypress test to fix in CI. 2021-02-16 21:40:35 +00:00
mike12345567 a63ebd1a9c Fixing another cypress test. 2021-02-16 18:47:05 +00:00
Martin McKeaveney 4fcacc5f1f fix cypress tests 2021-02-06 22:41:27 +00:00
Martin McKeaveney e8db576002 force click 2021-02-06 21:32:17 +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 15279f2c41 lint 2020-12-04 14:46:21 +00:00
Martin McKeaveney eae0ed5468 fix tests 2020-11-27 14:36:36 +00:00
Martin McKeaveney a72d772f44 fix user test 2020-11-27 13:17:31 +00:00
Martin McKeaveney ce4bf552f1 fix users test, remove superfluous files 2020-11-25 15:30:10 +00:00
Martin McKeaveney 417002beaa fix e2e 2020-11-20 11:41:17 +00:00
Andrew Kingston 1e41461a90 Rename deletion modal titles and fixing cypress tests 2020-10-28 16:05:19 +00:00
Andrew Kingston 1a8da28c09 Merge ag-grid backend UI and update styles 2020-10-28 15:20:56 +00:00
Martin McKeaveney a3e813f67e finally reached the summit of the cypress mountain 2020-10-28 09:50:05 +00:00
Martin McKeaveney e56259a4c1 cypress green 2020-10-27 22:06:51 +00:00
Martin McKeaveney 3e7a5e112a fix cypress table creation tests 2020-10-27 16:01:27 +00:00
Andrew Kingston a93757a8d9 Fix cypress tests 2020-10-27 15:26:07 +00:00
Martin McKeaveney e025609539 cypress test fixes 2020-10-26 21:43:04 +00:00
Martin McKeaveney c1b9526e0e fixing cypress tests 2020-10-15 22:21:08 +01:00
Andrew Kingston 97c1f77c88 Fix cypress tests 2020-10-15 08:17:26 +01:00
Martin McKeaveney cb5c09d439 simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
mike12345567 76742d527a Updating test cases. 2020-10-13 11:19:34 +01:00
mike12345567 5d49d529e3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567 fdaa69ee7f Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
Andrew Kingston 97e9883d85 Fix table cypress tests 2020-10-07 11:23:47 +01:00
Andrew Kingston 7c67f18965 Fix cypress automation tests 2020-10-07 11:18:46 +01:00
Andrew Kingston 3dc30262d7 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
Michael Shanks 210062cbac merge conflicts - from master 2020-10-06 21:43:54 +01:00
Martin McKeaveney e40cb3ac69 fixing test 2020-10-06 20:18:05 +01:00
Michael Shanks a28a327da7 Merge branch 'master' into fixes 2020-10-05 21:17:01 +01:00
Michael Shanks b51942f0f8 broken test 2020-10-05 21:15:10 +01:00
Andrew Kingston a23967364b Fix cypress texts and update use of modal 2020-10-05 11:13:09 +01:00
mike12345567 5ac0b5f7c8 Fixing cypress test broken by automation fixes. 2020-10-02 17:15:57 +01:00
Andrew Kingston d0806b2924 Fix cypress test 2020-09-25 13:12:16 +01:00
mike12345567 5f064ade9d Renaming workflows -> automate/automations, throughout the API and the builder itself. 2020-09-21 13:49:34 +01:00
Andrew Kingston f906ce0a83 Fix part of workflow cypress tests 2020-09-18 16:13:42 +01:00
Andrew Kingston 62d37254ea Fix cypress test for create workflow 2020-09-14 13:29:32 +01:00
Conor Mack 93dac03eaf Cypress Test Fix - createView.spec.js 2020-09-04 10:53:13 +01:00
Martin McKeaveney 98c66c4bab Workflow fixes (#559)
* workflow fixes

* fixes for workflow - cypress test coverage

* remove log

* adding some assertions to slow test down

* force click create user

* cypress 5, small wait for user test

* remove cypress waiting eslint rule to fix user test

* click button directly

* test clicking

* try changing access level for validity

* lint
2020-09-03 12:02:15 +01:00
kevmodrome 68dfb678e1 wip: cypress tests 2020-09-03 09:45:58 +02:00
kevmodrome 40e6d51d24 wip: cypress fix 2020-09-01 11:16:41 +02:00
kevmodrome fc4afbbacb Merge branch 'feature/binding-interface' of github.com:Budibase/budibase into feature/binding-interface 2020-08-28 13:58:39 +02:00
kevmodrome 1270f10993 Merge branch 'master' into feature/binding-interface 2020-08-28 13:57:46 +02:00
Martin McKeaveney 401a2beec2 remove superfluous var 2020-08-24 16:05:12 +01:00
Martin McKeaveney b03eb8ce60 cypress tests, lint, feature complete 2020-08-24 15:48:34 +01:00
Martin McKeaveney 6a22708bda fix cypress test 2020-08-21 10:11:17 +01:00
Martin McKeaveney 80970ba035 full cypress suite for custom views 2020-08-19 16:43:04 +01:00
Martin McKeaveney a8251cdb22 full cypress suite for new backend 2020-08-10 17:51:30 +01:00
Martin McKeaveney cf084f2877 cypress + unit test framework 2020-08-10 15:34:37 +01:00
Martin McKeaveney cfe262d602 new table creation 2020-08-07 18:31:40 +01: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
Conor_Mack 306c733094 Cypress Tests and Discussion Resolves 2020-06-24 16:16:06 +01:00
kevmodrome 9670a0cb5c remove cookies set up in each test and rely on cookie default added before 2020-06-22 16:39:28 +02:00
Michael Shanks a29f821802 cypress - changed background test to font-size
(so i dont have to figure out how to test the colour picker)
2020-06-22 11:29:34 +01:00
kevmodrome f5e3df09d6 make tests less brittle 2020-06-11 17:10:26 +02:00
kevmodrome 7cf81c063a adds some data-cy properties to a number of elements and starts work on workflow tests 2020-06-11 16:40:07 +02:00
kevmodrome b35fbe823c update names for tests 2020-06-11 13:20:13 +02:00
kevmodrome 59aaf33278 adds tests to add components and change props on them 2020-06-11 12:56:16 +02:00
kevmodrome 3ee5111d6f rework tests to use commands for DRYness 2020-06-11 12:04:31 +02:00
kevmodrome 8e685d07c1 add tests to create model and record 2020-06-09 15:40:14 +02:00
kevmodrome 5e1210723c update create app test 2020-06-09 15:40:00 +02:00
kevmodrome 0c9baf92f8 adds test for creating budibase app 2020-06-09 13:52:19 +02:00