-
Notifications
You must be signed in to change notification settings - Fork 53
test: Integration test for fiori MCP using promptfoo #3705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
very first version
🦋 Changeset detectedLatest commit: 8556d73 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
project path
dependencies resolution update
3ee8e61 to
ccb9083
Compare
structure
add local test project and setup to use such project during test
some experiments and custom assert with snapshot
snapshot check
snapshots
output
snapshot segments and loose check and allow pass setup files
more tests
more tests
remove demo approach
cleanup
more scenarios
adjustments
delete obsolete files
additional test
change folder structure
snapshot
cleanup
…AP/open-ux-tools into feat/mcpServerPromptFooIntTest
8ae5c40 to
0a849db
Compare
retrigger
retrigger
donal-tobin-sap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package-lock from test should not be added to source control
review comment
8556d73
@donal-tobin-sap |
|
donal-tobin-sap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look to be fine to me.
* main: (105 commits) chore: apply latest changesets Resolve Transport Request Checks for Download Quick Fiori App Deploy (#3819) test: v4 project builder (#3682) chore: apply latest changesets fix: bump specVersion to v4.0 (#3744) chore: apply latest changesets test: Integration test for fiori MCP using promptfoo (#3705) chore: apply latest changesets fix: move message to store creds prompt, tests, changeset (#3820) chore: apply latest changesets fix: bump fallback versions (#3813) chore: apply latest changesets chore - upgrade ui5 devDeps (#3771) correct publisher to SAPOSS (#3817) chore: apply latest changesets fix: cloud system render logic, message wording, test connection logging (#3811) chore: apply latest changesets chore: bump application insights to 2.9.8 (#3812) chore: apply latest changesets fix(fiori-mcp): instrumentation key replacement (#3810) ...
* origin/main: chore: apply latest changesets feat(create): auto generate readme on build (#3760) chore: apply latest changesets Resolve Transport Request Checks for Download Quick Fiori App Deploy (#3819) test: v4 project builder (#3682) chore: apply latest changesets fix: bump specVersion to v4.0 (#3744) chore: apply latest changesets test: Integration test for fiori MCP using promptfoo (#3705) chore: apply latest changesets fix: move message to store creds prompt, tests, changeset (#3820) chore: apply latest changesets fix: bump fallback versions (#3813)
…ter/building-block-custom-filter * 'main' of github.com:SAP/open-ux-tools: (32 commits) chore: apply latest changesets feat(create): auto generate readme on build (#3760) chore: apply latest changesets Resolve Transport Request Checks for Download Quick Fiori App Deploy (#3819) test: v4 project builder (#3682) chore: apply latest changesets fix: bump specVersion to v4.0 (#3744) chore: apply latest changesets test: Integration test for fiori MCP using promptfoo (#3705) chore: apply latest changesets fix: move message to store creds prompt, tests, changeset (#3820) chore: apply latest changesets fix: bump fallback versions (#3813) chore: apply latest changesets chore - upgrade ui5 devDeps (#3771) correct publisher to SAPOSS (#3817) chore: apply latest changesets fix: cloud system render logic, message wording, test connection logging (#3811) chore: apply latest changesets chore: bump application insights to 2.9.8 (#3812) ...
…i_custom_into_fiori_tools_plugin * origin/eslint9: (52 commits) chore: apply latest changesets update building block svg (#3826) chore: apply latest changesets feat(create): auto generate readme on build (#3760) chore: apply latest changesets Resolve Transport Request Checks for Download Quick Fiori App Deploy (#3819) test: v4 project builder (#3682) chore: apply latest changesets fix: bump specVersion to v4.0 (#3744) chore: apply latest changesets test: Integration test for fiori MCP using promptfoo (#3705) chore: apply latest changesets fix: move message to store creds prompt, tests, changeset (#3820) chore: apply latest changesets fix: bump fallback versions (#3813) chore: apply latest changesets chore - upgrade ui5 devDeps (#3771) correct publisher to SAPOSS (#3817) chore: apply latest changesets fix: cloud system render logic, message wording, test connection logging (#3811) ...
…fiori_tools_plugin' into eslint9_merge_fiori_custom_into_fiori_tools_plugin_update_templates * origin/eslint9_merge_fiori_custom_into_fiori_tools_plugin: chore: apply latest changesets update building block svg (#3826) chore: apply latest changesets feat(create): auto generate readme on build (#3760) chore: apply latest changesets Resolve Transport Request Checks for Download Quick Fiori App Deploy (#3819) test: v4 project builder (#3682) chore: apply latest changesets fix: bump specVersion to v4.0 (#3744) chore: apply latest changesets test: Integration test for fiori MCP using promptfoo (#3705) chore: apply latest changesets fix: move message to store creds prompt, tests, changeset (#3820) chore: apply latest changesets fix: bump fallback versions (#3813)
* origin/main: (31 commits) chore: apply latest changesets fix: improve handling for saving systems (#3828) chore: apply latest changesets chore: Update `@sap/cf-tools` version to latest to avoid security issues (#3809) chore: apply latest changesets feat(fiori-docs-embeddings): add @sap-ux/create/README.md as resource (#3779) fix: run tests on windows (#3823) chore: apply latest changesets update building block svg (#3826) chore: apply latest changesets feat(create): auto generate readme on build (#3760) chore: apply latest changesets Resolve Transport Request Checks for Download Quick Fiori App Deploy (#3819) test: v4 project builder (#3682) chore: apply latest changesets fix: bump specVersion to v4.0 (#3744) chore: apply latest changesets test: Integration test for fiori MCP using promptfoo (#3705) chore: apply latest changesets fix: move message to store creds prompt, tests, changeset (#3820) ...



Version for Integration test for fiori MCP using promptfoo -> https://github.com/SAP/open-ux-tools/tree/feat/mcpServerPromptFooIntTest/packages/fiori-mcp-server/test/integration
Current commands/scripts:
pnpm test:integration:once- run tests single time;pnpm test:integration:multiple- run each test 5 times;pnpm view:integration- opens promptfoo view with test runs history;Structure:
Current tests -> https://github.com/SAP/open-ux-tools/tree/feat/mcpServerPromptFooIntTest/packages/fiori-mcp-server/test/integration/scenarios
Additional change in https://github.com/SAP/open-ux-tools/blob/main/packages/fiori-mcp-server/src/types/input.ts - description for ExecuteFunctionalityInputSchema is updated as sometimes
parameterswas not passed withinparametersobject, but outside ofparametersproperty