Skip to content

Commit 1ff53dc

Browse files
committedDec 18, 2024··
docs(tests): add documentation around limitations of initial workplace setup
1 parent 994f987 commit 1ff53dc

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
 

‎doc/dev/tests.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Users, teams and sources
2+
3+
It is possible to removed all cassettes from this repository and run them all by providing a valid personal access token.
4+
5+
However, for users, teams and sources, this requires a workplace with enough data filled in.
6+
7+
## For source related tests
8+
9+
We require the workplace to have:
10+
11+
- At least two sources
12+
13+
## For member related tests
14+
15+
We require the workplace to have:
16+
17+
- At least two members, they should have different access levels
18+
- At least one invitation sent out
19+
20+
## For team related tests
21+
22+
We require the workplace to have :
23+
24+
- At least two teams
25+
- These teams should have 2 or more members
26+
- These teams should have at least one monitored source in their perimeter
27+
- ⚠️ No team should have all available sources in their perimeter
28+
- There should exist a team where at least one member is not invited
29+
- There should exist one pending team invitation
30+
31+
> Keep in mind that some of these tests will delete resources, so they should run in an isolated workplace

0 commit comments

Comments
 (0)
Please sign in to comment.