Comments (4)
Spend some today together with @izapolsk and can confirm it was resolved in latest 0.30.3 (but reproducible in previous versions). Now some fixes are needed on our end. Thanks @mshriver @izapolsk !
from widgetastic.core.
@abalakh this should be fixed by #125, just merged.
This would be a great addition to our unit tests for the table.
from widgetastic.core.
@mshriver unfortunately, now it's only worse :( That or maybe some next change introduced very weird regression.
Couple of details about that table: initially, when user opens the page, it has 1 row with 1 td with colspan=5. Then user hits 'Add rule' button, and one extra tr appears before mentioned one:
Previously (with 0.21.x) it was working ok. Now i can't figure out what's going on:
- table.read() returns empty list
- table[0][x] returns the message from that second row with colspan. Same after table.clear_cache()
- table[0].read() returns a dict with headers as keys and that message as values (would be ok if i was accessing [1] element)
- table[0][x].position == 0
- same with table[1][x].position == 0 and .text - it returns message from second row. So, basically, both [0] and [1] rows are pointing to second row
- attempt to use fill like table[0][4].widget.fill() actually tries to fill [0][0] widget (i guess since it thinks that [0] - is second row, and second row has colspan, so this behavior might be ok)
Original issue with wrong index can be worked around, but i can't find any workaround for this one, basically i need a way to fill that first row somehow.
from widgetastic.core.
Good to hear @abalakh, all credit to @izapolsk though!! :)
from widgetastic.core.
Related Issues (20)
- E TypeError: __init__() got an unexpected keyword argument 'prov_class' HOT 1
- partial_match does not support parenthesis () in object
- Element not found with Zalenium webdriver and scrolled down HOT 1
- Inconsistency in indexing of Table rows and columns HOT 1
- Get wrong browser object for non top view in hierarchy HOT 7
- Provide method to pull browser debug console content
- TableRow.__dir__ is broken
- table.headers is incorrectly calculated when there are non-text header rows HOT 1
- TableWidget with rowspan and with a column widget does not return widget value when reading HOT 5
- refactor Table widget in order to make it less awkward
- Preferred way of performing action on view before reading?
- Move WT as multi-window framework
- Readme file missing
- DeprecationWarning driver.switch_to.alert instead self.selenium.switch_to_alert() HOT 2
- Deprecation of getargspec as we are using py3
- OUIA component ID cannot be None
- clear() does not work reliably HOT 1
- "force_scroll" must be enabled for Chrome
- PyPI upload filename has to match project name HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from widgetastic.core.