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.
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
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
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
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
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
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
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