Skip to content

Releases: saritasa-nest/pomcorn

0.8.0

08 Jul 09:34
5d68fd1
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

What's Changed

  • Allow optional item_class in ListComponent by @M1troll in #74

    • Add ability to not specify item_class in ListComponent. Instead, it will be automatically filled with value passed in Generic[ListItemType].
    • Warning: The item_class specification is still available, but it is deprecated and will be removed soon.
  • Bump mypy from 1.10.0 to 1.10.1 by @dependabot in #72

  • Bump ipython from 8.25.0 to 8.26.0 by @dependabot in #73

Full Changelog: 0.7.5...0.8.0

0.7.5

25 Jun 04:58
Compare
Choose a tag to compare
0.7.5 Pre-release
Pre-release

What's Changed

  • Remove redundant call of scroll_to in PomcornElement.click().
    This is redundant, as webdriver by default scrolls to element before click docs.
  • Bump selenium from 4.21.0 to 4.22.0 by @dependabot in #71

Full Changelog: 0.7.4...0.7.5

0.7.4

20 Jun 05:51
Compare
Choose a tag to compare
0.7.4 Pre-release
Pre-release

Improve Page.click_on_page() method to click the page coordinates instead of offset relative to current mouse position.

Full Changelog: 0.7.3...0.7.4

0.7.3

19 Jun 06:33
Compare
Choose a tag to compare
0.7.3 Pre-release
Pre-release
  • Add ability to not specify app_root in Page.open_from_url() as in Page.open()

Full Changelog: 0.7.2...0.7.3

0.7.2

17 Jun 07:15
Compare
Choose a tag to compare
0.7.2 Pre-release
Pre-release

What's Changed

  • Improve Page.click_on_page method to click on tag

  • Improve Page.open_from_url to support kwargs

  • Fix \ related problems in Page._get_full_relative_url

  • Bump flake8 from 7.0.0 to 7.1.0 by @dependabot in #70

Full Changelog: 0.7.1...0.7.2

0.7.1

11 Jun 07:51
f89f9ab
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

What's Changed

  • Update base XPathLocator by @M1troll in #69:
    • Add ability to Element to specify simple and relative locators using the locator or relative_locator arguments, as in Component.init_element
    • Fix some possible xpath errors depending on empty locators queries and brackets

Full Changelog: 0.7.0...0.7.1

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