Skip to content

[base] - base_page - is_element_exists() - returns false Positive (True) at this point #3

Description

@drocpdp

as per - https://github.com/drocpdp/test_framework_template/blob/main/lib/base_page.py#L59
returns True no matter the return value of https://github.com/drocpdp/test_framework_template/blob/main/lib/base_page.py#L58 get_elements() (which will NOT throw an exception if the element does not exist)

Recommendation, return Truthy value of get_elements()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CRUCIALbugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions