Skip to content

Integration Testing #18

@alex4108

Description

@alex4108

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
  1. Compile & Build Container
  2. Assume Bot, and Approver joined with correct permissions
  3. User leaves guild if present
  4. User joins guild
  5. TEST: Using Approver identity, Check for Approval message from Bot identity
  6. Approver gives Emoji reaction
  7. TEST: Using Approver identity, check for approval confirmation from Bot identity. Check for expected role assignment of User
  8. User leaves guild
  9. Tests pass

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions