Skip to content

Conversation

@KristjanESPERANTO
Copy link
Collaborator

@KristjanESPERANTO KristjanESPERANTO commented Dec 10, 2025

I would like to reduce the number of failed tests. As a start, I suggest first deactivate the tests for both profiles - DB and SNCB.

Currently, 201 E2E tests are failing. After this change, there will be 25 fewer. I would look at the rest step by step.

Since the endpoints will most likely not return, we could alternatively remove them completely.

related: #284 and #306

@traines-source
Copy link
Member

I haven't looked into it closely, but hafas.bene-systems.com (cf #41) could actually be a viable replacement for some of that.

@KristjanESPERANTO KristjanESPERANTO changed the title DB + SNBC: skip all E2E tests after endpoints permanently shut down DB + SNCB: skip all E2E tests after endpoints permanently shut down Dec 11, 2025
@KristjanESPERANTO
Copy link
Collaborator Author

Thanks for the hint! I looked into hafas.bene-system.com. The mgate.exe API exists but requires authentication:

curl -s -X POST "https://hafas.bene-system.com/bin/mgate.exe" \
  -H "Content-Type: application/json" \
  -d '{"ver":"1.52","lang":"eng","auth":{"type":"AID","aid":"test"},"client":{"type":"AND"},"svcReqL":[{"meth":"ServerInfo","req":{}}]}' | jq '.err, .errTxt'
# Output: "AUTH", "HCI Core: Authorization fail"

I think that until we resolve this, the SNBC tests should be disabled.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants