1
0
Fork 0
mirror of synced 2024-05-19 20:02:34 +12:00
Commit graph

236 commits

Author SHA1 Message Date
mike12345567 eeda89725d Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +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 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 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
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
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 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 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 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 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 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
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 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
Dean 0c25ecbf21 Component Cypress tests and fixes 2022-05-31 22:57:33 +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