1
0
Fork 0
mirror of synced 2024-06-27 18:40:42 +12:00
Commit graph

380 commits

Author SHA1 Message Date
Dean 45485f3653 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-19 09:05:29 +01:00
Mitch-Budibase b6d9c0d147 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 346c5426eb Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-18 17:12:02 +01:00
Mitch-Budibase 86060705c6 Merge branch 'develop' into cypress-testing 2022-05-18 14:54:57 +01:00
Mitch-Budibase 0237854826 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 180e3dad92 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-18 14:18:42 +01:00
Mihail Hadzhiev fbceb5449a
Merge pull request #5954 from Budibase/cypressTests
adding interact locators for AddMultiOptionDataType test
2022-05-18 15:10:18 +03:00
MihailHadzhiev2022 5dd70a106b adding interact locators for AddMultiOptionDataType test 2022-05-18 14:09:58 +03:00
Dean 2d074f5ec8 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-17 16:54:32 +01:00
Mitch-Budibase aec6593a31 Update createApp.spec.js
Adding some waits around deleting apps - Specific issue against the Smoke build
2022-05-17 15:13:10 +01:00
Mitch-Budibase a1ec209bfb Update createUserAndRoles.spec.js
Updating the before hook to delete the test app before trying to create a new one
2022-05-17 13:32:29 +01:00
Mitch-Budibase 7c958926c2 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 c555d2130f Merge branch 'develop' into cypress-testing 2022-05-17 10:34:54 +01:00
Mitch-Budibase 91f934b406 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
MihailHadzhiev2022 59f788e860 Update createApp.spec.js
resolve conflict
2022-05-17 11:02:24 +03:00
MihailHadzhiev2022 69ab518ac9 Merge branch 'develop' into cypressTests 2022-05-17 11:01:13 +03:00
Martin McKeaveney dc34e86431
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 c2beb5926b 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
MihailHadzhiev2022 344bd1b3b3 adding locators
adding interact.js
adding locators
2022-05-16 15:32:04 +03:00
Dean 883765f894 Code review updates 2022-05-16 11:13:17 +01:00
Dean b4d893fba2 Merge remote-tracking branch 'origin/develop' into feature/fill-app-name-on-create 2022-05-12 17:07:12 +01:00
Dean e0a9f4d6c8 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 a41eba60be 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 bdfbcc6f76 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
Mitch-Budibase cb6b312145 Increase wait for addComponent
Sometimes after adding a component, the incorrect component ID is selected, causing test fails. This wait should allow the correct component ID to be selected
2022-05-11 23:14:06 +01:00
Mitch-Budibase 702deee511 Update commands.js + createApp.spec.js
commands.js
- Increasing wait due to timing issue for specific test runs.
- Added `{ force: true }` to assist with adding components

createApp.spec.js
- Increasing wait due to timing issue for specific test runs
2022-05-11 21:13:57 +01:00
Dean a08c3249c6 Cypress test fixes and a correction for the version update behaviour 2022-05-11 19:37:12 +01:00
Mitch-Budibase be6dea74aa Update commands.js
Commenting out createScreen function call within createTestApp
2022-05-11 18:22:52 +01:00
Mitch-Budibase 72c029a1b5 Update Commnds.js
Specifically updating the createTestApp function
- Creates a 'home' screen when a test app is being created
2022-05-11 17:23:05 +01:00
Mitch-Budibase b74e42ec98 Update Commands.js
Adding `{ force: true }` to click functionality in several places.

There seems to be a discrepancy with clicks while running the smoke build
2022-05-11 17:04:54 +01:00
Mitch-Budibase 47a6b2d5ed Merge branch 'develop' into cypress-testing 2022-05-11 16:50:23 +01:00
Mitch-Budibase 2e53a80219 Update DeleteApp function & Enable Cypress video flag
Commands.js
- DeleteApp does not need specific functionality for test env

cypress.json
- Enabling video flag for Cypress
2022-05-11 16:49:27 +01:00
Dean 7212124f8f Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-11 09:07:30 +01:00
Dean 7a2037410f Cypress test fixes 2022-05-10 22:40:27 +01:00
Dean 044d52edb4 Cypress tests for the overview tab 2022-05-10 16:58:55 +01:00
Dean fbcd64aad2 Cypress test fixes 2022-05-09 18:00:04 +01:00
Mitch-Budibase fd3931312b Skipping 2 Job Application Tracker tests
The tests are
- Filter application by stage
- Edit application

The template functionality seems to differ between test env, CI, etc. Skipping these tests for now while i debug, and leaving the passing tests in
2022-05-06 13:18:10 +01:00
Mitch-Budibase 88e410a30a More Job Application Tracker Template Tests
Edit an application
- Change application from not hired to hired
- Confirm relative sections update

Delete an application
- Currently skipped as there seems to be an issue with deleting an application within the template
2022-05-05 17:32:16 +01:00
Mitch-Budibase 81bce4fa7b Job Application Tracker Template Tests
2 more tests associated with the Job Application Tracker template
- Add active/inactive vacancies
- Filter applications by stage

Tests utilise pre-populated data already associated with the template
2022-05-05 14:26:21 +01:00
Mitch-Budibase 473bdc87e6 Assign user roles test fix
Changing the conditionals for creating user and assigning roles. Should assist with the test issues
2022-05-05 11:22:04 +01:00
Mitch-Budibase e96a5101e3 Update command.js
Increasing wait for createApp function - Seems to be timing issues for the smoke build with this
2022-05-04 18:08:09 +01:00
Mitch-Budibase f2c7097f36 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 4afd6ab2b4 Job Application Template Test
jobApplicationTracker.spec.js
- New file and test
- Creates and publishes Job Application Tracker app. Also verifies View URL button works

commands.js
- Updated deleteApp function
2022-05-04 17:06:27 +01:00
Mitch-Budibase edc8d7f1f7 Templates Details Tests
Added tests which check the details button for each template.
- Split per category (Will add more specific template tests under each category)
- Checks template name matches url (There are a few exceptions)
- Checks status of url - expects 200 back each time

Also updated the DeleteApp Function
- Fixed a smoke test issue associated with deleting the tests app
2022-04-28 17:50:06 +01:00
Mitch-Budibase 2cf15cfb9f
Merge pull request #5595 from Budibase/cypress-testing
Small changes for Smoke Build
2022-04-26 16:31:19 +01:00
Mitch-Budibase 61dbcb780a Updated commands.js
createScreen command now uses a specific data-cy id

also added 1 second wait within selectExternalDatasource - assists with timing for smoke build
2022-04-26 15:56:11 +01:00
Dean 04c678192b Cypress test fix 2022-04-26 14:41:27 +01:00
Dean 02b0c62691 Cypress test fix 2022-04-26 13:54:18 +01:00
Dean 5545cd84c5 Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-26 12:12:50 +01:00
Dean f00344ddc7 Test fixes and code review refactoring 2022-04-26 12:04:07 +01:00