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

"Feature in multiple files error" while renaming a scenario #98

Closed
DavidFeldhoff opened this issue Feb 18, 2021 · 3 comments
Closed

"Feature in multiple files error" while renaming a scenario #98

DavidFeldhoff opened this issue Feb 18, 2021 · 3 comments
Assignees
Labels
bug Something isn't working version A To be picked up right away
Milestone

Comments

@DavidFeldhoff
Copy link
Collaborator

Describe the bug
While changing the name of a scenario there pops up an error that the feature exists in multiple files and that currently one features inside one file are supported.

To Reproduce

  1. Create a test codeunit with Feature A and some scenarios
  2. Create another test codeunit with Feature A and some scenarios
  3. Try to rename one of the scenarios

Expected behavior/result
The renaming of the scenario should have nothing to do with such feature validation.

@DavidFeldhoff DavidFeldhoff added the bug Something isn't working label Feb 18, 2021
@DavidFeldhoff DavidFeldhoff self-assigned this Feb 18, 2021
@DavidFeldhoff
Copy link
Collaborator Author

@martonsagi: As an exception I made a change in the webui - Just for your Info :) The issue was that I had the same error on adding a new scenario when the feature is split up over two files. I tried to find the fspath based on the feature name and project I got from the ui site, but in the scenario described above I got two features and didn't know to which file I should add the new scenario. Now I'm handing over the fspath of the previous entry as well

@lvanvugt : Ready for test

@lvanvugt
Copy link
Contributor

Belonging to Use Case #60

@lvanvugt
Copy link
Contributor

Tested and OK

See new test scenarios

No. Feature Scenario
0107 Updating Scenario Rename scenario of feature in two codeunits
0108 Updating Scenario Rename scenario of feature in two codeunits step 2a
0109 Updating Scenario Rename scenario of feature in two codeunits step 2b

in atdd-test-scenarios-and-results.xlsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version A To be picked up right away
Projects
None yet
Development

No branches or pull requests

2 participants