Browse Source

Fix integration tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/424/head
Joas Schilling 8 years ago
parent
commit
9448f73a7a
No known key found for this signature in database GPG Key ID: E166FD8976B3BAC8
  1. 16
      tests/integration/features/callapi/public.feature

16
tests/integration/features/callapi/public.feature

@ -38,10 +38,10 @@ Feature: callapi/public
And user "participant1" adds "participant2" to room "room" with 200
Then user "participant1" is participant of room "room"
Then user "participant3" is not participant of room "room"
And user "participant3" sees 0 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
Then user "participant1" joins call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 1 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
And user "participant3" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "participant3" sees 2 peers in call "room" with 200
@ -50,20 +50,20 @@ Feature: callapi/public
And user "participant3" sees 2 peers in call "room" with 200
Then user "participant3" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "participant3" sees 1 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
Then user "participant1" leaves call "room" with 200
Then user "participant1" sees 0 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 200
And user "participant3" sees 0 peers in call "room" with 404
Scenario: User1 invites user2 to a public room and guest can do everything
When user "participant1" creates room "room"
| roomType | 3 |
And user "participant1" adds "participant2" to room "room" with 200
Then user "participant1" is participant of room "room"
And user "guest" sees 0 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
Then user "participant1" joins call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 1 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
And user "guest" joins call "room" with 200
Then user "participant1" sees 2 peers in call "room" with 200
And user "guest" sees 2 peers in call "room" with 200
@ -72,7 +72,7 @@ Feature: callapi/public
And user "guest" sees 2 peers in call "room" with 200
Then user "guest" leaves call "room" with 200
Then user "participant1" sees 1 peers in call "room" with 200
And user "guest" sees 1 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
Then user "participant1" leaves call "room" with 200
Then user "participant1" sees 0 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 200
And user "guest" sees 0 peers in call "room" with 404
Loading…
Cancel
Save