1
0
Fork 0
mirror of synced 2024-06-30 12:00:31 +12:00
Commit graph

356 commits

Author SHA1 Message Date
Dean f8f311f924 Test updates for screen creation 2022-04-08 09:56:20 +01:00
Dean 09defee462 Formatting for command 2022-04-07 12:23:19 +01:00
Dean 73a7fdabaa Minor test updates and formatting 2022-04-07 12:22:16 +01:00
Mitch-Budibase 80e94d13d9 lint 2022-04-01 14:41:45 +01:00
Mitch-Budibase db0b6f8441 Changing test structure when searching for applications
Search functionality is not available when only 1 app exists - Updating to reflect this
2022-04-01 14:37:11 +01:00
Mitch-Budibase 9ffd278d80 Changes to renameAnApplication & createUserAndRoles
renameAnApplication - changing the navigation to a direct URL rather than clicking the home logo button
createUserAndRoles - Removing the After action (now supports correct flow of tests)
2022-04-01 13:15:06 +01:00
Mitch-Budibase 5525859ba7 Adding and increasing wait times surrounding renameAnApplication.spec.js
Passes locally but looks like a timing issue when run against the CI.

Adding and increasing wait times to hopefully combat this. I will extend further if unsuccessful
2022-04-01 12:05:31 +01:00
Mitch-Budibase 69d6dbc23a Updating tests to work with test Env
I've made some changes to the tests and commands file to allow for the tests to run within the Test env after the latest round of UI changes.

Some of these changes also allow for testing instances in which apps already exist - This is specific for the test env, the CI runs always have a clean instance
2022-04-01 11:31:18 +01:00
Mitch-Budibase 01569c940e Moving assign/unassign user role type tests to test env only
The assign roles test seems to be quite flakey.

I am moving it and the unassign roles test to only run in the test environment while i isolate and fix the issue
2022-03-29 18:32:36 +01:00
Dean 2efd7d909c Replaced the expected string in the data rest test spec to the original 2022-03-29 10:38:56 +01:00
Dean 6164b4d574 Cypress test fixes and refactoring around the create app workflows 2022-03-28 23:21:38 +01:00
Andrew Kingston 5d30c291bb Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-15 11:33:27 +00:00
Mitch-Budibase f5b0ebeec1 Updating REST Test
A bit of a change of structure for how the test runs
-Also adding a wait as the test seems to be timing out on occasion
2022-03-10 13:46:30 +00:00
Andrew Kingston e4b2884ca7 Update cypress tests for different button casing 2022-03-08 08:46:07 +00:00
Peter Clement c630a18946
Merge pull request #4390 from Budibase/feature/automation-data-types
Adding ability to toggle between Automation input types.
2022-03-01 14:00:21 +00:00
Mitch-Budibase 92eb199c86
Merge pull request #4751 from Budibase/cypress-testing
Changes for Table test - Commands.js
2022-03-01 12:15:44 +00:00
Peter Clement 9931deceba
Merge pull request #4638 from Budibase/feature/table-row-selection
Allow selection of rows from table component
2022-03-01 12:03:24 +00:00
Peter Clement b6ed6fe90f fix automation 2022-03-01 11:58:20 +00:00
Mitch-Budibase 4906dc6337 Changes for Table test - Commands.js
Seems like a potential timing issue for the Create Table test

Specifically:
-The datasource modal looks to be sometimes delayed when appearing after app creation
--increasing wait time for after app creation
--Reducing wait within the createTable command
--Updating specific ID to use 'data-cy'
--Updating another ID for the data source modal

I am unable to reproduce this potential issue locally, so making changes in hopes the CI picks it up (if the timing issue still exists)
2022-03-01 11:49:40 +00:00
Peter Clement 32ac53a004 fix cypress, maybe? 2022-03-01 11:39:48 +00:00
Andrew Kingston 02c688539a Pls cypress 2022-02-25 16:24:36 +00:00
Andrew Kingston 63e64f0da1 Try to fix cypress tests again 2022-02-25 13:40:23 +00:00
Rory Powell f37a4eef8c Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-25 08:22:21 +00:00
Andrew Kingston 3f84c51c81 Try to fix cypress tests 2022-02-23 13:53:15 +00:00
Andrew Kingston b6f90f7fe3 Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-23 13:25:48 +00:00
Andrew Kingston fa6cf0c101 Try to fix cypress tests 2022-02-23 13:14:28 +00:00
Mitch-Budibase 89f29b00c0 Increasing wait times for Assign User Roles test
Assign Roles test within createUserAndRoles is failing on CI.

