herbsjs / aloe

Scenario description and test runner for Herbs
Other
0 stars 7 forks source link

Aloe doesn't work when use case has no authorization method #8

Open maikvortx opened 2 years ago

maikvortx commented 2 years ago

Describe the bug

I'm testing a usecase with no authorization and got an error because ALOE doesn't validate if the usecase has authorization.

To Reproduce Steps to reproduce the behavior:

  1. Create a usecase without authorization method
  2. Create a test scenario without authorization

Expected behavior

Not authorized error.

Screenshots

image

image

Additional context

I have created an issue to request a creation of hasAuthorization method to validade if usecase has authorization before run.

maikvortx commented 2 years ago

@dalssoft

maikvortx commented 2 years ago

https://github.com/herbsjs/buchu/issues/86