Skip to content

Add ci test for AAP login - #162

Merged
mbaldessari merged 3 commits into
mainfrom
ci_aap_login
Nov 9, 2026
Merged

mbaldessari merged 3 commits into
mainfrom
ci_aap_login

Conversation

@mlabonte-rh

Copy link
Copy Markdown
Contributor

[MBP-1198]

Comment thread tests/ci/test_hub.py

# Dismiss welcome screen if visible
welcome = page.get_by_role("button", name="Close")
if welcome.is_visible(timeout=60):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a follow up maybe drop the timeout, seems like it is a noop anyways (https://playwright.dev/python/docs/api/class-locator#locator-is-visible)

Comment thread tests/ci/test_hub.py

# Verify that the script returns the same password
result = subprocess.run(
["bash", "../../pattern.sh", "../../scripts/ansible_get_credentials.sh"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you ever do an update here, maybe use file to build an absolute path

@mbaldessari

Copy link
Copy Markdown
Contributor

Just tiny nits you might want to address later on

@mbaldessari
mbaldessari merged commit a808214 into main Nov 9, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants