Commit Graph

24 Commits

Author SHA1 Message Date
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
mike12345567 8744d0a86c Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
Mitch-Budibase f25285a886 Increase timeout for PostgreSQL test 2022-09-06 11:15:52 +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 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
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 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 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 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 e8e857c43d Test Refactoring
AdminAndManagement + Datasources tests are being being refactored here
2022-06-27 18:28:21 +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
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 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 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
Andrew Kingston 572cf77644 Try to fix cypress tests 2022-02-23 13:14:28 +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 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 8b8cb21ec3 Adding tags to tests
Currently there is 'smoke' and 'all' tags
2022-01-21 12:43:27 +00:00
Mitch-Budibase 9a7286568a Structural Changes + New Test
Structural changes surrounding data sources
-Cypress env file removed
-Text change for fetching tables
-Oracle tests organised
-PostgreSQL tests organised

New test is for skipping table fetch via button

There are a few other smaller changes
2022-01-18 16:02:42 +00:00
Mitch-Budibase df43b270dc New Tests and Changes based on updated test environment
-Changes made to reflect the new layouts of the test env
--e.g. Changes to the app grid, changes to UI screens
-Updated commands
--New commands added & some updated
-New tests
--Revert App
--AutoScreensUI
--Change app icon and colour
--Data source testing

In particular to data source testing
-I have a file for mySQL, PostgreSQL, Oracle, and REST.
--enabled better regression testing for each

Other changes made for:
-QueryLevelTransformers tests
-Table tests
-Renaming applications
-Automations
-Multi-option datastype

New env file added too
2021-12-24 10:38:03 +00:00