You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have spent some time debugging and finding out to see what is happening. In my case, Im executing sequentially.
This is one feature (see attached) that is causing the error. (It is a search on this page https://www.wiktionary.org/)
Feature: Lookup a definition
In order to talk better
As an English student
I want to look up word definitions
@issue:TED-20 @example@fe
Scenario Outline: Looking up the definition of ''
Given the user is on the Wiktionary home page
When the user looks up the definition of the word ''
Then they should see the definition ''
Examples:
|word |definition |
|apple |A common, round fruit produced by the tree Malus domestica, cultivated in temperate climates. |
|pear |An edible fruit produced by the pear tree, similar to an apple but elongated towards the stem. |
|test |A session in which a product or piece of equipment is examined under everyday or extreme conditions to evaluate its durability, etc.|
|software |(computing) Encoded computer instructions, usually modifiable (unless stored in some form of unalterable memory such as ROM). |
The issue only happens when the feature has a DataTable and the process is done by BddDataDriven instead of Regular.
The first example(apple) is executed properly. One test with 3 children (3 steps)
With the second the problem begins. TestOut comes with the steps of apple and pear and the proceedSteps method try to log all of them to the actual Test(pear):
With the following examples is the same "test" try to process the steps of apple and pear.
The log output error is because is trying to log old steps in a new test:
Apparently the report in reporting portal is fine because that older steps are not logged but console log is totally full of them.
In my case, the problem seems fixed modifying BddDataDriven(record method) by passing only the steps of the current test (see below) but I don´t know if this can cause problems on other kinds of features/tests....
The text was updated successfully, but these errors were encountered:
Hi all!
I have spent some time debugging and finding out to see what is happening. In my case, Im executing sequentially.
This is one feature (see attached) that is causing the error. (It is a search on this page https://www.wiktionary.org/)
Feature: Lookup a definition
In order to talk better
As an English student
I want to look up word definitions
@issue:TED-20 @example @fe
Scenario Outline: Looking up the definition of ''
Given the user is on the Wiktionary home page
When the user looks up the definition of the word ''
Then they should see the definition ''
The issue only happens when the feature has a DataTable and the process is done by BddDataDriven instead of Regular.
The first example(apple) is executed properly. One test with 3 children (3 steps)
With the second the problem begins. TestOut comes with the steps of apple and pear and the proceedSteps method try to log all of them to the actual Test(pear):
With the following examples is the same "test" try to process the steps of apple and pear.
The log output error is because is trying to log old steps in a new test:
Apparently the report in reporting portal is fine because that older steps are not logged but console log is totally full of them.
In my case, the problem seems fixed modifying BddDataDriven(record method) by passing only the steps of the current test (see below) but I don´t know if this can cause problems on other kinds of features/tests....
The text was updated successfully, but these errors were encountered: