Commit Graph

293 Commits

Author SHA1 Message Date
MihailHadzhiev2022 d6db7eb34b Merge branch 'develop' into cypressTests 2022-05-31 18:57:07 +03:00
MihailHadzhiev2022 d7012c664d refactoring autoScreensUI test 2022-05-31 18:39:05 +03:00
MihailHadzhiev2022 b44ae7b30b Small fixes 2022-05-31 17:01:11 +03:00
MihailHadzhiev2022 f6527ff489 Adding interact locators for createComponent cypress test 2022-05-30 15:45:04 +03:00
Dean 6114e37f19 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-24 17:09:15 +01:00
Martin McKeaveney 92ed60af54 Merge pull request #5786 from Budibase/feature/app-overview-section
Feature/app overview section
2022-05-24 15:16:17 +01:00
Dean 55817d301f Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-24 11:10:42 +01:00
Dean 663a4ee7c7 Expanding the focus behaviour to more component types in the builder. Minor fix for cypress test 2022-05-24 09:58:05 +01:00
MihailHadzhiev2022 87ee9499da adding interact locators for APP_Publish_WORK_FLOW 2022-05-23 11:36:54 +03:00
Dean c3c388b01a Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-20 09:09:50 +01:00
Mitch-Budibase 7c6f73388a Lead Generation Form Template Test + Refactor
New Lead Generation Form template test
- Verifies app creation
- Successful Publish
- Published app opens when button clicked

Refactor of template functionality specific tests
- Created a command to publish app and either click view or done button afterwards
- Refactored into some template tests
2022-05-19 15:51:42 +01:00
Mitch-Budibase 3947f30158 Merge branch 'develop' into cypress-testing 2022-05-19 15:24:36 +01:00
Mitch-Budibase d44ac03d38 Template Testing Refactor
Directly visiting the templates URL
2022-05-19 15:23:53 +01:00
Dean 939c014c0d Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-19 13:32:57 +01:00
Dean 8ca01d6bca Cypress test updates and back button update for the create screen 2022-05-19 13:32:05 +01:00
Mihail Hadzhiev 7ea03b547b Merge pull request #5974 from Budibase/cypressTests
adding locators for AddRadioButtons test
2022-05-19 12:03:21 +03:00
MihailHadzhiev2022 10310e6c1d adding locators for AddRadioButtons test 2022-05-18 16:29:22 +03:00
Dean 276707b59e Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-18 14:18:42 +01:00
Mihail Hadzhiev bda47204ce Merge pull request #5954 from Budibase/cypressTests
adding interact locators for AddMultiOptionDataType test
2022-05-18 15:10:18 +03:00
MihailHadzhiev2022 592a386066 adding interact locators for AddMultiOptionDataType test 2022-05-18 14:09:58 +03:00
Dean c77b026b53 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-17 16:54:32 +01:00
Mitch-Budibase 042327d4f8 Update createApp.spec.js
Adding some waits around deleting apps - Specific issue against the Smoke build
2022-05-17 15:13:10 +01:00
Dean 4c25248de8 Builder focus behaviour added to guide users when adding form elements. Refactored the component tests 2022-05-17 15:09:13 +01:00
Mitch-Budibase a4f3a90628 Update createUserAndRoles.spec.js
Updating the before hook to delete the test app before trying to create a new one
2022-05-17 13:32:29 +01:00
Mitch-Budibase 40b44035ea Smoke build test changes
createUserAndRoles.spec.js
- Timing issues with the test regarding the smoke build.
- Adding timeout values and reloading the page after role assignment

commands
- Adding a `clear()` to `createAppFromScratch` function.
- Previous test runs show that the placeholder value is being taken at times
2022-05-17 12:40:06 +01:00
Mitch-Budibase 92e6b40b81 Merge branch 'develop' into cypress-testing 2022-05-17 10:34:54 +01:00
Mitch-Budibase d79ccb62d5 IT Ticketing System Template Tests
Two tests for IT Ticketing System template
- Create and publish app
- Filter tickets by status (Skipped for now as functionality seems broken specifically for the CI run, looking into it...)