It is not failing locally for me so i suspect a timing issue
2022-02-23 12:32:16 +00:00
Rory Powell 51d742b302 Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-22 11:27:26 +00:00
Rory Powell a1e2bd86c6 Prevent local port conflicts between account portal and cypress 2022-02-22 11:20:58 +00:00
Mitch-Budibase 05b7e3c5aa 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 688a770b59 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 e3b1e0915c
Merge branch 'develop' into cypress-testing 2022-02-17 14:22:21 +00:00
Mitch-Budibase d87d5f2fed 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 9144fdef6e merge with develop 2022-02-10 11:39:15 +01:00
Mitch-Budibase 268a6c9e09 Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-02-09 14:17:17 +00:00
Mitch-Budibase fffe369781 Stripping out another test spec file
Temporary removal of radio buttons tests
2022-02-09 14:17:03 +00:00
Mitch-Budibase 0e0e4bb065
Merge branch 'develop' into cypress-testing 2022-02-09 13:53:17 +00:00
Mitch-Budibase 39ebebcb3c 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 b3b982fa8f Making sure worker runs through ts-node in cypress, locally, then built in CI. 2022-02-01 16:02:44 +00:00
mike12345567 53aabb4d05 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-02-01 14:33:02 +00:00
Martin McKeaveney 394eb44b5f merge 2022-02-01 11:22:14 +01:00
Maurits Lourens 75ef92d645 build app before running e2e tests 2022-01-31 23:13:42 +01:00
Martin McKeaveney 430fb29e17 point to MinIO instance instead of through proxy 2022-01-30 21:25:56 +01:00
Martin McKeaveney d749c4bd34 nginx prod config, security headers and content-security policies 2022-01-30 21:11:59 +01:00
mike12345567 4b1331450c Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
Mitch-Budibase b5a9329695 AutoScreens Test update
increasing wait time for createAutogeneratedScreens command
-associated with auto screens tests
2022-01-21 18:40:32 +00:00
Mitch-Budibase 85003f5b9c 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 220ee31b02 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 a49c2d2200 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 863abdb4b3 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 0990a1df2f Merge branch 'cypress-testing' of github.com:Budibase/budibase into cypress-testing 2022-01-21 13:37:25 +00:00
Mitch-Budibase 9fe8a8c687 lint changes 2022-01-21 13:12:16 +00:00
Mitch-Budibase 7e834f3aa5 Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-21 12:56:33 +00:00
Mitch-Budibase 0abcff774b Adding tags to tests
Currently there is 'smoke' and 'all' tags
2022-01-21 12:43:27 +00:00
Peter Clement c5ea321f25 fix cypress createApp command 2022-01-20 11:51:41 +00:00
Peter Clement 220adba4c1 Merge remote-tracking branch 'origin/develop' into fix/template-row-limit 2022-01-20 09:53:39 +00:00
Peter Clement a3519ac1aa fix cypress 2022-01-20 09:44:40 +00:00
Martin McKeaveney 39a5f297d2 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-01-19 16:19:42 +01:00
Martin McKeaveney 701298d0de revert new cypress tests 2022-01-19 16:19:02 +01:00
Martin McKeaveney d953e12ec7
Revert "Small changes associated with the smoke build" 2022-01-19 16:10:22 +01:00
Martin McKeaveney da148952e7 fix lint 2022-01-19 12:42:11 +01:00
Mitch-Budibase eaf9ecf2ee 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 18cb272f0e lint changes 2022-01-18 16:20:54 +00:00
Mitch-Budibase dbdb2750b4 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 4c216b12fa Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-18 16:02:49 +00:00
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