Commit Graph

353 Commits

Author SHA1 Message Date
Mitch-Budibase ad8510dad8 Test Skip & Remove retries
I meant to also skip dev mode test within UserSettings

Also removing test retries (not useful currently)
2023-01-19 19:38:58 +00:00
Mitch-Budibase 9280eedad1 Cypress - New Portal Test Updates
Commands
- Updating commands
- UpdateUserInformation, deleteApp, searchForApplication, applicationInAppTable

CreateApp
- Skipping Templates tests
- Updates for tests which utilise user info

AppOverview
- Skipping these tests

UserSettings
- Skipping one test -> allow for copy of API key (will be covered elsewhere
- Updates applied to the remaining tests

Authentication
- Skipping these tests
2023-01-19 19:24:09 +00:00
Mitch-Budibase 7bb0246271 Skipping Screen Tests 2023-01-16 11:17:11 +00:00
Mitch-Budibase 339cfe09a1 Increasing timeout after page reload
This applies to the following test:

'should run an invalid query within the transformer section'
2023-01-11 11:37:59 +00:00
Mitch-Budibase 967d8ae5c8 Update QueryLevelTransformers Tests
There was an issue with forward slashes. Resolved and now passing again
2023-01-11 11:11:36 +00:00
Mitch-Budibase 3db260d897 Skip remaining appPublishWorkflow tests
No longer needed - We get coverage via QA Wolf
2023-01-06 10:39:49 +00:00
Mitch-Budibase 3a1fa59dce Removing Cypress Tests - No Loner Required
The following files now have tests skipped:

- accountPortal (Completely skipped)
- appPublishWorkflow (Some tests skipped)
- createView (Completely Skipped)
2023-01-05 16:55:26 +00:00
Mitch-Budibase c508da0f24 Cypress: Create Views test update
Updating a couple of tests within createView
- Timing issues
- Ensuring we get the correct element for testing

Also updated QueryLevelTransformers test
- Timing issue
- I've extended the timeout value for when checking the nav item content (passes locally but timed out on the CI run)
2022-12-22 14:32:39 +00:00
Mitch-Budibase e2e877c2ba QueryLevelTransformers Test Update
Updated selectExternalDatasource command

Altered Query Level Transformers to include a page reload. Not having this reload was occasionally affecting the test run
2022-12-21 14:01:44 +00:00
Mitch-Budibase db293cfcf1 Skipping Cypress Tests - No longer needed
Skipping Cypress tests associated with the following:

- Account Portals
- App Overview
- Create Automation

We now have E2E coverage of these tests via QA Wolf
2022-12-19 17:23:13 +00:00
Mitch-Budibase bf7a920d16 Skipping User Management tests - Covered Elsewhere
Skipping the full User Management test file
- We have coverage of these tests via QA Wolf
2022-12-06 12:04:36 +00:00
Mitch-Budibase d63278a2fa appOverview Cypress Test Update
The test 'Should reflect an application that has been unpublished' failed on last nights build. This is likely a timing issue.

I have included a wait and timeout within the test. It passes locally, just not on the nightly build
2022-12-06 11:01:25 +00:00
Mitch-Budibase 4cee4a3c83 Cypress Build Update
Few changes to assist with the nightly build

appPublishWorkflow
- Removing closeModal function calls (no longer needed)

createBinding
- Update to remove a component from some of the tests
- New command for this also

REST
- Skipping these tests -> there are only 2 and will be replaced via API

Commands
- Additional changes to support the nightly build
- mainly navigation based due to recent code changes to the product
2022-11-23 16:19:50 +00:00
Mitch-Budibase 5b53df8126 Skip revertApp Cypress Spec File
We have API Automation coverage for reverting applications
2022-11-16 11:33:30 +00:00
Mitch-Budibase d5df198bc4 Skipping createApp Tests & createAutomation Test Fix
Skipping createApp tests covered via API Automation.
Also updated the createAutomation test to fix an issue with the nightly build
2022-11-16 11:29:59 +00:00
Mitch-Budibase 4c546463e6 Skipping Screen Tests
There are 4 tests in this file
- Skipped create and delete screen tests (covered by API)
- Update URL test remains (will eventually be covered via E2E with QA Wolf)
- Create and filter screens by access level test remains (This is due for API coverage within another ticket)
2022-11-15 17:59:31 +00:00
Mitch-Budibase bdcfe4b477 Merge pull request #8692 from Budibase/cypress-automations-update
Updating createAutomation.spec.js
2022-11-15 16:35:29 +00:00
Mitch-Budibase ef7659d4bf Updating createAutomation.spec.js
The + symbol button for creating an automation has been removed. It has been replaced with a button which says 'Add automation'

I have updated the create automation test to now click on this button when creating a new automation. This test was failing due to the other button no longer existing
2022-11-15 16:20:40 +00:00
Pedro Silva 700d063a20 Fix Failing tests 2022-11-15 12:38:48 +00:00
Mitch-Budibase f2a71ec62e Cypress - Skipping 2 Test Files
The files are:

- addMultiOptionDatatype
- addRadioButtons

These tests are flakey from time to time and we no longer need them to be run consistently through Cypress. We will have E2E coverage via QAWolf and will also have some coverage via API Automation
2022-11-07 17:10:35 +00:00
Mitch-Budibase 2e239e5967 Cypress - Rename Application - Skip Test File
Some of the tests in here are flakey from time to time.
- We had a failure on the nightly due to a flakey test within this file
- Skipping the tests in here for now (we will receive coverage via QA Wolf)
2022-10-27 11:01:16 +01:00
Mitch-Budibase a2f9f921c4 Skipping MySQL Cypress Tests
Bit of flakeiness occurring - we can skip these tests for now on the nightly run in anticipation of QA Wolf covering these scenarios E2E
2022-10-26 17:29:58 +01:00
Pedro Silva f1ff467b12 Update rest datasource test 2022-10-14 10:00:11 +01:00
Mitch-Budibase b97d89c2fb Cypress: Auto Screens UI + PostgreSql test skip
As previously discussed with Marty, any further flakey tests (timing issues) with Cypress will be skipped for now but not removed.

- Timing issues are effecting Auto Screens UI & PostgreSql tests
- We will receive coverage of these tests via QA Wolf
- The tests are not removed so we still have reference for generating relative API tests
2022-10-10 18:09:35 +01:00
Andrew Kingston f27704ccf6 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Mitch-Budibase e89fec1873 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
Mitch-Budibase f3ecc4e0f3 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 8744d0a86c Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
Andrew Kingston c873a4d965 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-09-13 11:32:04 +01:00
Mitch-Budibase dafb038cef 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 f25285a886 Increase timeout for PostgreSQL test 2022-09-06 11:15:52 +01:00
Mitch-Budibase 7f94953c3a 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 94bded075b 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
Andrew Kingston 5577f31a17 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-09-06 09:00:21 +01:00
Mitch-Budibase 6b375132d1 Updating postgreSQL test file
Increasing the maximum timeout value after switching schema
2022-09-05 14:58:41 +01:00
Mitch-Budibase 6d6eacdfa7 Merge branch 'develop' into Cypress-Smoke 2022-09-05 13:49:44 +01:00
Mitch-Budibase 88bc74f68b 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 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
Andrew Kingston 434fe378c7 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-08-23 11:40:15 +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 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