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

"GeneratedUnImplementedSteps" attachment in pending steps is not getting generated #100

Open
naveenkosuri opened this issue Jun 27, 2024 · 2 comments

Comments

@naveenkosuri
Copy link

GeneratedUnImplementedSteps is not getting generated in pending steps, I even tried in CucumnberSwiftSample application

To Reproduce
Followed all steps in the getting started page using swiftpackagemanager

Expected behavior
should generated a swift file with pending steps.

Screenshots
IMG_8534

Additional context
Add any other context about the problem here.

  • XCode Version: 15.3

  • Example Feature File given in the cucumberswift sample
    Tyler Thompson

@naveenkosuri
Copy link
Author

@Tyler-Keith-Thompson could you please look into this

@ianhlavats
Copy link
Collaborator

ianhlavats commented Jul 7, 2024

I've seen this issue happen too and I noticed the following error in my build logs:

Details: Error writing attachment data to file <path_redacted> Error Domain=NSCocoaErrorDomain Code=514 "The item couldn’t be saved because the file name “<long_redacted_file_name>” is invalid." UserInfo={NSFilePath=<path_redacted>, NSUnderlyingError=0x600002409500 {Error Domain=NSPOSIXErrorDomain Code=63 "File name too long"}}
Object:   <IDESchemeActionTestAttachment: 0x600005b34380>
--
07-Jul-2024 08:46:40 | [09:46:40]: ▸ Method:   -_savePayload:
07-Jul-2024 08:46:40 | [09:46:40]: ▸ Thread:   <_NSMainThread: 0x6000020501c0>{number = 1, name = main}
07-Jul-2024 08:46:40 | [09:46:40]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

It looks like the filename containing the generated steps is too long and Xcode bails on writing the attachment.

I tested this on Xcode 15.4.

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

No branches or pull requests

2 participants