Commands
- Added new template navigation function
- Added this to appropriate template test files
2022-05-17 10:34:10 +01:00
MihailHadzhiev2022 a3d5213384 Update createApp.spec.js
resolve conflict
2022-05-17 11:02:24 +03:00
MihailHadzhiev2022 4926e77c72 adding locators
adding interact.js
adding locators
2022-05-16 15:32:04 +03:00
Mitch-Budibase d21ac62d01 Update postgresql.spec.js
Skipping test that attempts to add datasource without config
-Eventually times out with empty error message.

I will raise a bug for this. Skipping the test to keep the automation running
2022-05-12 15:25:22 +01:00
Mitch-Budibase d6bfb392df Skip createBinding test
Specifically the test for adding a URL param binding
- Issues with this test on against the CI (Works fine locally)
- Skipping for now while i investigate this further. Looks like some kind of timing issue for getting the url after a component has been added
2022-05-12 10:25:05 +01:00
Mitch-Budibase ce4a0270bc Update commands.js + createApp.spec.js
commands.js
- Increasing wait due to timing issue for specific test runs.
- Added `{ force: true }` to assist with adding components

createApp.spec.js
- Increasing wait due to timing issue for specific test runs
2022-05-11 21:13:57 +01:00
Dean 75535caef1 Cypress test fixes and a correction for the version update behaviour 2022-05-11 19:37:12 +01:00
Dean 4c3e8e44f4 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-11 09:07:30 +01:00
Dean d9524ba3b6 Cypress test fixes 2022-05-10 22:40:27 +01:00
Dean 43cd89a121 Cypress tests for the overview tab 2022-05-10 16:58:55 +01:00
Dean 7ec75361be Cypress test fixes 2022-05-09 18:00:04 +01:00
Mitch-Budibase 449ee80031 Skipping 2 Job Application Tracker tests
The tests are
- Filter application by stage
- Edit application

The template functionality seems to differ between test env, CI, etc. Skipping these tests for now while i debug, and leaving the passing tests in
2022-05-06 13:18:10 +01:00
Mitch-Budibase 214b7f2612 More Job Application Tracker Template Tests
Edit an application
- Change application from not hired to hired
- Confirm relative sections update

Delete an application
- Currently skipped as there seems to be an issue with deleting an application within the template
2022-05-05 17:32:16 +01:00
Mitch-Budibase d166ac805e Job Application Tracker Template Tests
2 more tests associated with the Job Application Tracker template
- Add active/inactive vacancies
- Filter applications by stage

Tests utilise pre-populated data already associated with the template
2022-05-05 14:26:21 +01:00
Mitch-Budibase c2d6b12749 Assign user roles test fix
Changing the conditionals for creating user and assigning roles. Should assist with the test issues
2022-05-05 11:22:04 +01:00
Mitch-Budibase 5c04f1b31f Fix PostgreSQL Smoke Build Test
Specifically with the duplicate query test
- Looks for spectrum-icon instead of icon
2022-05-04 17:30:38 +01:00
Mitch-Budibase cafd2504e6 Job Application Template Test
jobApplicationTracker.spec.js
- New file and test
- Creates and publishes Job Application Tracker app. Also verifies View URL button works

commands.js
- Updated deleteApp function
2022-05-04 17:06:27 +01:00
Mitch-Budibase bd64b45a3c Templates Details Tests
Added tests which check the details button for each template.
- Split per category (Will add more specific template tests under each category)
- Checks template name matches url (There are a few exceptions)
- Checks status of url - expects 200 back each time

