Commit Graph

331 Commits

Author SHA1 Message Date
Peter Clement 672cf93b50 Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +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 e91a8a175e fix broken automation test 2021-11-22 09:43:57 +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
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
Martin McKeaveney 0a0a338b83 fix renaming an app 2021-11-10 14:57:46 +01:00
mike12345567 d29370cf34 Removing failing cypress tests to pass CI again. 2021-10-22 17:47:32 +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 e15d0f117c Update to renameAnApplication
Removing a log that I had i place for val
2021-10-21 15:30:19 +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 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 2d90abecde Updating customThemingProperties
Primary color is now accent color - updating test to reflect this
2021-10-11 14:51:24 +01:00
Mitch-Budibase ce64923813 Some changes for addMultiOptionDatatype 2021-10-08 11:45:54 +01:00
Mitch-Budibase 2ee4c13826
Merge branch 'develop' into cypress-testing 2021-10-07 14:01:22 +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
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
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
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 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
Andrew Kingston 322ea442d8 Fix cypress test 2021-07-05 17:37:38 +01:00
Andrew Kingston ba4a616982 Fix cypress test 2021-06-11 13:11:17 +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 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 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 046850b4d6 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney 191c085f17 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
Martin McKeaveney fe6d31d880 login command - need to run worker in cypress env 2021-04-15 12:14:50 +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
Andrew Kingston 23641a5d56 Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Andrew Kingston 543b5bb3fd Update cypress tests 2021-03-23 13:31:56 +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 c3df071fc0 fix cypress tests 2021-02-06 22:41:27 +00:00
Martin McKeaveney f6cdb9399e force click 2021-02-06 21:32:17 +00:00
mike12345567 68f68c1e26 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 8980895dac lint 2020-12-04 14:46:21 +00:00
Martin McKeaveney f38e701d38 fix tests 2020-11-27 14:36:36 +00:00
Martin McKeaveney 1014437d42 fix user test 2020-11-27 13:17:31 +00:00
Martin McKeaveney 61a9d954e5 fix users test, remove superfluous files 2020-11-25 15:30:10 +00:00
Martin McKeaveney 42d8a94f9a fix e2e 2020-11-20 11:41:17 +00:00
Andrew Kingston c59d1a0600 Rename deletion modal titles and fixing cypress tests 2020-10-28 16:05:19 +00:00
Andrew Kingston 9c1515267a Merge ag-grid backend UI and update styles 2020-10-28 15:20:56 +00:00
Martin McKeaveney 35db8ca7e0 finally reached the summit of the cypress mountain 2020-10-28 09:50:05 +00:00
Martin McKeaveney a02a7ae9b9 cypress green 2020-10-27 22:06:51 +00:00
Martin McKeaveney 454962ad02 fix cypress table creation tests 2020-10-27 16:01:27 +00:00
Andrew Kingston 891cdf3e63 Fix cypress tests 2020-10-27 15:26:07 +00:00
Martin McKeaveney e4a3bb75dc cypress test fixes 2020-10-26 21:43:04 +00:00
Martin McKeaveney df773b3ed2 fixing cypress tests 2020-10-15 22:21:08 +01:00
Andrew Kingston b81dac0a11 Fix cypress tests 2020-10-15 08:17:26 +01:00
Martin McKeaveney e95af51cde simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
mike12345567 31b744e2d5 Updating test cases. 2020-10-13 11:19:34 +01:00
mike12345567 d90c1e3dd3 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 bb3370e742 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 6c3aeac69a Fix table cypress tests 2020-10-07 11:23:47 +01:00
Andrew Kingston aa96388e0b Fix cypress automation tests 2020-10-07 11:18:46 +01:00
Andrew Kingston fd02f361f1 Merge branch 'master' of github.com:Budibase/budibase into linked-records 2020-10-07 10:45:26 +01:00
Michael Shanks d9e53143d8 merge conflicts - from master 2020-10-06 21:43:54 +01:00
Martin McKeaveney 8ce69efa7e fixing test 2020-10-06 20:18:05 +01:00
Michael Shanks ca978b70c8 Merge branch 'master' into fixes 2020-10-05 21:17:01 +01:00
Michael Shanks bf6ba34f20 broken test 2020-10-05 21:15:10 +01:00
Andrew Kingston 70b70252ec Fix cypress texts and update use of modal 2020-10-05 11:13:09 +01:00
mike12345567 6922c1e090 Fixing cypress test broken by automation fixes. 2020-10-02 17:15:57 +01:00
Andrew Kingston 24e316f03d Fix cypress test 2020-09-25 13:12:16 +01:00
mike12345567 88d22baf1a Renaming workflows -> automate/automations, throughout the API and the builder itself. 2020-09-21 13:49:34 +01:00
Andrew Kingston 68c84438da Fix part of workflow cypress tests 2020-09-18 16:13:42 +01:00
Andrew Kingston 8befaee4d0 Fix cypress test for create workflow 2020-09-14 13:29:32 +01:00
Conor Mack e4dd6fd137 Cypress Test Fix - createView.spec.js 2020-09-04 10:53:13 +01:00
Martin McKeaveney 7c27957b1b
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 1a01edbacc
wip: cypress tests 2020-09-03 09:45:58 +02:00
kevmodrome d870ccaf6c
wip: cypress fix 2020-09-01 11:16:41 +02:00
kevmodrome 91adebe93d
Merge branch 'feature/binding-interface' of github.com:Budibase/budibase into feature/binding-interface 2020-08-28 13:58:39 +02:00
kevmodrome c37cec28d9
Merge branch 'master' into feature/binding-interface 2020-08-28 13:57:46 +02:00
Martin McKeaveney c891c71c4f remove superfluous var 2020-08-24 16:05:12 +01:00
Martin McKeaveney 1d56d9a2ce cypress tests, lint, feature complete 2020-08-24 15:48:34 +01:00
Martin McKeaveney 066e32ad35 fix cypress test 2020-08-21 10:11:17 +01:00
Martin McKeaveney 10635075a5 full cypress suite for custom views 2020-08-19 16:43:04 +01:00
Martin McKeaveney 2a04147c4b full cypress suite for new backend 2020-08-10 17:51:30 +01:00
Martin McKeaveney 6a315767b2 cypress + unit test framework 2020-08-10 15:34:37 +01:00
Martin McKeaveney de93c0f530 new table creation 2020-08-07 18:31:40 +01:00
Martin McKeaveney bbcb282e53
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 fcff2d928a Cypress Tests and Discussion Resolves 2020-06-24 16:16:06 +01:00
kevmodrome b7003e9a18 remove cookies set up in each test and rely on cookie default added before 2020-06-22 16:39:28 +02:00
Michael Shanks 243948bc93 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 40dfde522b make tests less brittle 2020-06-11 17:10:26 +02:00
kevmodrome 5140069ed6 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 0ab7b99f41 update names for tests 2020-06-11 13:20:13 +02:00
kevmodrome b473604bc4 adds tests to add components and change props on them 2020-06-11 12:56:16 +02:00
kevmodrome 202abaa13e rework tests to use commands for DRYness 2020-06-11 12:04:31 +02:00
kevmodrome 0c20d328ae add tests to create model and record 2020-06-09 15:40:14 +02:00
kevmodrome e4fded7114 update create app test 2020-06-09 15:40:00 +02:00
kevmodrome b9e8319670 adds test for creating budibase app 2020-06-09 13:52:19 +02:00