Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@XMLHexagram
Copy link
Collaborator

@XMLHexagram XMLHexagram commented Nov 14, 2025

This PR is aimed to improve e2e test, related to #1079.

I referenced @ernado's reply in tdlib/td#3083 when implemented this PR.

In this PR, I switch e2e test from server teamgram to telegram official server.

Currently, the account data for e2e testing is exported from a vacant account.

Let me explain how it works.

First, the account credentials used in e2e testing can be exported from tools/export_credentials. These credentials are then stored in the GitHub Environment Secrets. For example, the e2e action now automatically reads the TG_CREDENTIALS variable from the Main environment and uses it for testing.

Finally, owner and maintainers can start e2e testing by commenting /e2e in a PR or by manually triggering the process.

BTW, I set a 3min timeout and 1s interval on e2e test, to reduce rate limit.

I already test this PR in my fork, please check XMLHexagram#2.

If needed, I can provide an account for testing in tdl.

@iyear
Copy link
Owner

iyear commented Nov 23, 2025

Thanks! the PR is large, and I’ll take some time to review it later.

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.

3 participants