-
-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Variables we use in composite step for Lifecycle: After are not resolved and step fails
To Reproduce
Some part of the story:
Lifecycle:
After:
Scope: STORY
When I delete taxId created for ABO registration
Examples:
/regression/tables/${locale}/Regression.table
So we have variables in /regression/tables/${locale}/Regression.table
Composite itself:
Composite: When I delete taxId created for ABO registration
When the condition `#{eval("${locale}" =~ ["BE", "ES", "ID", "IN", "KR", "NL", "PT", "TH"])}` is true I do
|step |
|When I set request headers for affiliate with affiliate code '<AffCd>' |
|When I send HTTP DELETE to the relative URL '/accounts/<AffCd>-#{removeWrappingDoubleQuotes(${aboNum})}/parties/#{removeWrappingDoubleQuotes(${partyId})}/taxes/<taxTypeCd>?cntryCd=<cntryCd>'|
|Then the response code is equal to '200' |
|When I set request headers for affiliate with affiliate code '<AffCd>' |
|When I send HTTP GET to the relative URL '/accounts/<AffCd>-#{removeWrappingDoubleQuotes(${aboNum})}/parties/#{removeWrappingDoubleQuotes(${partyId})}/taxes/<taxTypeCd>' |
|Then the response code is equal to '400' |
|Then a JSON element by the JSON path '$..message' is equal to 'NO DATA FOUND' |
And variables like <AffCd>
or <taxTypeCd>
are placed in Regression.table
Expected behavior
The composite with variables works in "Lifecycle: After" part
Execution environment (please complete the following information):
- Vividus version: 0.2.1
- Java: 13
Archive with test story, table file, composite and Allure report to reproduce this issue
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working