Commit Graph

484 Commits

Author SHA1 Message Date
Martin McKeaveney 3f26c411c9 Revert "Revert "Feature/binding ux update"" 2022-08-30 10:16:15 +01:00
Martin McKeaveney 65bf17b87c Revert "Feature/binding ux update" 2022-08-30 10:16:01 +01:00
deanhannigan 1403c66021 Merge pull request #7414 from Budibase/feature/binding-ux-update
Feature/binding ux update
2022-08-26 14:16:47 +01:00
Mitch-Budibase 1e91fa644f Smoke build Test Changes
Update createTable test command
createTable command
- Changing how a check is completed when dealing with the create table modals

appPublishWorkflow
- Increasing timeout value related to the app table status
- This increased timeout value is needed specifically for CI runs

MySQL
- Timing issue for the smoke build
- Including an intercept after saving a query and then confirming it exists. Sometimes Cypress tries to find the query within the nav item section before the query has finished

PostgreSQL
- Timing issue for the smoke build
- Sometimes Cypress will continue the test before the page has finished reloading. Increased timeout value here to ensure the page loads. Also ensuring the entire nav item section is visible
2022-08-25 18:52:36 +01:00
Dean 03e92211f2 Fix for component binding tests 2022-08-24 22:38:24 +01:00
Dean 30f7fc1daa Ensure OIDC config is disabled to prevent auth issues in test suite 2022-08-19 15:56:12 +01:00
Dean a1609c0bde Added authentication integration tests 2022-08-19 12:59:31 +01:00
Mitch-Budibase db6d658e98 Updating createApp test command
In some cases Cypress is running too fast, meaning that the test runs ahead of what is actual seen on Budibase.

This issue mainly occurs at the start of the smoke build and around logging in.

I am attempting to combat this by ensuring the url includes 'apps' after logging in
2022-08-12 17:31:35 +01:00
Mitch-Budibase d7e411affb Removing Add Multi-Option Datatype Test from Cypress Suite
We don't need a specific test file for this.

The test file will remain for now but will not run. The test will be reworked into a different test file or as part of the API testing
2022-08-11 17:43:33 +01:00
Mitch-Budibase 37852c0f76 Timeout increase for createTable Cypress Command 2022-08-11 17:29:59 +01:00
Mitch-Budibase 46749c2a4f Cypress: Smoke Build - Timing based Changes
Adding a few corrections to support failing/Flakey smoke tests (timing issues)
2022-08-11 17:17:18 +01:00
Mitch-Budibase fad1415179 Create App/Table tests update
Changes made for the smoke build

- UI changes required createTable update
- User Information needed updated for the createApp tests
2022-08-11 13:26:27 +01:00
Mitch-Budibase 41f5e3dbfd Smoke build test changes - adminAndManagement
Some test changes for test files within the adminAndManagement folder

- Changes related to UI
- Restructured accountPortals tests
- Changes related to changing passwords (flow is different now)
2022-08-11 12:28:20 +01:00
Mitch-Budibase 21e3c0cb0e Cypress: Test changes for UI + Components
Mainly updating the searchAndAddComponent test command

- Removing skips from a few tests also
2022-08-01 17:29:56 +01:00
Mitch-Budibase fd62eeac73 Cypress: Test changes based on User Updates
UI changes for users requires some test updates

- User commands updates
- New user command - setUserRole
- Test updates to adminAndManagement + Datasource tests
- Some test skips as they need reworked (specifically user management tests)
2022-07-29 18:41:57 +01:00
Mitch-Budibase 8232f28885 Cypress: PostgreSql and createTable Changes
PostgreSql
- Added intercept when saving a query, sometimes it runs too fast

createTable command
- Improved to ensure better timing, and that table is correctly created
2022-07-26 18:23:05 +01:00
Mitch-Budibase d4033c8fd4 Cypress: Smoke build test changes
User Management & Revert App test files changed to better suit the timing of the smoke build
2022-07-26 14:43:06 +01:00
Mitch-Budibase 9eceb2b9b0 Update command file
Including a wait which seems necessary when logging in for the first time
2022-07-22 17:39:38 +01:00
Mitch-Budibase 9fdcecf8da Updated createApp.spec.js
Including an extended timeout for the first test. Specifically when the test is looking for the create app button
2022-07-22 16:54:17 +01:00
Mitch-Budibase fb9b897be0 Cypress: Test Changes + New Command
Data-cy IDs are gone for components (I assume due to the UI redesign)

For now I have created a new command to search and add a component. Tests have been updated to reflect this
2022-07-22 16:33:00 +01:00
Mitch-Budibase c9448296de CreateScreen Tests
Updated the current createScreen test file:

- Reworked a test related to access levels
- Tests for screens of all access levels and deleting all screens (and starting new screen journey)
- Added commands to delete screen and delete all screens
2022-07-20 19:21:30 +01:00
Mitch-Budibase 1373710065 AutoScreensUI test changes
Changes related to the UI redesign
- Also added new command to filter screens by access level
2022-07-20 17:44:30 +01:00
Mitch-Budibase 524bfb04db Create App Tests: Timeout Changes
This test spec file fires off against every PR. There is some timing issues currently.

I am making a few changes in relation to timeout values (a small restructure too) in hopes this helps with the PR builds.

Tests pass locally for me, so there may be more changes required against this spec file as I check its performance
2022-07-18 14:28:27 +01:00
Mitch-Budibase 1d1b566c7d Timeout changes for Cypress Commands file
Cypress visit and requests in some cases need a timeout value included. This is specific for smoke build and CI runs (has no effect on local runs)
2022-07-18 13:52:21 +01:00
Mitch-Budibase c2e4d22cb3 Cypress: Smoke Build Test Changes
More timing related changes to assist with smoke build tests

- Increasing timeouts where applicable
2022-07-08 11:33:11 +01:00
Mitch-Budibase ea3d6b944c 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 c8e3750d09 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 d467bec7bd 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 985ab8f4a2 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 d00a09731f 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 c8695c3526 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 d1f34c4453 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 4805f73cb5 Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-05 09:28:56 +01:00
Dean 1e6845d5cb 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 152b5d5922 Removed API call in create app tests 2022-07-03 19:50:12 +01:00
Mitch-Budibase 56fac8dff8 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 1888be5349 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 b66aab093f 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 62c36238e3 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 16eddac764 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 e8e857c43d Test Refactoring
AdminAndManagement + Datasources tests are being being refactored here
2022-06-27 18:28:21 +01:00
Mitch-Budibase a36420225b Merge branch 'develop' into cypress-testing 2022-06-27 16:15:00 +01:00
Andrew Kingston b9cf906276 Update cypress 2022-06-23 14:58:32 +01:00
Mitch-Budibase 4b92b5557b 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 3c09e81d76 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 43811be6cc Merge branch 'develop' into cypress-testing 2022-06-20 18:42:38 +01:00
Mitch-Budibase 31c5ae08ad 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 318eb22a06 Merge branch 'develop' into cypress-testing 2022-06-17 17:45:43 +01:00
Mitch-Budibase ce1fa11db3 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 aeae3b0465 Update cypress tests 2022-06-15 15:08:03 +01:00