1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00
Commit graph

510 commits

Author SHA1 Message Date
Mitch-Budibase c8843b0950 Cypress: Increasing timeout values
Getting close.... but there are still some minor timing issues against the smoke build.

I am increasing a few timeout values within postgreSQL & commands files
2022-07-07 15:13:15 +01:00
Mitch-Budibase 025405c09f Cypress: User Details Test Fix
It seems that at times, Cypress is running so fast that it does not type entire words (it sometimes misses the first couple of letters.

I've put a small change in the userManagement test file to try and revolve this.
- Adding a wait and clear in association with the type command
2022-07-07 12:50:30 +01:00
Mitch-Budibase 9a7e5ba830 Smoke Build Changes - Timing issues
Timing issues persist for the smoke build.

Increasing timeout values to try and combat this
2022-07-07 11:07:05 +01:00
Mitch-Budibase 7dfe0c0fc3 Cypress: Smoke Build Timing based Changes
Still some timing issues against the smoke build, but less this time.

- Mainly adding timeouts against cy.visit
- Improving some structure with the close modal command in a few places
2022-07-06 21:10:34 +01:00
Mitch-Budibase a4bbdd39db Smoke build test changes
This time it is adding appropriate deleteAllApps commands and adding waits

- The waits seem to be essential for the smoke build.
- Tests pass locally, but timing issues causes failure on the smoke build
2022-07-06 17:32:27 +01:00
Mitch-Budibase 377bbe9c52 CreateApp test file update
A few timing issues that need sorted. There may be more after this as they tend to be linear through the test run
2022-07-06 16:17:58 +01:00
Mitch-Budibase 8e24b85b24 Smoke Build Test Changes
Changes have been made to the following test files to remove smoke build failures:

- addRadioButtons.spec.js
- accountPortals.spec.js
- userManagement.spec.js
- userSettings.spec.js
2022-07-06 15:56:02 +01:00
Dean 7152125667 Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-05 09:28:56 +01:00
Dean 2ea4a9d225 Refresh the OAuth tokens automatically when making rest calls. Fix to remove the password from the api token authentication. 2022-07-03 21:13:15 +01:00
Dean 338b5072a4 Removed API call in create app tests 2022-07-03 19:50:12 +01:00
Mitch-Budibase 0941615b94 Additional timing based changes for createApp
All tests pass locally, just having issues with timing on the CI run

Also reduced test retries (runs a total of 2 times instead of 3, the 3rd run does not add any value)
2022-06-30 13:53:16 +01:00
Mitch-Budibase 0d4773241b Additional timing changes for CreateApp test file
Timing issues against the CI run - included more timeouts as a result of this
2022-06-30 12:30:53 +01:00
Mitch-Budibase b5fcff3213 CreateApp Test Update
Timing issues affecting some tests
- Updated some cy.visit commands to include timeouts
2022-06-30 11:41:11 +01:00
Mitch-Budibase 7495b859c8 Cypress Tests Refactoring
Refactoring a large portion of tests - necessary updates to have them working (may still be timing issues on the smoke build)
2022-06-29 18:28:32 +01:00
Mitch-Budibase 5fb18d4d79 appOverview Refactor + Commands update
Refactoring tests within appOverview.spec.js

Commands
- refactoring the deleteApp command (works better with new UI)
2022-06-28 18:01:04 +01:00
Mitch-Budibase 60592616f8 Test Refactoring
AdminAndManagement + Datasources tests are being being refactored here
2022-06-27 18:28:21 +01:00
Mitch-Budibase 3f597ba6e0 Merge branch 'develop' into cypress-testing 2022-06-27 16:15:00 +01:00
Andrew Kingston 468d4b8e77 Update cypress 2022-06-23 14:58:32 +01:00
Mitch-Budibase 66c3991b55 AdminAndManagement test changes + Commands update
Specifically changes for accountPortals & userManagement

Commands
- Delete user function added
- Few timing changes
2022-06-22 18:55:43 +01:00
Mitch-Budibase d707b504f6 User Settings Menu tests
New test file with user setting menu tests

- Also updated AccountPortals test (logout was required)

Commands & Interact files updated as required
2022-06-21 18:25:33 +01:00
Mitch-Budibase 2cee36c2b6 Merge branch 'develop' into cypress-testing 2022-06-20 18:42:38 +01:00
Mitch-Budibase 55432388cf Account Portal tests + Command file changes
Account portal tests
- Visibility when accessing the portal with different permissions

Commands
- New command to logout when app grid is not present
- Need matching data-cy commands for this
2022-06-20 18:38:44 +01:00
Mitch-Budibase acc5ef8d53 Merge branch 'develop' into cypress-testing 2022-06-17 17:45:43 +01:00
Mitch-Budibase 8b41e9bca6 AdminAndManagement Test folder + timeouts refactoring
Created a new folder called adminAndManagement
- contains user and portal based tests

Timeouts refactoring
- Replacing a large number of waits with timeouts - this will prevent less time waiting during all testing
2022-06-17 17:41:07 +01:00
Andrew Kingston 2cb1f4bec6 Update cypress tests 2022-06-15 15:08:03 +01:00
Rory Powell 05f0393310 Merge branch 'release' into merge-release 2022-06-13 11:45:18 +01:00
Mihail Hadzhiev f02e292690
Merge pull request #6287 from Budibase/cypressTests
Cypress tests
2022-06-13 13:26:40 +03:00
MihailHadzhiev2022 58241c3ecb refactoring reverApp 2022-06-13 13:10:11 +03:00
MihailHadzhiev2022 27173468cc refactoring test renemaApplication 2022-06-13 12:18:18 +03:00
MihailHadzhiev2022 bd009d10d7 refactoring test queryLevelTransformers 2022-06-13 11:28:36 +03:00
Dean f89d63e664 Removed commented attachment column test 2022-06-10 09:54:56 +01:00
Dean 1856289d19 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-06-10 09:53:39 +01:00
Mitch-Budibase ccc584bdf2 Edit User Details Test + Timeout Changes for Commands
New user test
- Edits user details (for now just adds first name and last name)

Commands updated
- Removing some waits and replacing with timeouts associated with 'get' Cypress functionality
2022-06-08 18:08:45 +01:00
Mitch-Budibase 56d3b46366 appPublishWorkflow test fix
Third test was failing as part of the smoke build
2022-06-08 17:33:56 +01:00
Mitch-Budibase 21f68815a9 Merge branch 'develop' into cypress-testing 2022-06-08 17:15:58 +01:00
Mitch-Budibase 72adb450b3 Minor Smoke Build Test changes
Updates for appOverview & autoScreensUI
2022-06-08 17:14:02 +01:00
MihailHadzhiev2022 e35c353295 Refactoring test revertApp 2022-06-08 17:29:12 +03:00
MihailHadzhiev2022 d8f18dfd44 Refactoring test: createView 2022-06-08 17:05:08 +03:00
MihailHadzhiev2022 9e1d526b1b Merge branch 'develop' of https://github.com/Budibase/budibase into cypressTests 2022-06-07 11:38:46 +03:00
MihailHadzhiev2022 d7dc4ce6ac Refactoring test: createUserAndRoles 2022-06-06 18:03:41 +03:00
MihailHadzhiev2022 b9b60cf2cd refactoring test createTable 2022-06-06 14:01:14 +03:00
Rory Powell 4e77571ddb Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
Maurits Lourens f856a150c4 remove comment 2022-06-03 14:37:29 +02:00
Maurits Lourens c4136e544e move the unpublish link 2022-06-03 00:41:16 +02:00
MihailHadzhiev2022 6db2a30e96 Refactoring tests
Tests:
1. AppiconAndColour
2. Automation
2022-06-02 15:03:47 +03:00
Mitch-Budibase babbd22bf6 Organising Commands file
Rearranged the commands file into categories
- Commands are organisation by relative category (users, tables etc.)
2022-06-01 18:54:14 +01:00
Mitch-Budibase f46c489fde Merge Icon Change Tests
Deleting changeAppIconAndColour test file

Merging that test within the appOverview test file
- Updating commands also
2022-06-01 18:36:29 +01:00
Mitch-Budibase 5a355be990 Removing templates test folder
We do not need to test templates this way via the UI
- There is currently a test which creates an app via a template
- These specific templates tests are time consuming and repetitive
- These template tests will be replaced by API testing

Commands.js
- Removing a publishApp function -> There was two, one is not needed
2022-06-01 18:16:16 +01:00
Mitch-Budibase 69454a0c92 changeAppIconAndColor Test Fix
Updating this test as it was failing consistently
2022-06-01 18:05:51 +01:00
Dean 8da8631781 Backed out merge conflict remoted updates. 2022-06-01 11:11:44 +01:00
Dean 2040fd4b67 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-06-01 10:52:11 +01:00
Dean f650090ead Minor fix for component test 2022-06-01 10:49:01 +01:00
MihailHadzhiev2022 c387863923 adding locators for PublishWorkFlow test 2022-06-01 10:23:15 +03:00
Dean 0c25ecbf21 Component Cypress tests and fixes 2022-05-31 22:57:33 +01:00
MihailHadzhiev2022 25e1696008 Merge branch 'develop' into cypressTests 2022-05-31 18:57:07 +03:00
MihailHadzhiev2022 62652bd0d3 refactoring autoScreensUI test 2022-05-31 18:39:05 +03:00
MihailHadzhiev2022 7b687df638 Small fixes 2022-05-31 17:01:11 +03:00
MihailHadzhiev2022 5bd19b9e42 Adding interact locators for createComponent cypress test 2022-05-30 15:45:04 +03:00
Rory Powell f2f6bf779d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Dean 28804c395c Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-24 17:09:15 +01:00
Martin McKeaveney bdce546902
Merge pull request #5786 from Budibase/feature/app-overview-section
Feature/app overview section
2022-05-24 15:16:17 +01:00
Dean a16e88acf0 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-24 11:10:42 +01:00
Mitch-Budibase 1d3719603e
Merge pull request #5978 from Budibase/cypress-testing
Lead Generation Form Template Test + Refactor
2022-05-24 10:28:01 +01:00
Dean 702b62f8e6 Expanding the focus behaviour to more component types in the builder. Minor fix for cypress test 2022-05-24 09:58:05 +01:00
Rory Powell 22aa226ca9 Event identification 2022-05-23 22:14:44 +01:00
MihailHadzhiev2022 4b69f5ec9c adding interact locators for APP_Publish_WORK_FLOW 2022-05-23 11:36:54 +03:00
Dean 9d79e6a554 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-20 09:09:50 +01:00
Mitch-Budibase 1440ab18f3 Increasing wait for closeModal command
changing to 1 second to assist with CI runs
2022-05-19 17:53:31 +01:00
Mitch-Budibase 333279f66c 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 b530e86d29 Merge branch 'develop' into cypress-testing 2022-05-19 15:24:36 +01:00
Mitch-Budibase a6c7b6ab26 Template Testing Refactor
Directly visiting the templates URL
2022-05-19 15:23:53 +01:00
Dean da18b6433c Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-19 13:32:57 +01:00
Dean 3c86bd24f2 Cypress test updates and back button update for the create screen 2022-05-19 13:32:05 +01:00
mike12345567 7437eb4513 Merge branch 'develop' of github.com:Budibase/budibase into feature/portal-usage 2022-05-19 10:45:26 +01:00
Mihail Hadzhiev 055bc8261e
Merge pull request #5974 from Budibase/cypressTests
adding locators for AddRadioButtons test
2022-05-19 12:03:21 +03:00
Dean 45485f3653 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-19 09:05:29 +01:00
Mitch-Budibase b6d9c0d147 Updated Commands - Datasource Command
Adding a timeout associated with the fetch tables request

Another attempt at sorting this for the smoke build - it only fails there and is timing related.
2022-05-18 17:30:13 +01:00
Dean 346c5426eb Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-18 17:12:02 +01:00
Mitch-Budibase 86060705c6 Merge branch 'develop' into cypress-testing 2022-05-18 14:54:57 +01:00
Mitch-Budibase 0237854826 Update command.js
Changing structure for `addDatasourceConfig`
- Intercepting the request that is made when fetching tables from a datasource
- There is a specific issue with this in regards to the smoke build. This will allow me to see deeper into the potential timing issues that are occurring
2022-05-18 14:53:54 +01:00
MihailHadzhiev2022 85d7a23867 adding locators for AddRadioButtons test 2022-05-18 16:29:22 +03:00
Dean 180e3dad92 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-18 14:18:42 +01:00
Mihail Hadzhiev fbceb5449a
Merge pull request #5954 from Budibase/cypressTests
adding interact locators for AddMultiOptionDataType test
2022-05-18 15:10:18 +03:00
MihailHadzhiev2022 5dd70a106b adding interact locators for AddMultiOptionDataType test 2022-05-18 14:09:58 +03:00
mike12345567 39806d470d Merge branch 'develop' of github.com:Budibase/budibase into feature/portal-usage 2022-05-18 10:56:44 +01:00
mike12345567 36a190b0ed Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 2022-05-17 17:44:40 +01:00
Dean 2d074f5ec8 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-17 16:54:32 +01:00
Mitch-Budibase aec6593a31 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 93f90405cf 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 a1ec209bfb 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 7c958926c2 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 c555d2130f Merge branch 'develop' into cypress-testing 2022-05-17 10:34:54 +01:00
Mitch-Budibase 91f934b406 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 59f788e860 Update createApp.spec.js
resolve conflict
2022-05-17 11:02:24 +03:00
MihailHadzhiev2022 69ab518ac9 Merge branch 'develop' into cypressTests 2022-05-17 11:01:13 +03:00
Martin McKeaveney dc34e86431
Merge pull request #5855 from Budibase/feature/fill-app-name-on-create
Feature/fill app name on create
2022-05-16 17:38:33 +01:00
Mitch-Budibase c2beb5926b Increase wait for addDatasourceConfig function
Timing issue against the nightly smoke build. This should help with it
2022-05-16 14:59:46 +01:00
MihailHadzhiev2022 344bd1b3b3 adding locators
adding interact.js
adding locators
2022-05-16 15:32:04 +03:00
Dean 883765f894 Code review updates 2022-05-16 11:13:17 +01:00
Dean b4d893fba2 Merge remote-tracking branch 'origin/develop' into feature/fill-app-name-on-create 2022-05-12 17:07:12 +01:00