Commit Graph

501 Commits

Author SHA1 Message Date
Mitch-Budibase 65744c7f6c Minor Smoke Build Changes
A few changes to maintain what we have for the nightly smoke build

autoScreensUI
- Adding a 1 second wait. This seems essential now for the smoke run on CI. Was difficult to reduce the error locally but definitely timing related

userManagement
- Reworking how we confirm a user has no applications
- The text has also changed - updated it too
2022-09-29 17:40:53 +01:00
Martin McKeaveney 1a18e7eba2
Merge pull request #7964 from Budibase/qa/real-couch-integration-tests 2022-09-26 11:10:15 +01:00
Martin McKeaveney e796a86809 using real couch in integration tests 2022-09-24 13:17:21 +01:00
mike12345567 1485aa6eb7 Fixing cypress filtering. 2022-09-24 11:14:22 +01:00
Mitch-Budibase 2af219cf84 createComponents Test
Skip test file - these will be replaced with API tests. Leaving them skipped for now to be used as reference for API testing
2022-09-16 17:56:06 +01:00
mike12345567 eeda89725d Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
Mitch-Budibase ae3463fc7b Oracle + datasource Wizard Test skips
Skipping tests for Oracle & datasourceWizard

Both are covered during general regressions
There are timing issues associated with the CI Smoke run
This will help reduce the smoke build run time
The oracle test file was only covering a basic check of invalid configuration (Not essential for the smoke run)
2022-09-07 15:42:45 +01:00
Mitch-Budibase 524669082e Update createDatasourceScreen
Adding a manual wait this time go better determine the timing issue occurring against the CI runs
2022-09-07 13:52:05 +01:00
Mitch-Budibase 494fc29311 Cypress: Smoke: autoScreensUI
Updating createDatasourceScreen command to assist with timing issues against the smoke CI run
- Only occurs on the smoke build, passes locally
2022-09-07 09:50:02 +01:00
Mitch-Budibase d7c55b0968 Updating commands.js - createDatasourceScreen
These changes are related to the autoScreensUI tests failing on the smoke build CI run.

I've changed timeout values and reworking data-cy IDs
2022-09-06 12:14:17 +01:00
Mitch-Budibase 2278494817 Increase timeout for PostgreSQL test 2022-09-06 11:15:52 +01:00
Mitch-Budibase 19f29789e6 createDatasourceScreen - increase timeouts 2022-09-06 10:23:04 +01:00
Mitch-Budibase ad30fe1799 Cypress Command + Rest Timeout update
rest.spec.js
- Test was flakey on last nights smoke run
- Updated to specifically search for query-buttons and then add query

commands.js
- Increasing timeout values for createTable & createDatasourceScreen commands
2022-09-06 09:50:02 +01:00
Mitch-Budibase a4c51b7f0b closeModal Command Update
Adding a line to verify that the modal was closed

userManagement.spec.js
- Increasing timeouts
2022-09-06 09:12:34 +01:00
Mitch-Budibase 5c3705be0b Updating postgreSQL test file
Increasing the maximum timeout value after switching schema
2022-09-05 14:58:41 +01:00
Mitch-Budibase 3270ae3060 Merge branch 'develop' into Cypress-Smoke 2022-09-05 13:49:44 +01:00
Mitch-Budibase c459730348 Cypress: Smoke Build: Test Changes
createComponents
- Updated how the test gets nav-items from the side nav bar

commands
- Updating maximum timeout value for cy.visit instances (this seems specific to the CI runs)
- Updated createUser command to ensure better timing between the create user modals
2022-09-05 13:48:37 +01:00
Martin McKeaveney 12fe6d4359
Revert "Revert "Feature/binding ux update"" 2022-08-30 10:16:15 +01:00
Martin McKeaveney 52b4d06c86
Revert "Feature/binding ux update" 2022-08-30 10:16:01 +01:00
deanhannigan c6caaca7c7
Merge pull request #7414 from Budibase/feature/binding-ux-update
Feature/binding ux update
2022-08-26 14:16:47 +01:00
Mitch-Budibase 6c6656b0e2 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 aaa399f266 Fix for component binding tests 2022-08-24 22:38:24 +01:00
Dean 13158e68b9 Ensure OIDC config is disabled to prevent auth issues in test suite 2022-08-19 15:56:12 +01:00
Dean 3ca15a205f Added authentication integration tests 2022-08-19 12:59:31 +01:00
Mitch-Budibase 8e4ceb036b 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 f99a6c69a5 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 9893db4bb0 Timeout increase for createTable Cypress Command 2022-08-11 17:29:59 +01:00
Mitch-Budibase 0fbfadd2e8 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 cc8cda3b40 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 f70a04090b 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 cacb0e88a4 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 c680cf0463 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 bf137de178 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 cd4f9f12e3 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 a5c8219034 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 bec8e3be3e 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 7b227817e9 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 f396e33018 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 552a2e00aa 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 d9f0d9da1c 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 7ab64c730b 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 9825f26fb1 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 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