RedHatQE / RedHatQE/widgetastic.core

"force_scroll" must be enabled for Chrome

Open
#228 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
37
Forks
46
PR merge metrics
No merged PRs in 30d

Description

"force_scroll" only works on Firefox and I see this is hard coded for some reason in several places in the below file including the one referenced in the below line

https://github.com/RedHatQE/widgetastic.core/blob/4b87e38cf6b3d8abfc3c17d6e03cc9cd8f03ec71/src/widgetastic/browser.py#L476

This is failing pagination tests for example in edge CI test run which defaults to using Chrome browser

Previous similar PR that may have missed to fix this universally:
https://github.com/RedHatQE/widgetastic.core/pull/211/files

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/widgetastic/browser.py at line 476 and inspect the other hard-coded force_scroll references in that file, along with pull request #211. Run the pagination tests in the Edge CI configuration, and consider the issue done when those tests no longer fail under Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.