Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support attachments in the test results #707

Merged
merged 1 commit into from
Nov 11, 2024
Merged

feat: support attachments in the test results #707

merged 1 commit into from
Nov 11, 2024

Conversation

gibiw
Copy link
Contributor

@gibiw gibiw commented Nov 11, 2024

const { Given, Then } = require('cucumber');

Given('I have a step with attachment', async function () {
  await this.attach('Hello, world!', 'text/plain');
});

Then('I have a step with attachment', async function () {
  await this.attach('Hello, world!', 'text/plain');
});

```js
const { Given, Then } = require('cucumber');

Given('I have a step with attachment', async function () {
  await this.attach('Hello, world!', 'text/plain');
});

Then('I have a step with attachment', async function () {
  await this.attach('Hello, world!', 'text/plain');
});
```
@gibiw gibiw enabled auto-merge (rebase) November 11, 2024 13:59
@gibiw gibiw merged commit 4f5e80d into main Nov 11, 2024
41 checks passed
@gibiw gibiw deleted the feat/cucumber branch November 11, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants