Commit Graph

291 Commits

Author SHA1 Message Date
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
Dean 2ea4a9d225 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 338b5072a4 Removed API call in create app tests 2022-07-03 19:50:12 +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 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
Mihail Hadzhiev f02e292690
Merge pull request #6287 from Budibase/cypressTests
Cypress tests
2022-06-13 13:26:40 +03:00
MihailHadzhiev2022 58241c3ecb refactoring reverApp 2022-06-13 13:10:11 +03:00
MihailHadzhiev2022 27173468cc refactoring test renemaApplication 2022-06-13 12:18:18 +03:00
MihailHadzhiev2022 bd009d10d7 refactoring test queryLevelTransformers 2022-06-13 11:28:36 +03:00
Dean f89d63e664 Removed commented attachment column test 2022-06-10 09:54:56 +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 56d3b46366 appPublishWorkflow test fix
Third test was failing as part of the smoke build
2022-06-08 17:33:56 +01:00
Mitch-Budibase 21f68815a9 Merge branch 'develop' into cypress-testing 2022-06-08 17:15:58 +01:00
Mitch-Budibase 72adb450b3 Minor Smoke Build Test changes
Updates for appOverview & autoScreensUI
2022-06-08 17:14:02 +01:00
MihailHadzhiev2022 e35c353295 Refactoring test revertApp 2022-06-08 17:29:12 +03:00
MihailHadzhiev2022 d8f18dfd44 Refactoring test: createView 2022-06-08 17:05:08 +03:00
MihailHadzhiev2022 9e1d526b1b Merge branch 'develop' of https://github.com/Budibase/budibase into cypressTests 2022-06-07 11:38:46 +03:00
MihailHadzhiev2022 d7dc4ce6ac Refactoring test: createUserAndRoles 2022-06-06 18:03:41 +03:00
MihailHadzhiev2022 b9b60cf2cd refactoring test createTable 2022-06-06 14:01:14 +03:00
Maurits Lourens f856a150c4 remove comment 2022-06-03 14:37:29 +02:00
Maurits Lourens c4136e544e move the unpublish link 2022-06-03 00:41:16 +02:00
MihailHadzhiev2022 6db2a30e96 Refactoring tests
Tests:
1. AppiconAndColour
2. Automation
2022-06-02 15:03:47 +03: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
Mitch-Budibase 69454a0c92 changeAppIconAndColor Test Fix
Updating this test as it was failing consistently
2022-06-01 18:05:51 +01:00
Dean 8da8631781 Backed out merge conflict remoted updates. 2022-06-01 11:11:44 +01:00
Dean 2040fd4b67 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-06-01 10:52:11 +01:00
Dean f650090ead Minor fix for component test 2022-06-01 10:49:01 +01:00
MihailHadzhiev2022 c387863923 adding locators for PublishWorkFlow test 2022-06-01 10:23:15 +03:00
Dean 0c25ecbf21 Component Cypress tests and fixes 2022-05-31 22:57:33 +01:00
MihailHadzhiev2022 25e1696008 Merge branch 'develop' into cypressTests 2022-05-31 18:57:07 +03:00
MihailHadzhiev2022 62652bd0d3 refactoring autoScreensUI test 2022-05-31 18:39:05 +03:00