Skip to content

Commit b273c02

Browse files
committed
Added displayName field for step-definition
1 parent 4c57f3b commit b273c02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/testObservability/cypress/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ Cypress.on('log:changed', (attrs) => {
6565
});
6666
}
6767

68-
const keyword = (attrs.name || '').trim();
68+
const keyword = (attrs.displayName || attrs.name || '').trim();
69+
6970
if (STEP_KEYWORDS.includes(keyword.toLowerCase())) {
7071
const text = (attrs.message || '')
7172

0 commit comments

Comments
 (0)