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
When using a table, the contents do not get printed in the steps output.
Desired behavior
The steps log should include the table/contents.
Test code to reproduce
Feature file (tried with and without table headers and it makes no difference)
Rule: Correctly placed letters appear in green
Background:
Given the target word is:
| B | L | A | N | D |
Scenario: Correctly placed letters
When the player enters the following letters:
| first | second | third | fourth | fifth |
| P | R | I | N | T |
Then the squares should be colored as follows:
| - | - | - | * | - |
Step code:
When("the player enters the following letters:", (table) => {
table.hashes().forEach((row) => {
cy.log('aaaaaaaaaaaaaaaaaaaaaaaaa', row.first, row.second, row.third, row.fourth, row.fifth)
})
});
Versions
Cypress version:10.3.0
Preprocessor version:11.4.0
Node version:v14.16.0
The text was updated successfully, but these errors were encountered:
Hi @badeball .
atm, fixing this issue requires this to be solved: cypress-io/cypress#24964. I'll keep an eye on it and, if the fix takes more than one month, I'll try to fix it myself.
Current behavior
When using a table, the contents do not get printed in the steps output.
Desired behavior
The steps log should include the table/contents.
Test code to reproduce
Feature file (tried with and without table headers and it makes no difference)
Rule: Correctly placed letters appear in green
Background:
Given the target word is:
| B | L | A | N | D |
Step code:
When("the player enters the following letters:", (table) => {
table.hashes().forEach((row) => {
cy.log('aaaaaaaaaaaaaaaaaaaaaaaaa', row.first, row.second, row.third, row.fourth, row.fifth)
});
Versions
The text was updated successfully, but these errors were encountered: