Commit Graph

216 Commits

Author SHA1 Message Date
Mitch-Budibase 1373710065 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 524bfb04db 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 1d1b566c7d 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 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 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 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
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 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
Dean 692039cd34 Component Cypress tests and fixes 2022-05-31 22:57:33 +01:00
Dean 6114e37f19 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-24 17:09:15 +01:00
Martin McKeaveney 92ed60af54 Merge pull request #5786 from Budibase/feature/app-overview-section
Feature/app overview section
2022-05-24 15:16:17 +01:00
Dean 55817d301f Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-24 11:10:42 +01:00
Dean c3c388b01a Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-20 09:09:50 +01:00
Mitch-Budibase 1967b5c02a Increasing wait for closeModal command
changing to 1 second to assist with CI runs
2022-05-19 17:53:31 +01:00
Mitch-Budibase 7c6f73388a Lead Generation Form Template Test + Refactor
New Lead Generation Form template test
- Verifies app creation
- Successful Publish
- Published app opens when button clicked

Refactor of template functionality specific tests
- Created a command to publish app and either click view or done button afterwards
- Refactored into some template tests
2022-05-19 15:51:42 +01:00
Mitch-Budibase d44ac03d38 Template Testing Refactor
Directly visiting the templates URL
2022-05-19 15:23:53 +01:00
Dean 8ca01d6bca Cypress test updates and back button update for the create screen 2022-05-19 13:32:05 +01:00
Dean 9f8830942c Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-19 09:05:29 +01:00
Mitch-Budibase 80c7f1fcfe Updated Commands - Datasource Command
Adding a timeout associated with the fetch tables request

Another attempt at sorting this for the smoke build - it only fails there and is timing related.
2022-05-18 17:30:13 +01:00
Dean 5a6c727b0f Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-18 17:12:02 +01:00
Mitch-Budibase 0355b28965 Update command.js
Changing structure for `addDatasourceConfig`
- Intercepting the request that is made when fetching tables from a datasource
- There is a specific issue with this in regards to the smoke build. This will allow me to see deeper into the potential timing issues that are occurring
2022-05-18 14:53:54 +01:00
Dean c77b026b53 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-17 16:54:32 +01:00
Dean 4c25248de8 Builder focus behaviour added to guide users when adding form elements. Refactored the component tests 2022-05-17 15:09:13 +01:00
Mitch-Budibase 40b44035ea Smoke build test changes
createUserAndRoles.spec.js
- Timing issues with the test regarding the smoke build.
- Adding timeout values and reloading the page after role assignment

commands
- Adding a `clear()` to `createAppFromScratch` function.
- Previous test runs show that the placeholder value is being taken at times
2022-05-17 12:40:06 +01:00
Mitch-Budibase 92e6b40b81 Merge branch 'develop' into cypress-testing 2022-05-17 10:34:54 +01:00
Mitch-Budibase d79ccb62d5 IT Ticketing System Template Tests
Two tests for IT Ticketing System template
- Create and publish app
- Filter tickets by status (Skipped for now as functionality seems broken specifically for the CI run, looking into it...)

Commands
- Added new template navigation function
- Added this to appropriate template test files
2022-05-17 10:34:10 +01:00
Martin McKeaveney d68b695d62 Merge pull request #5855 from Budibase/feature/fill-app-name-on-create
Feature/fill app name on create
2022-05-16 17:38:33 +01:00
Mitch-Budibase fa5bd98621 Increase wait for addDatasourceConfig function
Timing issue against the nightly smoke build. This should help with it
2022-05-16 14:59:46 +01:00
Dean 2a1ef4c87f Code review updates 2022-05-16 11:13:17 +01:00
Dean a20bfa62d3 Merge remote-tracking branch 'origin/develop' into feature/fill-app-name-on-create 2022-05-12 17:07:12 +01:00
Dean f78bcdacea App name autofill on create. Initial cypress tests added for importing an application file with a sample fixture 2022-05-12 17:04:05 +01:00
Mitch-Budibase d6bfb392df Skip createBinding test
Specifically the test for adding a URL param binding
- Issues with this test on against the CI (Works fine locally)
- Skipping for now while i investigate this further. Looks like some kind of timing issue for getting the url after a component has been added
2022-05-12 10:25:05 +01:00