I am working on developing a project to automate the testing of my business central application (version 21). However, I am unable to include test libraries in the project at this time.
I adhered to the instructions in the manual and set up the business central version 21 sandboxes on docker.
Nevertheless, I am unable to access any test library references. This is my application. json:
{
"id": "e6010585-50b3-4e3a-8c9a-65c9fd591a0f",
"name": "GeoLocalizationTest",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies":
{
"id": "99aa9ff9-ec49-40ca-9fa0-5726b66419fa",
"name": "GeoLocalization",
"publisher": "BIT",
"version": "1.0.0.0"
},
"test": "21.0.0.0",
"screenshots":,
"platform": "1.0.0.0",
"application": "21.0.0.0",
"idRanges":
{
"from": 71372600,
"to": 71372600
},
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": true,
"includeSourceInSymbolFile": true
},
"runtime": "10.0",
"features": "NoImplicitWith"
}
here is the error:
The request for path /BC/dev/packages?publisher=Microsoft&appName=Test&versionText=21.0.0.0&appId=00000000-0000-0000-0000-000000000000&tenant=default failed with code Not Found. Reason: No published package matches the provided arguments.
Here's a link that may help you.
Introduction to test automation in Business Central - Training | Microsoft Learn