Merge "Fix users integration test"
This commit is contained in:
commit
8ec32877cf
@ -34,7 +34,7 @@ class UsersTable(tables.TableRegion):
|
||||
|
||||
class UsersPage(basepage.BaseNavigationPage):
|
||||
|
||||
USERS_TABLE_NAME_COLUMN = 'name'
|
||||
USERS_TABLE_NAME_COLUMN = 'User Name'
|
||||
|
||||
def __init__(self, driver, conf):
|
||||
super(UsersPage, self).__init__(driver, conf)
|
||||
|
@ -258,7 +258,9 @@ class ThemableSelectFormFieldRegion(BaseFormFieldRegion):
|
||||
@text.setter
|
||||
def text(self, text):
|
||||
if text != self.text:
|
||||
self.src_elem.click()
|
||||
js_cmd = ("$('select[name=\"%s\"]').closest(\"div\")."
|
||||
"find(\".btn\").click();" % (self.name))
|
||||
self.driver.execute_script(js_cmd)
|
||||
for option in self.options:
|
||||
if self.strict_options_match:
|
||||
match = text == str(option.text.strip())
|
||||
|
@ -10,7 +10,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from openstack_dashboard.test.integration_tests import decorators
|
||||
from openstack_dashboard.test.integration_tests import helpers
|
||||
from openstack_dashboard.test.integration_tests.regions import messages
|
||||
|
||||
@ -19,7 +18,6 @@ class TestUser(helpers.AdminTestCase):
|
||||
|
||||
USER_NAME = helpers.gen_random_resource_name("user")
|
||||
|
||||
@decorators.skip_because(bugs=['1774697'])
|
||||
def test_create_delete_user(self):
|
||||
users_page = self.home_pg.go_to_identity_userspage()
|
||||
password = self.TEST_PASSWORD
|
||||
|
Loading…
x
Reference in New Issue
Block a user