Commit Graph

321 Commits

Author SHA1 Message Date
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
MihailHadzhiev2022 7b687df638 Small fixes 2022-05-31 17:01:11 +03:00
MihailHadzhiev2022 5bd19b9e42 Adding interact locators for createComponent cypress test 2022-05-30 15:45:04 +03: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
Dean 702b62f8e6 Expanding the focus behaviour to more component types in the builder. Minor fix for cypress test 2022-05-24 09:58:05 +01:00
MihailHadzhiev2022 4b69f5ec9c adding interact locators for APP_Publish_WORK_FLOW 2022-05-23 11:36:54 +03:00
Dean 9d79e6a554 Merge remote-tracking branch 'origin/develop' into feature/required-field-focus 2022-05-20 09:09:50 +01:00
Mitch-Budibase 333279f66c 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 b530e86d29 Merge branch 'develop' into cypress-testing 2022-05-19 15:24:36 +01:00
Mitch-Budibase a6c7b6ab26 Template Testing Refactor
Directly visiting the templates URL
2022-05-19 15:23:53 +01:00
Dean da18b6433c Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-19 13:32:57 +01:00
Dean 3c86bd24f2 Cypress test updates and back button update for the create screen 2022-05-19 13:32:05 +01:00
Mihail Hadzhiev 055bc8261e
Merge pull request #5974 from Budibase/cypressTests
adding locators for AddRadioButtons test
2022-05-19 12:03:21 +03:00
MihailHadzhiev2022 85d7a23867 adding locators for AddRadioButtons test 2022-05-18 16:29:22 +03: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
Dean 93f90405cf 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 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 344bd1b3b3 adding locators
adding interact.js
adding locators
2022-05-16 15:32:04 +03: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 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
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 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
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
Dean 79616e705a Merge remote-tracking branch 'origin/develop' into feature/new-screen-addition-ui 2022-04-25 09:06:54 +01:00
Dean 6408b6204c Cypress fixes for screen create flow 2022-04-22 18:23:16 +01:00
Dean 86eb359cac Code styling 2022-04-22 16:36:33 +01:00
Dean cf15ed2511 Minor modal refactor for testing. Updates to the cypress tests around creating screens 2022-04-22 14:57:13 +01:00
Dean 2dc86fe2d3 Refactored workflow tests to remove use of variables 2022-04-21 14:01:25 +01:00
Dean 16cccf5bb3 Minor test enhancements and publish workflow test spec added 2022-04-21 11:59:59 +01:00
Dean d57e8ef9cc Added cypress attributes for the popover menu 2022-04-20 12:51:44 +01:00
Dean 9a49535748 Cypress test fixes and refactoring. Removed debugging elements 2022-04-20 09:17:01 +01:00
Peter Clement 453f49aed8 Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-18 10:05:43 +01:00
Mitch-Budibase e4707a2e53 Updated MySQL Duplicate Query test
Fixing the navigation used when selecting queries
2022-04-14 20:20:09 +01:00
Mitch-Budibase 5168676165 Smoke Build Changes
Datasource (MySQL, PostgreSQL)
- Test should now pass for smoke build

Table Tests
- Removed pagination tests - no pagination in the smoke build test run
2022-04-14 17:15:34 +01:00
Mitch-Budibase eb31242b20 Updated PostgreSQL & Oracle Tests
PostgreSQL
- Test fixes (May still fail due to connection issues on smoke build)

Oracle
- Test fixes
- Skipping most tests (Oracle host needs configured)

commands.spec.js
- minor change to addDatasourceConfig function
2022-04-13 15:54:40 +01:00
Mitch-Budibase 9b12a9deea Updated MySQL Tests
It may still fail as part of the smoke build due to connection issues - for now, direct test issues are resolved
2022-04-13 14:33:37 +01:00
Mitch-Budibase eba7df7255 Updated createApp.spec.js
The test 'should provide filterable templates' was failing on the smoke build.

Updated to check existence of apps and act accordingly
2022-04-12 17:24:15 +01:00
Mitch-Budibase d775fd7d5f Fixed Table Pagination Tests
Previous issues with the second page loading - reloading the page solves it
2022-04-12 16:20:15 +01:00
Peter Clement dfa37bc65e fix cypress 2022-04-12 09:44:24 +01:00
Peter Clement 09c803248e fix automation 2022-04-12 09:15:40 +01:00
Dean e0ebd08cf6 Minor formatting 2022-04-08 10:31:04 +01:00
Dean 3a563fe922 Minor updates for cypress tests. Check that access filtering is reflected 2022-04-08 10:29:19 +01:00
Dean f8f311f924 Test updates for screen creation 2022-04-08 09:56:20 +01:00
Dean 73a7fdabaa Minor test updates and formatting 2022-04-07 12:22:16 +01:00
Mitch-Budibase db0b6f8441 Changing test structure when searching for applications
Search functionality is not available when only 1 app exists - Updating to reflect this
2022-04-01 14:37:11 +01:00
Mitch-Budibase 9ffd278d80 Changes to renameAnApplication & createUserAndRoles
renameAnApplication - changing the navigation to a direct URL rather than clicking the home logo button
createUserAndRoles - Removing the After action (now supports correct flow of tests)
2022-04-01 13:15:06 +01:00
Mitch-Budibase 5525859ba7 Adding and increasing wait times surrounding renameAnApplication.spec.js
Passes locally but looks like a timing issue when run against the CI.

Adding and increasing wait times to hopefully combat this. I will extend further if unsuccessful
2022-04-01 12:05:31 +01:00