Commit Graph

249 Commits

Author SHA1 Message Date
Mitch-Budibase 2636dd67e5 Merge pull request #3024 from Budibase/cypress-testing
New Tests & Command
2021-10-21 15:30:58 +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 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
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 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 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
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
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
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
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 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 508730db6b lint 2021-04-15 18:34:49 +01:00
Martin McKeaveney 4c20427c33 login step configured correctly 2021-04-15 18:29:11 +01:00
Martin McKeaveney 015bb72daf lint 2021-04-15 17:46:47 +01:00
Martin McKeaveney fdfb9dafb2 fix cypress tests, only login if cookie not present 2021-04-15 17:36:58 +01:00
mike12345567 68c113225e Linting. 2021-04-15 13:23:42 +01:00
Martin McKeaveney 52920beb78 login command - need to run worker in cypress env 2021-04-15 12:14:50 +01:00
mike12345567 6c58c90a7a Adding some controls around cookies, expiring them when a 403 is hit. 2021-04-14 15:43:34 +01:00
mike12345567 0c974a70eb Adding a wait for authentication in cypress tests.# 2021-04-07 20:19:25 +01:00
Andrew Kingston 359e628156 Fix cypress tests not deleting old apps 2021-04-07 15:08:59 +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 3a8e753eae increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston 86667bfa0f Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Andrew Kingston 9f838e098f Add cypress test for deleting a component 2021-03-08 11:57:56 +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
Andrew Kingston 2da376df19 Fix cypress tests 2020-12-14 13:33:34 +00:00
Andrew Kingston 77f049d1bd Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 13:16:53 +00:00
Martin McKeaveney 39473cb029 merge 2020-12-07 21:20:35 +00:00
mike12345567 74f5197865 Merge branch 'username-email' of github.com:Budibase/budibase into feature/security-update 2020-12-07 18:08:20 +00:00
Martin McKeaveney f05d696ef7 email as default user identifier 2020-12-04 12:22:45 +00:00
mike12345567 05225f7787 Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
Martin McKeaveney a72d772f44 fix user test 2020-11-27 13:17:31 +00:00
Martin McKeaveney 417002beaa fix e2e 2020-11-20 11:41:17 +00:00
Michael Drury 871e9b123e Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
Andrew Kingston 3a9f6b8337 Lint 2020-10-28 17:40:14 +00:00
Andrew Kingston 1a8da28c09 Merge ag-grid backend UI and update styles 2020-10-28 15:20:56 +00:00
Andrew Kingston add4162000 Format with prettier 2020-10-27 15:28:13 +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 dc08fc13d2 ag grid updates 2020-10-21 13:42:26 +01:00
Andrew Kingston fcd3257044 Fix cypress tests 2020-10-17 19:07:12 +01:00
Andrew Kingston 97c1f77c88 Fix cypress tests 2020-10-15 08:17:26 +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 fbb7bf7413 Fixing cypress tests 2020-10-08 11:36:16 +01:00
Andrew Kingston 97e9883d85 Fix table cypress tests 2020-10-07 11:23:47 +01:00
Andrew Kingston 50e8159644 Fix more cypress tests 2020-10-05 12:37:03 +01:00
Andrew Kingston a23967364b Fix cypress texts and update use of modal 2020-10-05 11:13:09 +01:00
Victoria Sloan a5ce771de8 cypress test fixed 2020-09-05 00:03:08 +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
Michael Shanks 1b6131135b fixed cypress tests 2020-08-18 21:43:13 +01:00
Martin McKeaveney 6405e79f15 tidy up + lint 2020-08-11 11:23:07 +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 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 ff3e922e22 Cypress Tests - Use Get Timeouts 2020-06-24 16:58:30 +01:00
Conor_Mack df5a9ee87a Lint fixes 2020-06-24 16:20:58 +01:00
Conor_Mack 306c733094 Cypress Tests and Discussion Resolves 2020-06-24 16:16:06 +01:00
Michael Shanks a1df978b80 cypress - retain "builder:token" cookie between tests 2020-06-22 10:53:17 +01:00
kevmodrome 7a65da7899 fix linting errors 2020-06-11 18:14:28 +02: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 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 48c604d0d0 feat: adds cypress to the builder 2020-06-09 13:52:00 +02:00