Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Dec 8, 2024
1 parent 5d78c29 commit b1e1e31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/reporter/cucumber/messagesBuilder/TestRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class TestRun {
// See: https://github.com/cucumber/messages/blob/main/messages.md#testrunfinished
// todo: there are also new props: message and exception,
// they could be populated in reporter.onError handler
// See: https://github.com/cucumber/html-formatter/issues/340
buildTestRunFinished({ status, startTime, duration }: pw.FullResult) {
const testRunFinished: messages.TestRunFinished = {
testRunStartedId: this.id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { test } from '../fixtures';
// It would be better to run afterAll hooks inside test.afterAll(),
// but it's will work incorrectly if single afterAll hook is tagged to several features,
// because it will be run several times.
// Or just un-tagged afterAll hook + several files.

test.describe.skip('error in anonymous after all hook', () => {
test.use({ featureUri: 'error-in-after-all/anonymous.feature' });
Expand Down

0 comments on commit b1e1e31

Please sign in to comment.