1
0
Fork 0
mirror of synced 2024-09-10 22:46:09 +12:00
Commit graph

399 commits

Author SHA1 Message Date
Mitch-Budibase
ffd1821f7d 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
4c3e8e44f4 Merge remote-tracking branch 'origin/develop' into feature/app-overview-section 2022-05-11 09:07:30 +01:00
Dean
d9524ba3b6 Cypress test fixes 2022-05-10 22:40:27 +01:00
Dean
43cd89a121 Cypress tests for the overview tab 2022-05-10 16:58:55 +01:00
Dean
7ec75361be Cypress test fixes 2022-05-09 18:00:04 +01:00
Mitch-Budibase
449ee80031 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
214b7f2612 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
d166ac805e 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
c2d6b12749 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
24e901d47e 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
5c04f1b31f 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
cafd2504e6 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
bd64b45a3c 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
8241550471 Merge pull request #5595 from Budibase/cypress-testing
Small changes for Smoke Build
2022-04-26 16:31:19 +01:00
Mitch-Budibase
2b2035b187 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
fb7e724b3a Cypress test fix 2022-04-26 14:41:27 +01:00
Dean
bccaac253a Cypress test fix 2022-04-26 13:54:18 +01:00
Dean
8b8baf9bdd Merge remote-tracking branch 'origin/develop' into feature/new-app-publish-workflow 2022-04-26 12:12:50 +01:00
Dean
24a9656cbc Test fixes and code review refactoring 2022-04-26 12:04:07 +01:00
Mitch-Budibase
c00965d46f Update Commands.js
Updating addDatasourceConfig

Small change for getting the HOST_IP value
2022-04-25 16:25:42 +01:00
Dean
85928e72b2 Merge remote-tracking branch 'origin/develop' into feature/new-screen-addition-ui 2022-04-25 09:06:54 +01:00
Dean
7cbf9c2e61 Cypress fixes for screen create flow 2022-04-22 18:23:16 +01:00
Dean
7a043dcdbd Code styling 2022-04-22 16:36:33 +01:00
Dean
b9f57eecb3 Minor modal refactor for testing. Updates to the cypress tests around creating screens 2022-04-22 14:57:13 +01:00
Dean
1885a3e275 Refactored the screen wizard to separate out the role selection. Design and layout updates to address feedback 2022-04-22 12:22:21 +01:00
Dean
0d63f5d6be Refactored workflow tests to remove use of variables 2022-04-21 14:01:25 +01:00
Dean
6bd59e7f8f Minor test enhancements and publish workflow test spec added 2022-04-21 11:59:59 +01:00
Dean
ea164cb6aa Added cypress attributes for the popover menu 2022-04-20 12:51:44 +01:00
Dean
b2b5fde7ba Cypress test fixes and refactoring. Removed debugging elements 2022-04-20 09:17:01 +01:00
Peter Clement
97c49b11d2 Merge remote-tracking branch 'origin/develop' into feature/foreach-block 2022-04-18 10:05:43 +01:00
Mitch-Budibase
55588415b0 Updated MySQL Duplicate Query test
Fixing the navigation used when selecting queries
2022-04-14 20:20:09 +01:00
Mitch-Budibase
377345a828 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
56b8774b13 lint 2022-04-13 16:02:57 +01:00
Mitch-Budibase
45c39cbcc0 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
57284ec219 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
0446c5f2e2 lint 2022-04-12 17:33:17 +01:00
Mitch-Budibase
f81aed711d 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
29d7987768 Fixed Table Pagination Tests
Previous issues with the second page loading - reloading the page solves it
2022-04-12 16:20:15 +01:00
Mitch-Budibase
87ac25bcea Updated deleteApp function
Added a check for app name, function returns if app does not exist, rather than trying to delete
2022-04-12 15:59:12 +01:00
Peter Clement
8bacbae496 fix cypress 2022-04-12 09:44:24 +01:00
Peter Clement
cfbd729c75 fix automation 2022-04-12 09:15:40 +01:00
Dean
63ec5b0fc3 Minor formatting 2022-04-08 10:31:04 +01:00
Dean
fe9f3aeafc Minor updates for cypress tests. Check that access filtering is reflected 2022-04-08 10:29:19 +01:00
Dean
122c5e6f3a Test updates for screen creation 2022-04-08 09:56:20 +01:00
Dean
0817f3f7b4 Formatting for command 2022-04-07 12:23:19 +01:00
Dean
cffdad78e5 Minor test updates and formatting 2022-04-07 12:22:16 +01:00
Mitch-Budibase
c3447d418f lint 2022-04-01 14:41:45 +01:00
Mitch-Budibase
b64b5edaa7 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
4ad60322ab 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
f3b9a06318 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
Mitch-Budibase
f595112b38 Updating tests to work with test Env
I've made some changes to the tests and commands file to allow for the tests to run within the Test env after the latest round of UI changes.

Some of these changes also allow for testing instances in which apps already exist - This is specific for the test env, the CI runs always have a clean instance
2022-04-01 11:31:18 +01:00
Mitch-Budibase
760a746c7d Moving assign/unassign user role type tests to test env only
The assign roles test seems to be quite flakey.

I am moving it and the unassign roles test to only run in the test environment while i isolate and fix the issue
2022-03-29 18:32:36 +01:00
Dean
864c83990f Replaced the expected string in the data rest test spec to the original 2022-03-29 10:38:56 +01:00
Dean
f512441f11 Cypress test fixes and refactoring around the create app workflows 2022-03-28 23:21:38 +01:00
Andrew Kingston
f40407885a Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-15 11:33:27 +00:00
Mitch-Budibase
bb5799dbd9 Updating REST Test
A bit of a change of structure for how the test runs
-Also adding a wait as the test seems to be timing out on occasion
2022-03-10 13:46:30 +00:00
Andrew Kingston
8131bae496 Update cypress tests for different button casing 2022-03-08 08:46:07 +00:00
Peter Clement
48d8aaea2a Merge pull request #4390 from Budibase/feature/automation-data-types
Adding ability to toggle between Automation input types.
2022-03-01 14:00:21 +00:00
Mitch-Budibase
5e4365eccb Merge pull request #4751 from Budibase/cypress-testing
Changes for Table test - Commands.js
2022-03-01 12:15:44 +00:00
Peter Clement
ffe35bc5ec Merge pull request #4638 from Budibase/feature/table-row-selection
Allow selection of rows from table component
2022-03-01 12:03:24 +00:00
Peter Clement
1a70785c02 fix automation 2022-03-01 11:58:20 +00:00
Mitch-Budibase
38cdf850eb Changes for Table test - Commands.js
Seems like a potential timing issue for the Create Table test

Specifically:
-The datasource modal looks to be sometimes delayed when appearing after app creation
--increasing wait time for after app creation
--Reducing wait within the createTable command
--Updating specific ID to use 'data-cy'
--Updating another ID for the data source modal

I am unable to reproduce this potential issue locally, so making changes in hopes the CI picks it up (if the timing issue still exists)
2022-03-01 11:49:40 +00:00
Peter Clement
baf6c64e24 fix cypress, maybe? 2022-03-01 11:39:48 +00:00
Andrew Kingston
40273b7148 Pls cypress 2022-02-25 16:24:36 +00:00
Andrew Kingston
2434f1169d Try to fix cypress tests again 2022-02-25 13:40:23 +00:00
Rory Powell
e2d1ede339 Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-25 08:22:21 +00:00
Andrew Kingston
67dd8aeaac Try to fix cypress tests 2022-02-23 13:53:15 +00:00
Andrew Kingston
1ec76e3e7e Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-23 13:25:48 +00:00
Andrew Kingston
572cf77644 Try to fix cypress tests 2022-02-23 13:14:28 +00:00
Mitch-Budibase
b6d085a093 Increasing wait times for Assign User Roles test
Assign Roles test within createUserAndRoles is failing on CI.

It is not failing locally for me so i suspect a timing issue
2022-02-23 12:32:16 +00:00
Rory Powell
a80950a5ce Merge branch 'develop' into fix/cypress-port-conflicts 2022-02-22 11:27:26 +00:00
Rory Powell
b9306b5a7a Prevent local port conflicts between account portal and cypress 2022-02-22 11:20:58 +00:00
Mitch-Budibase
2182de8b4a Updating datasourceWizard & revertApp
datasourceWizard
-Making test env only based on datasource usage

revertApp
-Updating a click function
2022-02-18 18:46:58 +00:00
Mitch-Budibase
3672da15d7 Updates/Fixes based on previous test run
General test fixes/updates

-Removed createUser.spec.js - Covered by another file
-Skiipping two tests within queryLevelTransformer
2022-02-18 17:59:33 +00:00
Mitch-Budibase
153f3454fa Merge branch 'develop' into cypress-testing 2022-02-17 14:22:21 +00:00
Mitch-Budibase
0baafb230b Re-adding tests
I had removed a lot of these for checking against the CI - adding them back in
2022-02-17 14:06:17 +00:00
Martin McKeaveney
a495050871 merge with develop 2022-02-10 11:39:15 +01:00
Mitch-Budibase
c95f7da55e Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-02-09 14:17:17 +00:00
Mitch-Budibase
5930956c8e Stripping out another test spec file
Temporary removal of radio buttons tests
2022-02-09 14:17:03 +00:00
Mitch-Budibase
dd8b39ed06 Merge branch 'develop' into cypress-testing 2022-02-09 13:53:17 +00:00
Mitch-Budibase
3ac0d544f2 temporarily stripping tests to review CI against tests
Many tests are failing against the CI
-I'm stripping a lot out for now to verify the CI going green
2022-02-09 12:56:27 +00:00
mike12345567
b847b578c7 Making sure worker runs through ts-node in cypress, locally, then built in CI. 2022-02-01 16:02:44 +00:00
mike12345567
e642268364 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-02-01 14:33:02 +00:00
Martin McKeaveney
c11e26cb2e merge 2022-02-01 11:22:14 +01:00
Maurits Lourens
6eca23541f build app before running e2e tests 2022-01-31 23:13:42 +01:00
Martin McKeaveney
cca6d18af4 point to MinIO instance instead of through proxy 2022-01-30 21:25:56 +01:00
Martin McKeaveney
7c4d7e0e8f nginx prod config, security headers and content-security policies 2022-01-30 21:11:59 +01:00
mike12345567
91a90e62b2 Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
Mitch-Budibase
ca8eaf0df3 AutoScreens Test update
increasing wait time for createAutogeneratedScreens command
-associated with auto screens tests
2022-01-21 18:40:32 +00:00
Mitch-Budibase
5c972f4510 Lint
ignoring lint for entire query support files, rather than just ignoring a specific line
2022-01-21 17:50:16 +00:00
Mitch-Budibase
6a0a92d7e1 Updates to query files
queryLevelTransformerFunction
-adding eslint-disable-next-line

queryLevelTransformerFunctionWithData
-adding eslint-disable-next-line
-Removing const stateCode - not required
2022-01-21 17:38:22 +00:00
Mitch-Budibase
434460feb9 Oracle & Table pagination Test Env Only
createTable
-Pagination is now Test Env only

oracle
-Test Env only
-Removed smoke test tag

commands
-Fix for createApp command
-Increase wait for createRestQuery command
2022-01-21 17:28:33 +00:00
Mitch-Budibase
5d63dbd9a6 Commands Update & Query Files
-Updating Commands file to include all recent changes
-Added query files (2 of them) - required for query level transformers testing
-Cypress.json updated to remove "/builder/"
-Updating cypress version in package.json
-Missing }) within addmultioptiondatatype.spec.js
2022-01-21 14:41:53 +00:00
mike12345567
60e6cc3e9a Merge branch 'cypress-testing' of github.com:Budibase/budibase into cypress-testing 2022-01-21 13:37:25 +00:00
Mitch-Budibase
e39c5b4c25 lint changes 2022-01-21 13:12:16 +00:00
Mitch-Budibase
daebee184d Merge branch 'cypress-testing' of https://github.com/Budibase/budibase into cypress-testing 2022-01-21 12:56:33 +00:00
Mitch-Budibase
8b8cb21ec3 Adding tags to tests
Currently there is 'smoke' and 'all' tags
2022-01-21 12:43:27 +00:00
Peter Clement
bc521af082 fix cypress createApp command 2022-01-20 11:51:41 +00:00
Peter Clement
09611d3aad Merge remote-tracking branch 'origin/develop' into fix/template-row-limit 2022-01-20 09:53:39 +00:00
Peter Clement
27a8fefaa4 fix cypress 2022-01-20 09:44:40 +00:00