-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsync-payload.feature
More file actions
28 lines (24 loc) · 1.06 KB
/
sync-payload.feature
File metadata and controls
28 lines (24 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@in-process @sync-payload
Feature: Disabled Sync Metadata
Background:
Given a syncpayload flagd provider
Scenario: Use enriched context
Given a String-flag with key "flagd-context-aware" and a default value "not"
When the flag was evaluated with details
Then the resolved details value should be "INTERNAL"
@grace
Scenario: Use enriched context on connection error for IN-PROCESS
Given a String-flag with key "flagd-context-aware" and a default value "not"
And a stale event handler
And a ready event handler
When the flag was evaluated with details
Then the resolved details value should be "INTERNAL"
When the connection is lost for 6s
And a stale event was fired
When the flag was evaluated with details
Then the resolved details value should be "INTERNAL"
When a ready event was fired
Scenario: Resolve value independent of context
Given a Boolean-flag with key "boolean-flag" and a default value "false"
When the flag was evaluated with details
Then the resolved details value should be "true"