Screenpy

Latest version: v4.2.4

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

3.2.7

------------------

Bugfixes

- Another bugfix for the Narrator when reporting errors -- if the user isn't using Allure, an error in the script would cause a `StopIteration` error to be raised aftewards. Pretty annoying when debugging!
- Speaking of errors being raised, if an error were raised while the Narrator's mic cable was kinked or while the Narrator was off the air, the Narrator would *never narrate again* (until the next script ran anyway). That's fixed!

Improvements

- Fixed up the quick hackjob for narrating errors to put it in a much more elegant spot.

3.2.6

------------------

Bugfixes

- Kind of critical bugfix for the Narrator's new ability to report errors -- the Narrator now only reports errors if their mic cable is not kinked and they are on air. This was causing some pretty unfortunate interactions with `Eventually`...

3.2.5

------------------

Bugfixes

- The `clean_up` method that all Actors use to clean up after themselves was mutating the cleanup task list as it was iterating through it. This was not good! Actors have been reminded of proper looping etiquette.

Improvements

- `Eventually` now raises a `DeliveryError` to bring it in line with `Wait` and all other Actions which raise errors.
- `Eventually` now mentions all of the exceptions it encountered when it raises `DeliveryError`.
- Several Actions have less-awkwardly-worded `beat`s!

3.2.4

------------------

Bugfixes

- `MakeNote` and `See` both relied on catching an `AttributeError` to figure out if they had been passed a value or a Question. But if the Question itself encountered an `AttributeError` while being answered, a very confusing situation would arise that was very annoying to debug. Now these two Actions use `hasattr` instead!
- The `AllureAdapter` is no longer falsely marking steps which failed as having passed! Bringin' back them reds and yellows.

New Features

- The `Adapter` protocol now supports an `error` method, which allows adapters to report exceptions in their own way.

3.2.3

------------------

Bugfixes

- Toned down the aggressive pruning by `get_additive_description`. It was cutting off closing quotes!
- Fixed the incorrect method being called when attaching in the `AllureAdapter`.

New Features

- Added some nice new Actions for reporting: `AttachTheFile`, `SaveScreenshot`, and `SaveConsoleLog`!

3.2.2

------------------

New Features

- `Eventually` and `See` now have beats! They try their best to make a natural-sounding English statement about what your Actor is doing, but if you need to tweak the message...
- Performables and Answerables may now have a `describe` function, which `Eventually` and `See` both directly use.
- Narrators can now `attach` files! Calling Narrator's `attach` method will broadcast the filepath to all the adapters plugged into their microphone. Adapters can look for specific keywords, if needed—all other adapters will ignore those keywords.

Known Issues

- I was not able to figure out how to fix the problem with the Allure reporting, [74](https://github.com/perrygoy/screenpy/issues/74). :( (_**Edit**: This is Perry from the Future! I figured it out!_)

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.