I want to put in some kind of integration test to ensure the bot can start up and perform basic functions.
Using three discord identities in a guild just for E2E tests:
- ID1: User is the identity who joins the discord guild
- ID2: Approver is the identity who approves the join request
- ID3: Bot is the identity the bot is running as
- Compile & Build Container
- Assume Bot, and Approver joined with correct permissions
- User leaves guild if present
- User joins guild
- TEST: Using Approver identity, Check for Approval message from Bot identity
- Approver gives Emoji reaction
- TEST: Using Approver identity, check for approval confirmation from Bot identity. Check for expected role assignment of User
- User leaves guild
- Tests pass
I want to put in some kind of integration test to ensure the bot can start up and perform basic functions.
Using three discord identities in a guild just for E2E tests: