1
0
Fork 0
mirror of synced 2024-09-01 18:21:32 +12:00
Commit graph

460 commits

Author SHA1 Message Date
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
c8e3750d09 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
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
985ab8f4a2 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
d00a09731f 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
c8695c3526 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
d1f34c4453 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
4805f73cb5 Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-05 09:28:56 +01:00
Dean
1e6845d5cb 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
152b5d5922 Removed API call in create app tests 2022-07-03 19:50:12 +01:00
Mitch-Budibase
56fac8dff8 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
1888be5349 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
b66aab093f 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
62c36238e3 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
16eddac764 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
e8e857c43d Test Refactoring
AdminAndManagement + Datasources tests are being being refactored here
2022-06-27 18:28:21 +01:00
Mitch-Budibase
a36420225b Merge branch 'develop' into cypress-testing 2022-06-27 16:15:00 +01:00
Andrew Kingston
b9cf906276 Update cypress 2022-06-23 14:58:32 +01:00
Mitch-Budibase
4b92b5557b 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
3c09e81d76 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
43811be6cc Merge branch 'develop' into cypress-testing 2022-06-20 18:42:38 +01:00
Mitch-Budibase
31c5ae08ad 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
318eb22a06 Merge branch 'develop' into cypress-testing 2022-06-17 17:45:43 +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
Andrew Kingston
aeae3b0465 Update cypress tests 2022-06-15 15:08:03 +01:00
Rory Powell
4dc5cfc5a7 Merge branch 'release' into merge-release 2022-06-13 11:45:18 +01:00
Mihail Hadzhiev
e698765c53 Merge pull request #6287 from Budibase/cypressTests
Cypress tests
2022-06-13 13:26:40 +03:00
MihailHadzhiev2022
c25d5cebe1 refactoring reverApp 2022-06-13 13:10:11 +03:00
MihailHadzhiev2022
9731f48f5b refactoring test renemaApplication 2022-06-13 12:18:18 +03:00
MihailHadzhiev2022
05c12eeafa refactoring test queryLevelTransformers 2022-06-13 11:28:36 +03:00
Dean
adf1eb5895 Removed commented attachment column test 2022-06-10 09:54:56 +01:00
Dean
d8f82e9482 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-06-10 09:53:39 +01:00
Mitch-Budibase
b73652f36a 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
42680175ff appPublishWorkflow test fix
Third test was failing as part of the smoke build
2022-06-08 17:33:56 +01:00
Mitch-Budibase
03de3af587 Merge branch 'develop' into cypress-testing 2022-06-08 17:15:58 +01:00
Mitch-Budibase
a0d4eb3c88 Minor Smoke Build Test changes
Updates for appOverview & autoScreensUI
2022-06-08 17:14:02 +01:00
MihailHadzhiev2022
11beb999dd Refactoring test revertApp 2022-06-08 17:29:12 +03:00
MihailHadzhiev2022
0f38995110 Refactoring test: createView 2022-06-08 17:05:08 +03:00
MihailHadzhiev2022
212bfd0193 Merge branch 'develop' of https://github.com/Budibase/budibase into cypressTests 2022-06-07 11:38:46 +03:00
MihailHadzhiev2022
598c9c62b7 Refactoring test: createUserAndRoles 2022-06-06 18:03:41 +03:00
MihailHadzhiev2022
a36ac49807 refactoring test createTable 2022-06-06 14:01:14 +03:00
Rory Powell
361ffd224f Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
Maurits Lourens
56af6c78a0 remove comment 2022-06-03 14:37:29 +02:00
Maurits Lourens
21305a646a move the unpublish link 2022-06-03 00:41:16 +02:00
MihailHadzhiev2022
52d643c035 Refactoring tests
Tests:
1. AppiconAndColour
2. Automation
2022-06-02 15:03:47 +03:00
Mitch-Budibase
03cc238ba4 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
c5c3365c43 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
6c958ca686 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
e7da79377a changeAppIconAndColor Test Fix
Updating this test as it was failing consistently
2022-06-01 18:05:51 +01:00