Open pavelzag opened 7 years ago
@rlbabyuk @mfalesni @mshriver
I already mentioned that it looks like some Javascript not firing.
This works for me locally. Both in firefox and chrome.
Using automation of course ^
@gshefer @pavelzag please share your selenium server, selenium package and browser versions
@jaryn ^
It's
docker.io/cfmeqe/sel_ff_chrome sel-2.51.0_ff-38.6esr_chrome49 d20cc7fdb39e 16 months ago 1.566 GB
Works for me.
Image:
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/cfmeqe/sel_ff_chrome latest d20cc7fdb39e 16 months ago 1.566 GB
Code:
In [1]: from cfme.configure.configuration.region_settings import MapTags
In [2]: mt = MapTags(entity='Pod', label='label_name', category='category')
In [3]: mt.create()
runs just fine with firefox.
Ok, I have a clear reproducer now. It is only after immediate failure that the form fails to respond to our automation.
Example:
1. Fill form with 'test', click Add -> success
2. Fill form with 'test' again, click Add -> error message
3. Fill form with 'anything', unable to click Add
Code:
import cfme.base.ui
import cfme.intelligence.chargeback.rates as rates
rate = rates.ComputeRate(description='test_rate')
rate.create()
rate = rates.ComputeRate(description='test_rate')
rate.create()
rate = rates.ComputeRate(description='test_rate_new')
rate.create()
causing NoSuchElementException: Message: Could not find an element Button(title='Add')
.
This happens both with Map Tags and with Chargeback rates; the reproducer is clearly for Chargeback rates.
Note:
We need to import cfme.base.ui
in the example above because of a circular import somewhere...
I will be discussing this with developers and will update this issue once I know more.
selenium==2.53.6 Firefox = 45.0.2 I run the test locally
We made some progress today; chargebacks seem to be fixed now because of changes to widgetastic and navigation in chargebacks :+1: but map tags are still broken. Martin and I will continue chasing that on Monday.
Attempting the following code:
And getting "Label required" or "Category required" errors. Doesn't happen manually. Added a video:
https://www.youtube.com/watch?v=x6mMmcalR2A