Also updated the DeleteApp Function
- Fixed a smoke test issue associated with deleting the tests app
2022-04-28 17:50:06 +01:00
Dean fb7e724b3a Cypress test fix 2022-04-26 14:41:27 +01:00
Dean bccaac253a Cypress test fix 2022-04-26 13:54:18 +01:00
Dean 8b8baf9bdd Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-26 12:12:50 +01:00
Dean 24a9656cbc Test fixes and code review refactoring 2022-04-26 12:04:07 +01:00
Dean 85928e72b2 Merge remote-tracking branch 'origin/develop' into feature/new-screen-addition-ui 2022-04-25 09:06:54 +01:00
Dean 7cbf9c2e61 Cypress fixes for screen create flow 2022-04-22 18:23:16 +01:00
Dean 7a043dcdbd Code styling 2022-04-22 16:36:33 +01:00
Dean b9f57eecb3 Minor modal refactor for testing. Updates to the cypress tests around creating screens 2022-04-22 14:57:13 +01:00
Dean 0d63f5d6be Refactored workflow tests to remove use of variables 2022-04-21 14:01:25 +01:00
Dean 6bd59e7f8f Minor test enhancements and publish workflow test spec added 2022-04-21 11:59:59 +01:00
Dean ea164cb6aa Added cypress attributes for the popover menu 2022-04-20 12:51:44 +01:00
Dean b2b5fde7ba Cypress test fixes and refactoring. Removed debugging elements 2022-04-20 09:17:01 +01:00
Peter Clement 97c49b11d2 Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-18 10:05:43 +01:00
Mitch-Budibase 55588415b0 Updated MySQL Duplicate Query test
Fixing the navigation used when selecting queries
2022-04-14 20:20:09 +01:00
Mitch-Budibase 377345a828 Smoke Build Changes
Datasource (MySQL, PostgreSQL)
- Test should now pass for smoke build

Table Tests
- Removed pagination tests - no pagination in the smoke build test run
2022-04-14 17:15:34 +01:00
Mitch-Budibase 45c39cbcc0 Updated PostgreSQL & Oracle Tests
PostgreSQL
- Test fixes (May still fail due to connection issues on smoke build)

Oracle
- Test fixes
- Skipping most tests (Oracle host needs configured)

commands.spec.js
- minor change to addDatasourceConfig function
2022-04-13 15:54:40 +01:00
Mitch-Budibase 57284ec219 Updated MySQL Tests
It may still fail as part of the smoke build due to connection issues - for now, direct test issues are resolved
2022-04-13 14:33:37 +01:00
Mitch-Budibase f81aed711d Updated createApp.spec.js
The test 'should provide filterable templates' was failing on the smoke build.

Updated to check existence of apps and act accordingly
2022-04-12 17:24:15 +01:00
Mitch-Budibase 29d7987768 Fixed Table Pagination Tests
Previous issues with the second page loading - reloading the page solves it
2022-04-12 16:20:15 +01:00
Peter Clement 8bacbae496 fix cypress 2022-04-12 09:44:24 +01:00
Peter Clement cfbd729c75 fix automation 2022-04-12 09:15:40 +01:00
Dean 63ec5b0fc3 Minor formatting 2022-04-08 10:31:04 +01:00
Dean fe9f3aeafc Minor updates for cypress tests. Check that access filtering is reflected 2022-04-08 10:29:19 +01:00
Dean 122c5e6f3a Test updates for screen creation 2022-04-08 09:56:20 +01:00
Dean cffdad78e5 Minor test updates and formatting 2022-04-07 12:22:16 +01:00
Mitch-Budibase b64b5edaa7 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 4ad60322ab 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 f3b9a06318 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 f595112b38 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 760a746c7d 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 864c83990f Replaced the expected string in the data rest test spec to the original 2022-03-29 10:38:56 +01:00
Dean f512441f11 Cypress test fixes and refactoring around the create app workflows 2022-03-28 23:21:38 +01:00
Mitch-Budibase bb5799dbd9 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
Peter Clement 48d8aaea2a 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
Peter Clement ffe35bc5ec 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 1a70785c02 fix automation 2022-03-01 11:58:20 +00:00
Peter Clement baf6c64e24 fix cypress, maybe? 2022-03-01 11:39:48 +00:00
Andrew Kingston 40273b7148 Pls cypress 2022-02-25 16:24:36 +00:00
Andrew Kingston 67dd8aeaac Try to fix cypress tests 2022-02-23 13:53:15 +00:00
Andrew Kingston 1ec76e3e7e Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-23 13:25:48 +00:00
Andrew Kingston 572cf77644 Try to fix cypress tests 2022-02-23 13:14:28 +00:00
Mitch-Budibase b6d085a093 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
Mitch-Budibase 2182de8b4a 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 3672da15d7 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 0baafb230b 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
Mitch-Budibase 5930956c8e Stripping out another test spec file
Temporary removal of radio buttons tests
2022-02-09 14:17:03 +00:00
Mitch-Budibase 3ac0d544f2 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
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