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
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
Datasource (MySQL, PostgreSQL)
- Test should now pass for smoke build
Table Tests
- Removed pagination tests - no pagination in the smoke build test run
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
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)
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
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
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)
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
-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
Removing a line from addMultiOptionDatatype
Also adding a wait when creating an app - smoke build looks to have a timing issue with some tests
-Just a 2 second wait for now
Structural changes surrounding data sources
-Cypress env file removed
-Text change for fetching tables
-Oracle tests organised
-PostgreSQL tests organised
New test is for skipping table fetch via button
There are a few other smaller changes
-Changes made to reflect the new layouts of the test env
--e.g. Changes to the app grid, changes to UI screens
-Updated commands
--New commands added & some updated
-New tests
--Revert App
--AutoScreensUI
--Change app icon and colour
--Data source testing
In particular to data source testing
-I have a file for mySQL, PostgreSQL, Oracle, and REST.
--enabled better regression testing for each
Other changes made for:
-QueryLevelTransformers tests
-Table tests
-Renaming applications
-Automations
-Multi-option datastype
New env file added too
Changes as per PR
-Created files for transformer queries - tests updated accordingly
-Updates for Env variables and usage
-Changes surrounding App Rename testing
-Changing baseurl to be the test env
-Made a few updates to existing tests/commands
--New commands also added
-Add Radio Button Test
-Add Multi Option Datatype test
-Custom Theming Properties Test
--Just the one so far, more to come