Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[WIP] Move browser management to kaifuku #9994

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mshriver
Copy link
Member

@mshriver mshriver commented Mar 17, 2020

Use webdriver-kaifuku, replacing most of the code in cfme.utils.browser

remove convenience methods surrounding the manager singleton, and update framework interaction with the browser from that singleton

phase one of changing how integration_tests handles browsers, phase two will be to move the manager instance to the contextual classes for UI/SSUI

PRT

Currently UI tests are failing with a screenshot showing the login screen, with no credentials filled. cfme.log shows navigation, form fill, and button click, needs local debug.

requirements/frozen.txt Outdated Show resolved Hide resolved
@dajoRH dajoRH changed the title [WIPTEST] Move browser management to kaifuku [WIP] Move browser management to kaifuku Mar 31, 2020
@izapolsk
Copy link
Contributor

izapolsk commented Mar 31, 2020

@mshriver I'm itching to try it in one of my projects. did you make it work in integration tests ?

@mshriver mshriver changed the title [WIP] Move browser management to kaifuku [WIPTEST] Move browser management to kaifuku May 26, 2020
@mshriver
Copy link
Member Author

@izapolsk Ronny just merged my PRs and released 0.3.0, worth a try on any projects you're working on. I just rebased this and will be testing it.

Use webdriver-kaifuku, replacing most of the code in cfme.utils.browser

remove convenience methods surrounding the manager singleton, and update framework interaction with the browser from that singleton

phase one of changing how integration_tests handles browsers, phase two will be to move the manager instance to the contextual classes for UI/SSUI

Address the traceback encoding in pytest hook for artifactor exception hook

FIXES ManageIQ#8131
@dajoRH
Copy link
Contributor

dajoRH commented May 26, 2020

I detected some fixture changes in commit 0579fbd

The local fixture needs_firefox is used in the following files:

  • cfme/tests/services/test_myservice.py
    • test_download_file

The local fixture generated_request is used in the following files:

  • cfme/tests/services/test_operations.py
    • test_services_request_direct_url
    • test_copy_request

Please, consider creating a PRT run to make sure your fixture changes do not break existing usage 😃

@digitronik digitronik self-assigned this May 28, 2020
@mshriver mshriver changed the title [WIPTEST] Move browser management to kaifuku [WIP] Move browser management to kaifuku May 28, 2020
@dajoRH dajoRH added WIP and removed WIP-testing labels May 28, 2020
@dajoRH
Copy link
Contributor

dajoRH commented Jun 5, 2020

Would you mind rebasing this Pull Request against latest master, please? :trollface:
CFME QE Bot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants