1
0
Fork 0
mirror of synced 2024-09-11 06:56:23 +12:00
Commit graph

356 commits

Author SHA1 Message Date
mike12345567
c528896e2d Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 2022-05-17 17:44:40 +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
Mitch-Budibase
d21ac62d01 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
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
Mitch-Budibase
abbb487dd2 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
ce4a0270bc 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
Mitch-Budibase
04519cf950 Update commands.js
Commenting out createScreen function call within createTestApp
2022-05-11 18:22:52 +01:00
Mitch-Budibase
7fc7c5a2fc 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
0355716c34 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
d20d0a65c5 Merge branch 'develop' into cypress-testing 2022-05-11 16:50:23 +01:00
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
d9524ba3b6 Cypress test fixes 2022-05-10 22:40:27 +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