status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

Create more communities in e2e (x86_64) builds

Open yevh-berdnyk opened this issue 1 year ago • 0 comments

Problem

In order to check token gated communities and communities with permissions by e2e tests we need an ability to create such communities in e2e mobile builds. Now we can create open and closed communities in e2e builds but we need to extend this functionality with the options described below.

Implementation

When clicking the Plus button on the Communities view we should see the next options:

  • [ ] Create token gated community. This option already exists in e2e builds. Created community name is SNT community but should be renamed to Token Gated Community. Membership permission costs 10 SNT. Join Community button should be renamed to Request to Join. Requests to join should be manually approved. This community should contain 5 channels:

    • General - open for all and free to view and post
    • Lions - user should have 1 SNT to view this channel
    • Birds - user should have 1 ETH to view this channel
    • Trees - user should be able to post in this channel if having 1 SNT otherwise it’s view only
    • Flowers - user should be able to post in this channel if having 1 ETH otherwise it’s view only
  • [ ] Create 1 SNT to become an admin community. Created community name should be SNT Admin community. A user should have 1 STT to become an admin of this community. Requests to join are accepted automatically. The next channels to include:

    • General - open for all and free to view and post
    • Sounds - user should have 1 SNT to view this channel
    • Colors - user should have 1 ETH to view this channel
    • Books - user should be able to post in this channel if having 1 SNT otherwise it’s view only
    • Sports - user should be able to post in this channel if having 1 ETH otherwise it’s view only
  • [ ] Create community with admin and membership permissions. The created community name to be is Admin and Member Community. A user should have 1 ETH to become an admin or 1 SNT to become a member of this community. Requests to join are accepted automatically. The next channels to include:

    • General - open for all and free to view and post
    • Party - user should have 1 SNT to view this channel
    • Birthday - user should have 1 ETH to view this channel
    • Travel - user should be able to post in this channel if having 1 SNT otherwise it’s view only
    • Cars - user should be able to post in this channel if having 1 ETH otherwise it’s view only

Acceptance Criteria

E2e (x86_64) and PR builds - can create listed communities and join them Nightly and release builds - still not available to create any communities

yevh-berdnyk avatar Feb 14 '24 15:02 yevh-berdnyk