Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: remove ansi characters in steps statusDetails#1085

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
baev merged 1 commit intomainfromfix_ansi_in_statusDetails
Aug 1, 2024

Conversation

@todti
Copy link
Contributor

@todtitodti requested a review fromepszawJuly 31, 2024 21:30
@github-actionsgithub-actionsbot added the theme:apiJavascript API related issue labelJul 31, 2024
@todtitodti added the type:bugSomething isn't working labelJul 31, 2024
@todtitodtiforce-pushed thefix_ansi_in_statusDetails branch from051bfe8 to6232946CompareJuly 31, 2024 21:40
Copy link
Member

@epszawepszaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The changes look good. The only one comment I left there is optional to fix

data: {
status: getStatusFromError(err as Error),
stop: Date.now(),
statusDetails: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

You can just assigndetails or call the function right in the object:

// ...statusDetails: getMessageAndTraceFromError(err as Error);// ...

@baevbaev merged commit4b5fbd8 intomainAug 1, 2024
@baevbaev deleted the fix_ansi_in_statusDetails branchAugust 1, 2024 10:11
@delatrie
Copy link
Collaborator

That fixes the problem in the following packages, which useMessageTestRuntime under the hood:

  • allure-cucumberjs
  • allure-codeceptjs
  • allure-jasmine
  • allure-jest
  • allure-mocha
  • allure-vitest

Allure-cypress might still be affected.
Allure-playwright already uses the correct implementation.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@baevbaevbaev approved these changes

@epszawepszawepszaw approved these changes

Assignees

No one assigned

Labels

theme:apiJavascript API related issuetype:bugSomething isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[v.3.0.0-beta.7][allure-jest][allure-js-commons] The error text in the test step is logged with extra characters

5 participants

@todti@delatrie@baev@epszaw

[8]ページ先頭

©2009-2025 Movatter.jp