Skip to content

test: remove the e2e agent tests, now in geocontext-test - #210

Open
esgn wants to merge 1 commit into
mainfrom
170/remove-test-e2e
Open

esgn wants to merge 1 commit into
mainfrom
170/remove-test-e2e

Conversation

@esgn

@esgn esgn commented Oct 2, 2026

Copy link
Copy Markdown
Member

Description

Removes test:e2e integration tests.

Related issues (if applicable)

Close #170

Motivation

End-to-end tests with an LLM agent live in https://github.com/ignfab/geocontext-test.

Implementation

Remove test/integration/level2-agent, its helpers and vitest.e2e.config.mts, the test:e2e and verify:full scripts, the LangChain dev dependencies only they used, their documentation and the .env.e2e entry of .gitignore, which is regrouped by purpose.

Testing

npm run build && npm run verify:fast

Checklist

  • The PR is focused and of a reasonable size.
  • The commit history is clean.
  • Relevant documentation has been updated.
  • Relevant tests have been added or updated.

End-to-end tests with an LLM agent live in https://github.com/ignfab/geocontext-test. Remove test/integration/level2-agent, its helpers and vitest.e2e.config.mts, the test:e2e and verify:full scripts, the LangChain dev dependencies only they used, their documentation and the .env.e2e entry of .gitignore, which is regrouped by purpose.
Comment on lines -95 to -102
testName: "should find that Sivom swimming pool in Mondeville is the nearest pool to the LUX cinema in Caen, and that the walking distance is 29 minutes",
userInput: "Quel est le temps de marche exact entre le cinéma LUX, situé au sud-est de Caen, et la piscine la plus proche ?",
toolMode: "mcp",
requiredToolCalls: ["geocode", "gpf_search_types", "gpf_describe_type", "gpf_get_features", "distance"],
expectedResponseFragments: ["Sivom", "Mondeville"],
assertScenarioResult: ({ normalizedFinalMessage }) => {
expect(containsNumberInRange(normalizedFinalMessage, 25, 35)).toBe(true);
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test was added recently, so I don't think it was ported to geocontext-test. Did you check that it was the only one missed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, I just deleted everything ;)
So we need to compare everything between here and geocontext-test and make issues in geocontext-test.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied to ignfab/geocontext-test#38, so it is not blocking for this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove "test:e2e" from geocontext repository

2 participants