Screenpy

Latest version: v4.2.5

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

Scan your dependencies

Page 4 of 8

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!_)

3.2.1

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

Bugfixes

- Updated `See` and `MakeNote` typehints now that they allow for bare values *and* Questions.

3.2.0

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

Breaking Changes

- The gravitas levels have moved from `screenpy.pacing` to `screenpy.narration.narrator`, and they've also changed terminology. The updated terminology is more generic, describing how serious the gravitas is. The gravitas level is passed along to the adapters to be used or ignored as needed.

New Features

- Added a `Narrator` class, who handles all the reporting! The Narrator's microphone can be outfitted with different adapters to report to whatever reporting service you want. Included are the new `AllureAdapter` and `StdOutAdapter`, which will maintain existing behavior.
- (h/t langgaibo) Added an `IsCloseTo` resolution!
- (h/t bandophahita) Added an `Eventually` action!

Improvements

- Part of the above `Narrator` addition is that there is now a way for you to manually control logging, either by putting the narrator `off_the_air` or by making their `microphone_cable_kinked`. It was immediately handy for `Eventually`, maybe you'll find it useful, too!
- Better typehints for `Target`!
- Better `beat` for `MakeNote`!
- `See` and `MakeNote` can now both accept values *and* Questions!

Bugfixes

- XPATH locators which begin with a parenthesis are now correctly recognized as XPATH locators.

3.1.2

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

Improvements

- I'm on a tear, eh?
- Added a more useful test in `screenpy-quickstart` that shows off more actions.
- Adjusted the return type of the `noted_under` direction from `object` to `Any`. I think it could be something more specific, but `Any` is the best i've got for now.

3.1.1

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

Improvements

- Added `.of_all` method to the **Attribute** Question because that is, incidentally, the way i needed to be able to use it. Woops!

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.