File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,19 @@ Feature: Targeting rules
145145 | non -string -variant -targeting -flag | 2 |
146146 | empty -targeting -flag | 1 |
147147
148- @flagdcontext
149- Scenario : Use Flagd provided context
148+ @contextEnrichment
149+ Scenario : Use enriched context
150150 Given a String-flag with key "flagd-context-aware" and a default value "not"
151151 When the flag was evaluated with details
152152 Then the resolved details value should be "INTERNAL"
153+
154+ @contextEnrichment
155+ Scenario : Use enriched context on connection error
156+ Given a String-flag with key "flagd-context-aware" and a default value "not"
157+ And a stale event handler
158+ When the flag was evaluated with details
159+ Then the resolved details value should be "INTERNAL"
160+ When the connection is lost for 6s
161+ And a stale event was fired
162+ When the flag was evaluated with details
163+ Then the resolved details value should be "INTERNAL"
You can’t perform that action at this time.
0 commit comments