Skip to content

Releases: saritasa-nest/pomcorn

0.7.0

07 Jun 08:04
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

What's Changed

  • Add auto-scroll to element before click
  • Add method contains() to XPathLocator for search by contained text
  • Add page class name to PageDidNotLoadedError
  • Update diagrams with mermaid <https://mermaid.js.org/intro/>__
  • Add invocation inv docs.serve to run docs on localhost
  • Add small improvements by @M1troll in #66

Backwards incompatible changes in 0.7.0

  • Remove simple Component class

  • Rename ComponentWithBaseLocator to Component
    PR: #62

  • Rename Element class to PomcornElement

  • Add descriptor Element to simplify adding element-attributes to Pages
    and Components
    PR: #51

Updated dependencies

Full Changelog: 0.6.0...0.7.0

0.6.0

17 Apr 05:56
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release

What's Changed

Backwards incompatible changes

  • Updating the Page.click_on_page method: now it clicks on (1, 1) page coordinates, because clicking on the html tag was done in the center of the page, which led to unexpected situations
  • InputByLabelLocator is split into InputByLabelLocator (for non-nested case) and InputInLabelLocator (for nested case)

Dependencies

Full Changelog: 0.5.0...0.6.0

0.5.0

31 Jan 10:21
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

What's Changed

  • Add ability to specify base_locator for ComponentWithBaseLocator as a class attribute, so as not to override __init__ (Issue: #34)
  • Add ability to specify base_item_locator via item_locator and relative_item_locator attributes for ListComponent to avoid overriding property each time and simplify creation of nested items locators

Other Changes

Full Changelog: 0.4.0...0.5.0

0.4.0

24 Jan 06:52
Compare
Choose a tag to compare
0.4.0 Pre-release
Pre-release

Main changes

  • Add small extensions by @M1troll in #30
    • Add | (or) operator for XPathLocators
    • Add Page.click_on_page method
    • Add recommendation for use keyword when specifying the locator argument in init_element and init_elements methods whenever possible to be consistent with the method of the same name in ComponentWithBaseLocator
  • Improve WebView.scroll_to() [commit]

Also were changed

Full Changelog: 0.3.1...0.4.0

0.3.1

19 Dec 04:22
Compare
Choose a tag to compare
0.3.1 Pre-release
Pre-release

Fix type hints after update Selenium

Full Changelog: 0.3.0...0.3.1

0.3.0

11 Dec 05:34
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

What's Changed

  • Bump flake8-bugbear from 23.11.28 to 23.12.2 by @dependabot in #15
  • Bump saritasa-invocations from 0.10.0 to 0.10.1 by @dependabot in #16
  • Bump selenium from 4.15.2 to 4.16.0 by @dependabot in #17
  • Bump actions/setup-python from 4 to 5 by @dependabot in #18
  • Bump pre-commit from 3.5.0 to 3.6.0 by @dependabot in #19
  • Update InputByLabelLocator from a single-level to a nested implementation (ce1453e)

Full Changelog: 0.2.0...0.3.0

0.2.0

01 Dec 07:44
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

What's Changed

Full Changelog: 0.1.0...0.2.0

0.1.0

15 Nov 06:12
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/saritasa-nest/pomcorn/commits/0.1.0