-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
198 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
# Copyright 2023 The Tari Project | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
@chat-ffi | ||
Feature: Chat FFI messaging | ||
|
||
Scenario: A message is propagated between an FFI node and client via 3rd party | ||
Scenario: A message is propagated between an FFI node and native client via 3rd party | ||
Given I have a seed node SEED_A | ||
When I have a chat FFI client CHAT_A connected to seed node SEED_A | ||
When I have a chat client CHAT_B connected to seed node SEED_A | ||
When I use CHAT_A to send a message 'Hey there' to CHAT_B | ||
Then CHAT_B will have 1 message with CHAT_A | ||
|
||
Scenario: A message is sent directly between two FFI clients | ||
Given I have a seed node SEED_A | ||
When I have a chat FFI client CHAT_A connected to seed node SEED_A | ||
When I have a chat FFI client CHAT_B connected to seed node SEED_A | ||
When CHAT_A adds CHAT_B as a contact | ||
When I stop node SEED_A | ||
When CHAT_A waits for contact CHAT_B to be online | ||
When I use CHAT_A to send a message 'Hey there' to CHAT_B | ||
Then CHAT_B will have 1 message with CHAT_A |