Releases: saritasa-nest/pomcorn
0.8.3
Rename __parameters__
in ListComponent
to __generic__parameters
to avoid problems with Python build-in functions
Full Changelog: 0.8.2...0.8.3
0.8.2
- Improve item class getting by @M1troll in #100
-
- Add ability to specify
TypeAlias
as_item class
and useListComponent
as a parameterized type
- Add ability to specify
-
Other changes
- Bump the pip group with 3 updates by @dependabot in #101
- Bump the pip group with 2 updates by @dependabot in #102
Full Changelog: 0.8.1...0.8.2
0.8.1
What's Changed
- Improve getting
item class
inListComponent
by @M1troll in #98
There were several cases where this didn't work correctly (for multiple generic variables and inheritance). Examples of such cases are presented in PR
Update dependencies
- Bump sphinx from 7.3.7 to 7.4.4 by @dependabot in #75
- Bump sphinx from 7.4.4 to 7.4.5 by @dependabot in #76
- Bump sphinx from 7.4.5 to 7.4.6 by @dependabot in #77
- Bump mypy from 1.10.1 to 1.11.0 by @dependabot in #78
- Bump the pip group with 4 updates by @dependabot in #82
- Bump the pip group with 3 updates by @dependabot in #83
- Bump the pip group with 2 updates by @dependabot in #84
- Bump saritasa-invocations from 1.1.1 to 1.2.0 in the pip group by @dependabot in #85
- Bump the pip group with 5 updates by @dependabot in #86
- Bump the pip group with 2 updates by @dependabot in #87
- Bump saritasa-invocations from 1.2.1 to 1.2.3 in the pip group by @dependabot in #88
- Bump pytest from 8.3.2 to 8.3.3 in the pip group by @dependabot in #89
- Bump selenium from 4.24.0 to 4.25.0 in the pip group by @dependabot in #90
- Bump sphinx-rtd-theme from 3.0.0rc1 to 3.0.0rc3 in the pip group by @dependabot in #91
- Bump the pip group across 1 directory with 7 updates by @dependabot in #97
- Bump sphinx-rtd-theme from 3.0.1 to 3.0.2 in the pip group by @dependabot in #99
Full Changelog: 0.8.0...0.8.1
0.8.0
What's Changed
-
Allow optional
item_class
inListComponent
by @M1troll in #74- Add ability to not specify
item_class
inListComponent
. Instead, it will be automatically filled with value passed inGeneric[ListItemType]
. - Warning: The
item_class
specification is still available, but it is deprecated and will be removed soon.
- Add ability to not specify
-
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
What's Changed
- Remove redundant call of
scroll_to
inPomcornElement.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
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
- Add ability to not specify
app_root
inPage.open_from_url()
as inPage.open()
Full Changelog: 0.7.2...0.7.3
0.7.2
What's Changed
-
Improve
Page.click_on_page
method to click on tag -
Improve
Page.open_from_url
to support kwargs -
Fix
\
related problems inPage._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
What's Changed
- Update base XPathLocator by @M1troll in #69:
- Add ability to
Element
to specify simple and relative locators using thelocator
orrelative_locator
arguments, as in Component.init_element - Fix some possible xpath errors depending on empty locators queries and brackets
- Add ability to
Full Changelog: 0.7.0...0.7.1
0.7.0
What's Changed
- Add auto-scroll to element before click
- Add method
contains()
toXPathLocator
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
toComponent
PR: #62 -
Rename
Element
class toPomcornElement
-
Add descriptor
Element
to simplify adding element-attributes to Pages
and Components
PR: #51
Updated dependencies
- Bump sphinx from 7.3.1 to 7.3.6 by @dependabot in #53
- Bump sphinx from 7.3.6 to 7.3.7 by @dependabot in #55
- Bump flake8-bugbear from 24.2.6 to 24.4.21 by @dependabot in #54
- Bump mypy from 1.9.0 to 1.10.0 by @dependabot in #56
- Bump selenium from 4.19.0 to 4.20.0 by @dependabot in #57
- Bump ipython from 8.23.0 to 8.24.0 by @dependabot in #60
- Bump flake8-bugbear from 24.4.21 to 24.4.26 by @dependabot in #59
- Bump pytest from 8.1.1 to 8.2.0 by @dependabot in #58
- Bump pre-commit from 3.7.0 to 3.7.1 by @dependabot in #61
- Bump selenium from 4.20.0 to 4.21.0 by @dependabot in #63
- Bump pytest from 8.2.0 to 8.2.1 by @dependabot in #64
- Bump saritasa-invocations from 1.1.0 to 1.1.1 by @dependabot in #65
- Bump ipython from 8.24.0 to 8.25.0 by @dependabot in #67
- Bump pytest from 8.2.1 to 8.2.2 by @dependabot in #68
Full Changelog: 0.6.0...0.7.0