)]}'
{"openstack_dashboard/test/integration_tests/basewebobject.py":[{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"4d529f1a5aded4dbe50721f0482ac204d3c58a48","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    def _turn_on_implicit_wait(self):"},{"line_number":74,"context_line":"        self.driver.implicitly_wait(self.conf.selenium.page_timeout)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    def _wait_till_text_present_in_element(self, element, text, timeout\u003d25):"},{"line_number":77,"context_line":"        wait.WebDriverWait(self.driver, timeout).until("},{"line_number":78,"context_line":"            lambda x: self._is_text_visible(element, text))"},{"line_number":79,"context_line":""}],"source_content_type":"text/x-python","patch_set":16,"id":"3a961159_d6b47b37","line":76,"updated":"2015-01-19 09:19:20.000000000","message":"i would prefer if timeout was explicit_wait on None otherwise as specified by user","commit_id":"149b0eef548f03ae8f03d1b85aca4aaa193a5ace"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"4d529f1a5aded4dbe50721f0482ac204d3c58a48","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        wait.WebDriverWait(self.driver, timeout).until("},{"line_number":78,"context_line":"            lambda x: self._is_text_visible(element, text))"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def _wait_till_element_visible(self, element, timeout\u003d25):"},{"line_number":81,"context_line":"        wait.WebDriverWait(self.driver, timeout).until("},{"line_number":82,"context_line":"            lambda x: self._is_element_displayed(element))"},{"line_number":83,"context_line":""}],"source_content_type":"text/x-python","patch_set":16,"id":"3a961159_76a4a706","line":80,"updated":"2015-01-19 09:19:20.000000000","message":"i would prefer if timeout was explicit_wait on None otherwise as specified by user","commit_id":"149b0eef548f03ae8f03d1b85aca4aaa193a5ace"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"4d529f1a5aded4dbe50721f0482ac204d3c58a48","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        wait.WebDriverWait(self.driver, timeout).until("},{"line_number":82,"context_line":"            lambda x: self._is_element_displayed(element))"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    def _wait_till_element_disappears(self, element, timeout\u003d25):"},{"line_number":85,"context_line":"        wait.WebDriverWait(self.driver, timeout).until_not("},{"line_number":86,"context_line":"            lambda x: self._is_element_displayed(element))"}],"source_content_type":"text/x-python","patch_set":16,"id":"3a961159_16828351","line":84,"updated":"2015-01-19 09:19:20.000000000","message":"i would prefer if timeout was explicit_wait on None otherwise as specified by user","commit_id":"149b0eef548f03ae8f03d1b85aca4aaa193a5ace"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"438df65efdbb15125fcc2c3ebeff84592fa02e71","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def _is_text_visible(self, element, text):"},{"line_number":49,"context_line":"        try:"},{"line_number":50,"context_line":"            return text in element.text"},{"line_number":51,"context_line":"        except Exception:"},{"line_number":52,"context_line":"            return False"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_a5dfa567","line":50,"updated":"2015-09-07 16:06:06.000000000","message":"Would it make sense to adhere the same pattern as in https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/integration_tests/regions/tables.py#L147 ?","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"4aadb1c059934e59112daa16ba7d40072484bcb4","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def _is_text_visible(self, element, text):"},{"line_number":49,"context_line":"        try:"},{"line_number":50,"context_line":"            return text in element.text"},{"line_number":51,"context_line":"        except Exception:"},{"line_number":52,"context_line":"            return False"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":35,"id":"da20952f_5b720e13","line":50,"updated":"2015-09-08 13:49:45.000000000","message":"Having thought about this change a bit more, now I changed my mind: since you\u0027re changing the behavior that some existing tests are already relying upon, it\u0027s definitely safer to add an explicit `exact_match\u0027 flag here and set it to True by default (so the behavior is the same for already existing tests).","commit_id":"1e156f5d3b7d25418a42ac3b2126ca4acc156bb6"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"8d8910fdbf4a146a28f6deb05c968a8a78a23021","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def _is_text_visible(self, element, text):"},{"line_number":49,"context_line":"        try:"},{"line_number":50,"context_line":"            return text in element.text"},{"line_number":51,"context_line":"        except Exception:"},{"line_number":52,"context_line":"            return False"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":35,"id":"da20952f_d3a11997","line":50,"in_reply_to":"da20952f_5b720e13","updated":"2015-09-08 20:31:48.000000000","message":"@Timur: as I removed the #line118 -125 in https://review.openstack.org/#/c/117091/33/openstack_dashboard/test/integration_tests/pages/project/compute/instancespage.py\nInstances scripts does not need change to \u0027basewebobject.py\u0027. For now, I will keep this as it is(\"master\" file) and remove \u0027basewebobject.py\u0027 from my patch.\n\nI Agree with your previous comment:  to adhere the same pattern as in https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/integration_tests/regions/tables.py#L147\nI will try to put patch for bp integration-tests-hardening.","commit_id":"1e156f5d3b7d25418a42ac3b2126ca4acc156bb6"}],"openstack_dashboard/test/integration_tests/config.py":[{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    cfg.StrOpt(\u0027available_zone\u0027,"},{"line_number":74,"context_line":"               default\u003d\u0027nova\u0027,"},{"line_number":75,"context_line":"               help\u003d\"Zone to be selected for launch Instances\"),"},{"line_number":76,"context_line":"    cfg.StrOpt(\u0027source_name\u0027,"},{"line_number":77,"context_line":"               default\u003d\u0027cirros-0.3.2-x86_64-uec (24.0 MB)\u0027,"},{"line_number":78,"context_line":"               help\u003d\"Source to be selected for launch Instances\"),"},{"line_number":79,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":22,"id":"9a80dd14_126332dd","line":76,"updated":"2015-03-05 11:30:55.000000000","message":"please see my comment in horizon.conf","commit_id":"5691a1657e6759b23be440d9994761818c292113"}],"openstack_dashboard/test/integration_tests/horizon.conf":[{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":53,"context_line":"#sahara\u003dFalse"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"[instances]"},{"line_number":56,"context_line":"available_zone\u003dnova"},{"line_number":57,"context_line":"source_name\u003dcirros-0.3.2-x86_64-uec (24.0 MB)"}],"source_content_type":"text/plain","patch_set":22,"id":"9a80dd14_8f6e1d00","line":56,"updated":"2015-03-05 11:30:55.000000000","message":"please add documentation","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"[instances]"},{"line_number":56,"context_line":"available_zone\u003dnova"},{"line_number":57,"context_line":"source_name\u003dcirros-0.3.2-x86_64-uec (24.0 MB)"}],"source_content_type":"text/plain","patch_set":22,"id":"9a80dd14_524e8a70","line":57,"updated":"2015-03-05 11:30:55.000000000","message":"I think the term \"source_name\" isn\u0027t the right one in this case, since it\u0027s only true in case you choose \"Boot from image\". therefor I would suggest either remove it from here and create a constant in the instancespage or change it to image_name","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"dd17bb624b2f6274886ffb8475de5047b5848ea0","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"[instances]"},{"line_number":56,"context_line":"available_zone\u003dnova"},{"line_number":57,"context_line":"source_name\u003dcirros-0.3.2-x86_64-uec (24.0 MB)"}],"source_content_type":"text/plain","patch_set":22,"id":"9a80dd14_0b2e46fb","line":57,"in_reply_to":"9a80dd14_524e8a70","updated":"2015-03-06 19:41:34.000000000","message":"@Daniel: I will not add this as constant to instancespage, I had comments for the recently from Lin (https://review.openstack.org/#/c/117091/20/openstack_dashboard/test/integration_tests/pages/project/compute/instancespage.py)\n\nI will change this to image_name.","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"fa0bfcc3b45bcbe96a7d1da994c5d5c4301a1eab","unresolved":false,"context_lines":[{"line_number":60,"context_line":"#available zone to launch instances"},{"line_number":61,"context_line":"available_zone\u003dnova"},{"line_number":62,"context_line":"#image_name to launch instances"},{"line_number":63,"context_line":"image_name\u003dcirros-0.3.2-x86_64-uec (24.0 MB)"}],"source_content_type":"text/plain","patch_set":27,"id":"fa32b979_f9d05821","line":63,"updated":"2015-06-17 01:34:46.000000000","message":"\"cirros-0.3.2-x86_64-uec (24.0 MB)\"  this Image version is changed to \n\n\"cirros-0.3.4-x86_64-uec (24.0 MB)\". I will update the patch for this.","commit_id":"d855e7cb55b6006dee4ac4db5dbb7dce575a02bf"}],"openstack_dashboard/test/integration_tests/pages/basepage.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc8cadf9ebd1d2747e10f090078d49af40c765a6","unresolved":false,"context_lines":[{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        @property"},{"line_number":124,"context_line":"        def access_instances(self):"},{"line_number":125,"context_line":"            return self.get_element(*self._project_instances_locator)"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"        def _click_on_access_security(self):"},{"line_number":128,"context_line":"            self.access_security.click()"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_ba3c3c30","line":125,"updated":"2014-09-06 05:33:09.000000000","message":"just a nit, can you move this to line 128 for consistency","commit_id":"656cb55782d405eb92c03099c96913838877120e"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":109,"context_line":"        _project_instances_locator \u003d ("},{"line_number":110,"context_line":"            by.By.CSS_SELECTOR, \u0027a[href*\u003d\"/project/instances/\"]\u0027)"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"        def _dashboard_locator(self, dashboard):"},{"line_number":113,"context_line":"            _dashboard_active_locator \u003d ("},{"line_number":114,"context_line":"                by.By.XPATH,"},{"line_number":115,"context_line":"                \".//dl[@class\u003d\u0027nav_accordion\u0027]//*[@class\u003d\u0027active\u0027]\""}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_4ca84077","line":112,"updated":"2014-11-16 13:17:49.000000000","message":"can you explain why this is needed?","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":135,"context_line":"            self.access_security.click()"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"        @property"},{"line_number":138,"context_line":"        def access_instances(self):"},{"line_number":139,"context_line":"            return self.get_element(*self._project_instances_locator)"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"        def _click_on_instances(self):"}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_eccbac50","line":138,"updated":"2014-11-16 13:17:49.000000000","message":"IMO instances is the right term rather than access_instances. access \u0026 security is the  page title (therefor \"access_security works), whereas access_instances isn\u0027t.","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"}],"openstack_dashboard/test/integration_tests/pages/instancespage.py":[{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"dddef92be83de26b3031cd998ec953fd5ecad9bf","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        super(InstancesPage, self).__init__(driver, conf)"},{"line_number":27,"context_line":"        self.Instance_name \u003d \u0027Instance_\u0027 + str(datetime.datetime.now()."},{"line_number":28,"context_line":"                                               strftime(\"%Y%m%d%H%M%S\")[2:])"},{"line_number":29,"context_line":"        self._instance_row_locator \u003d (by.By.CSS_SELECTOR, \"\\"},{"line_number":30,"context_line":"             tr[data-display\u003d\u0027%s\u0027]\" % self.Instance_name)"},{"line_number":31,"context_line":"        self._launch_Instance_button_locator \u003d (by.By.CSS_SELECTOR, \"\\"},{"line_number":32,"context_line":"             #instances__action_launch\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_ce1cbf7a","line":29,"updated":"2014-09-08 14:11:19.000000000","message":"why do you use \"\\\" ? I think this more gracefully:\nself._instance_row_locator \u003d (by.By.CSS_SELECTOR,\n    \"tr[data-display\u003d\u0027%s\u0027]\" % self.Instance_name)\nor this:\nself._instance_row_locator \u003d (\n    by.By.CSS_SELECTOR,\n    \"tr[data-display\u003d\u0027%s\u0027]\" % self.Instance_name\n)\n\nand below code....","commit_id":"656cb55782d405eb92c03099c96913838877120e"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"dddef92be83de26b3031cd998ec953fd5ecad9bf","unresolved":false,"context_lines":[{"line_number":57,"context_line":"             \" % self.Instance_name)"},{"line_number":58,"context_line":"        self._status_locator \u003d (by.By.XPATH, \"\\"},{"line_number":59,"context_line":"             .//tr[@data-display\u003d\u0027%s\u0027] //td[contains(text(),\u0027Running\u0027)]\\"},{"line_number":60,"context_line":"             \" % self.Instance_name)"},{"line_number":61,"context_line":"        self._flavor_details_locator \u003d (by.By.CSS_SELECTOR, \"\\"},{"line_number":62,"context_line":"             tr[data-display\u003d\u0027%s\u0027] a[id^\u003d\u0027flavor_details_\u0027]\\"},{"line_number":63,"context_line":"             \" % self.Instance_name)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_f1f24605","line":60,"updated":"2014-09-08 14:11:19.000000000","message":"self._status_locator \u003d (by.By.XPATH,\n    \".//tr[@data-display\u003d\u0027%s\u0027] //td[contains(text(),\u0027Running\u0027)]\"\n    % self.Instance_name)\n\nor\n\nself._status_locator \u003d (\n    by.By.XPATH,\n    \".//tr[@data-display\u003d\u0027%s\u0027]\"\n    \" //td[contains(text(),\u0027Running\u0027)]\"\n    % self.Instance_name\n)","commit_id":"656cb55782d405eb92c03099c96913838877120e"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"dddef92be83de26b3031cd998ec953fd5ecad9bf","unresolved":false,"context_lines":[{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def _click_on_Instance_create(self):"},{"line_number":107,"context_line":"        self.instance_create.click()"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    def _click_on_Instance_launch_button(self):"},{"line_number":110,"context_line":"        self.instance_launch_button.click()"},{"line_number":111,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_b1bb5e74","line":108,"updated":"2014-09-08 14:11:19.000000000","message":"if you have _locator and have @property(for this locator), you should be don\u0027t use _click_on_Instance_create (and etc). In the right places -- use:\nself.instance_more_drop_down.click()","commit_id":"656cb55782d405eb92c03099c96913838877120e"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"fd4f54045b795f8f0dfcf5586da27a480299f501","unresolved":false,"context_lines":[{"line_number":124,"context_line":"        wait.WebDriverWait(self.driver, 15).until("},{"line_number":125,"context_line":"            lambda x: self.is_element_present(*self._loading_locator))"},{"line_number":126,"context_line":"        wait.WebDriverWait(self.driver, 200).until_not("},{"line_number":127,"context_line":"            lambda x: self.is_element_present(*self._loading_locator))"},{"line_number":128,"context_line":"        return self._status_locator"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    def terminate_instance(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa98f980_2a4357b0","line":127,"updated":"2014-09-18 09:37:20.000000000","message":"If this really need -- please create method in the pageobject using the WebDriverWait.\nMaybe I have the same problem:\nhttps://review.openstack.org/#/c/110919/22/openstack_dashboard/test/integration_tests/pages/identity/projectspage.py","commit_id":"52933cecf08b88ddcb151fabbc01659a7b49fc03"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    def __init__(self, driver, conf):"},{"line_number":23,"context_line":"        self.driver \u003d driver"},{"line_number":24,"context_line":"        super(InstancesPage, self).__init__(driver, conf)"},{"line_number":25,"context_line":"        self.instance_name \u003d \u0027Instance_\u0027 + str(datetime.datetime.now()."},{"line_number":26,"context_line":"                                               strftime(\"%Y%m%d%H%M%S\")[2:])"},{"line_number":27,"context_line":"        self._instance_row_locator \u003d ("}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_6cdfbc0d","line":24,"updated":"2014-11-16 13:17:49.000000000","message":"please add self._page_title","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    def __init__(self, driver, conf):"},{"line_number":23,"context_line":"        self.driver \u003d driver"},{"line_number":24,"context_line":"        super(InstancesPage, self).__init__(driver, conf)"},{"line_number":25,"context_line":"        self.instance_name \u003d \u0027Instance_\u0027 + str(datetime.datetime.now()."},{"line_number":26,"context_line":"                                               strftime(\"%Y%m%d%H%M%S\")[2:])"},{"line_number":27,"context_line":"        self._instance_row_locator \u003d ("},{"line_number":28,"context_line":"            by.By.CSS_SELECTOR, \"tr[data-display\u003d\u0027%s\u0027]\""}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_4cbf60aa","line":25,"updated":"2014-11-16 13:17:49.000000000","message":"we name new resources in the tests. \nis there a specific reason to do it in this page?","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":24,"context_line":"        super(InstancesPage, self).__init__(driver, conf)"},{"line_number":25,"context_line":"        self.instance_name \u003d \u0027Instance_\u0027 + str(datetime.datetime.now()."},{"line_number":26,"context_line":"                                               strftime(\"%Y%m%d%H%M%S\")[2:])"},{"line_number":27,"context_line":"        self._instance_row_locator \u003d ("},{"line_number":28,"context_line":"            by.By.CSS_SELECTOR, \"tr[data-display\u003d\u0027%s\u0027]\""},{"line_number":29,"context_line":"            % self.instance_name)"},{"line_number":30,"context_line":"        self._launch_Instance_button_locator \u003d ("}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_2cc21434","line":27,"updated":"2014-11-16 13:17:49.000000000","message":"please move all locators before the constructor in order to maintain consistency.","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"}],"openstack_dashboard/test/integration_tests/pages/project/compute/instancespage.py":[{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"3ee700cc3250829896a616c3d5c4993fbccf8a2d","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        instance.flavor.text \u003d kwargs[\u0027flavor\u0027]"},{"line_number":88,"context_line":"        instance.instance_boot_source.text \u003d kwargs[\u0027boot_source\u0027]"},{"line_number":89,"context_line":"        instance.image_name.text \u003d kwargs[\u0027image_name\u0027]"},{"line_number":90,"context_line":"#        instance.access_and_security.value\u003d kwargs[\u0027keypair\u0027]"},{"line_number":91,"context_line":"        instance.submit.click()"},{"line_number":92,"context_line":"        wait.WebDriverWait(self.driver, 20).until("},{"line_number":93,"context_line":"            lambda x: self.is_instance_active(kwargs[\u0027instance_name\u0027]))"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_98dbc41a","line":90,"updated":"2014-12-09 09:27:41.000000000","message":"strange comment","commit_id":"3198e5530626bfa9d6c15f105d7ef95687936816"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"e252d554a3fe7adb301091b65136a0c6aa894633","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        instance.flavor.text \u003d kwargs[\u0027flavor\u0027]"},{"line_number":88,"context_line":"        instance.instance_boot_source.text \u003d kwargs[\u0027boot_source\u0027]"},{"line_number":89,"context_line":"        instance.image_name.text \u003d kwargs[\u0027image_name\u0027]"},{"line_number":90,"context_line":"#        instance.access_and_security.value\u003d kwargs[\u0027keypair\u0027]"},{"line_number":91,"context_line":"        instance.submit.click()"},{"line_number":92,"context_line":"        wait.WebDriverWait(self.driver, 20).until("},{"line_number":93,"context_line":"            lambda x: self.is_instance_active(kwargs[\u0027instance_name\u0027]))"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a961159_04f5a3ca","line":90,"in_reply_to":"3a961159_98dbc41a","updated":"2014-12-09 15:54:38.000000000","message":"Keypair will be included to create the instance.\ncommented keypair line as this needs fix from https://review.openstack.org/#/c/126478/","commit_id":"3198e5530626bfa9d6c15f105d7ef95687936816"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"9cf4afa58572737b46fe1a8595860e09af83b20f","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    @property"},{"line_number":66,"context_line":"    def confirm_delete_instances_form(self):"},{"line_number":67,"context_line":"        return forms.BaseFormRegion(self.driver, self.conf, None)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    @property"},{"line_number":70,"context_line":"    def create_instance_form(self):"}],"source_content_type":"text/x-python","patch_set":11,"id":"3a961159_f7d0b5ca","line":67,"updated":"2014-12-13 20:51:13.000000000","message":"nitpick: the None can be omitted in the constructor","commit_id":"7eff6e2ce0410b06f24b48ae98cba695e099d7c4"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"9cf4afa58572737b46fe1a8595860e09af83b20f","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        instance.image_name.text \u003d kwargs[\u0027image_name\u0027]"},{"line_number":90,"context_line":"#        instance.access_and_security.value\u003d kwargs[\u0027keypair\u0027]"},{"line_number":91,"context_line":"        instance.submit.click()"},{"line_number":92,"context_line":"        wait.WebDriverWait(self.driver, 20).until("},{"line_number":93,"context_line":"            lambda x: self.is_instance_active(kwargs[\u0027instance_name\u0027]))"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def terminate_instance(self, instance_name):"}],"source_content_type":"text/x-python","patch_set":11,"id":"3a961159_37debddd","line":92,"updated":"2014-12-13 20:51:13.000000000","message":"recently method _wait_till_text_present_in_element get merged in https://review.openstack.org/#/c/112406/8/openstack_dashboard/test/integration_tests/basewebobject.py\n\ndo you think you could enhance this method so it supports not only locator but also the web element itself among its arguments and use it instead of those calls to WebDriverWait ? \n\nI would expect that then there would be two more methods -\u003e wait till instance active and wait till instance non active (in your page object)","commit_id":"7eff6e2ce0410b06f24b48ae98cba695e099d7c4"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"8c84ed0e7abd952ff7a38f9730c28eaf7ecffe2e","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        instance.flavor.text \u003d kwargs[\u0027flavor\u0027]"},{"line_number":88,"context_line":"        instance.instance_boot_source.text \u003d kwargs[\u0027boot_source\u0027]"},{"line_number":89,"context_line":"        instance.image_name.text \u003d kwargs[\u0027image_name\u0027]"},{"line_number":90,"context_line":"#        instance.access_and_security.value\u003d kwargs[\u0027keypair\u0027]"},{"line_number":91,"context_line":"        instance.submit.click()"},{"line_number":92,"context_line":"        wait.WebDriverWait(self.driver, 20).until("},{"line_number":93,"context_line":"            lambda x: self.is_instance_active(kwargs[\u0027instance_name\u0027]))"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a961159_15f7325b","line":90,"updated":"2015-01-15 10:51:47.000000000","message":"This line don\u0027t need","commit_id":"9bb87dc53161d4299d4928b316cf4944eb0c9c97"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"4d529f1a5aded4dbe50721f0482ac204d3c58a48","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    def is_instance_present(self, name):"},{"line_number":78,"context_line":"        return bool(self._get_row_with_instance_name(name))"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def create_instance(self, **kwargs):"},{"line_number":81,"context_line":"        self.instances_table.launch_instance.click()"},{"line_number":82,"context_line":"        instance \u003d self.create_instance_form"},{"line_number":83,"context_line":"        instance.availability_zone.value \u003d kwargs[\u0027availability_zone\u0027]"}],"source_content_type":"text/x-python","patch_set":16,"id":"3a961159_16e9a319","line":80,"updated":"2015-01-19 09:19:20.000000000","message":"nitpick: prefer to have all arguments listed, so anyone who is using this method knows that you are actually working with arguments that are supplied and not ignoring them.","commit_id":"149b0eef548f03ae8f03d1b85aca4aaa193a5ace"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"b5c31633dfea581c8b9112e9bf58473543aacf21","unresolved":false,"context_lines":[{"line_number":92,"context_line":"                        delete_on_terminate\u003dDEFAULT_DELETE_ON_TERMINATE):"},{"line_number":93,"context_line":"        self.instances_table.launch_instance.click()"},{"line_number":94,"context_line":"        if \u0027image (creates a new volume)\u0027 in boot_source:"},{"line_number":95,"context_line":"            self.CREATE_INSTANCE_FORM_FIELDS[0].insert(6, \u0027device_size\u0027)"},{"line_number":96,"context_line":"        instance \u003d self.create_instance_form"},{"line_number":97,"context_line":"        instance.availability_zone.value \u003d available_zone"},{"line_number":98,"context_line":"        instance.instance_name.text \u003d instance_name"}],"source_content_type":"text/x-python","patch_set":18,"id":"1a930d6b_99b43f83","line":95,"updated":"2015-01-26 12:14:00.000000000","message":"all fields should be present even if their are hidden in some scenarios, you should not add them dynamically, this would result in multiple insertion of device_size if called multiple times","commit_id":"fecfdd29b667584bc7f96ebe177b5b23fccbec57"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"5405beabf06076a1db7fbfb23b6b21db46804e4e","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    def terminate_instance(self, instance_name):"},{"line_number":112,"context_line":"        row \u003d self._get_row_with_instance_name(instance_name)"},{"line_number":113,"context_line":"        if self.is_instance_present(instance_name):"},{"line_number":114,"context_line":"            row \u003d self._get_row_with_instance_name(instance_name)"},{"line_number":115,"context_line":"            row.mark()"},{"line_number":116,"context_line":"            self.instances_table.terminate_instances.click()"}],"source_content_type":"text/x-python","patch_set":18,"id":"1a930d6b_5bec948f","line":113,"updated":"2015-01-26 08:58:50.000000000","message":"not sure that you should check if the instance is present and then go silently further (i would personally avoid the check and go ahead and delete it with possible failure)","commit_id":"fecfdd29b667584bc7f96ebe177b5b23fccbec57"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"82119bb0a5dcf6eef4c96af97880b9d6f3e75b25","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        instance.flavor.text \u003d flavor"},{"line_number":101,"context_line":"        instance.instance_count.value \u003d instance_count"},{"line_number":102,"context_line":"        instance.instance_boot_source.text \u003d boot_source"},{"line_number":103,"context_line":"        source \u003d self._get_source_name(instance, boot_source)"},{"line_number":104,"context_line":"        source.text \u003d source_name"},{"line_number":105,"context_line":"        if instance.device_size.is_displayed():"},{"line_number":106,"context_line":"            instance.device_size.value \u003d device_size"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_450c0743","line":103,"updated":"2015-01-28 20:45:11.000000000","message":"I would personally create another arguments to this method(image_name, volume_name etc...) and fill accordingly to arguments.(just my preference)","commit_id":"bb6df70c5ad9e2e956c47b9c93f9d04f277746b2"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"82119bb0a5dcf6eef4c96af97880b9d6f3e75b25","unresolved":false,"context_lines":[{"line_number":102,"context_line":"        instance.instance_boot_source.text \u003d boot_source"},{"line_number":103,"context_line":"        source \u003d self._get_source_name(instance, boot_source)"},{"line_number":104,"context_line":"        source.text \u003d source_name"},{"line_number":105,"context_line":"        if instance.device_size.is_displayed():"},{"line_number":106,"context_line":"            instance.device_size.value \u003d device_size"},{"line_number":107,"context_line":"        if delete_on_terminate:"},{"line_number":108,"context_line":"            instance.delete_on_terminate.mark()"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_4595e73e","line":105,"updated":"2015-01-28 20:45:11.000000000","message":"Let\u0027s assume that something bad happen and that it is not possible to specify device size in the form, because it is not displayed ever , let\u0027s have the test that specify device size  when creating new instance,  will this test fail? It is necessary to fill the fields as caller requests and not base filling on particular page structure therefore i would suggest to fill the field \u0027if not None\u0027 or something like that.","commit_id":"bb6df70c5ad9e2e956c47b9c93f9d04f277746b2"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"4b85e41effbc2d01dfdcfcac98afd750f4d9cbad","unresolved":false,"context_lines":[{"line_number":102,"context_line":"        instance.instance_boot_source.text \u003d boot_source"},{"line_number":103,"context_line":"        source \u003d self._get_source_name(instance, boot_source)"},{"line_number":104,"context_line":"        source.text \u003d source_name"},{"line_number":105,"context_line":"        if instance.device_size.is_displayed():"},{"line_number":106,"context_line":"            instance.device_size.value \u003d device_size"},{"line_number":107,"context_line":"        if delete_on_terminate:"},{"line_number":108,"context_line":"            instance.delete_on_terminate.mark()"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_7809b1dc","line":105,"in_reply_to":"fa81d914_4595e73e","updated":"2015-01-28 21:44:49.000000000","message":"@Tomáš Nová?ik: I agree with you, that makes sense. I will make changes.","commit_id":"bb6df70c5ad9e2e956c47b9c93f9d04f277746b2"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"82119bb0a5dcf6eef4c96af97880b9d6f3e75b25","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        return True"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    def _get_source_name(self, instance, boot_source):"},{"line_number":131,"context_line":"        self.source_name \u003d {"},{"line_number":132,"context_line":"            \u0027Boot from image\u0027: instance.image_name,"},{"line_number":133,"context_line":"            \u0027Boot from volume\u0027: instance.volume_name,"},{"line_number":134,"context_line":"            \u0027Boot from snapshot\u0027: instance.snapshot_name,"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_253b933b","line":131,"updated":"2015-01-28 20:45:11.000000000","message":"why is it self necessary?","commit_id":"bb6df70c5ad9e2e956c47b9c93f9d04f277746b2"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"4b85e41effbc2d01dfdcfcac98afd750f4d9cbad","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        return True"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    def _get_source_name(self, instance, boot_source):"},{"line_number":131,"context_line":"        self.source_name \u003d {"},{"line_number":132,"context_line":"            \u0027Boot from image\u0027: instance.image_name,"},{"line_number":133,"context_line":"            \u0027Boot from volume\u0027: instance.volume_name,"},{"line_number":134,"context_line":"            \u0027Boot from snapshot\u0027: instance.snapshot_name,"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_b813290c","line":131,"in_reply_to":"fa81d914_253b933b","updated":"2015-01-28 21:44:49.000000000","message":"@Tomáš Nová?ik:: yes, we can remove self.","commit_id":"bb6df70c5ad9e2e956c47b9c93f9d04f277746b2"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"7b779063973050819ad9c2a2fb17e0081879f07a","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"class InstancesPage(basepage.BaseNavigationPage):"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    DEFAULT_AVAILABILITY_ZONE \u003d \u0027nova\u0027"},{"line_number":23,"context_line":"    DEFAULT_FLAVOR \u003d \u0027m1.tiny\u0027"},{"line_number":24,"context_line":"    DEFAULT_COUNT \u003d 1"},{"line_number":25,"context_line":"    DEFAULT_BOOT_SOURCE \u003d \u0027Boot from image\u0027"}],"source_content_type":"text/x-python","patch_set":20,"id":"fa81d914_5a39fad5","line":22,"updated":"2015-01-30 07:17:59.000000000","message":"Need to be configurable too, to be re-usable for other deployment with diff AZ configuration","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"25bad695d4be7e7330589a9bbf45a85dc0652f81","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"class InstancesPage(basepage.BaseNavigationPage):"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    DEFAULT_AVAILABILITY_ZONE \u003d \u0027nova\u0027"},{"line_number":23,"context_line":"    DEFAULT_FLAVOR \u003d \u0027m1.tiny\u0027"},{"line_number":24,"context_line":"    DEFAULT_COUNT \u003d 1"},{"line_number":25,"context_line":"    DEFAULT_BOOT_SOURCE \u003d \u0027Boot from image\u0027"}],"source_content_type":"text/x-python","patch_set":20,"id":"ba7be1f8_30920158","line":22,"in_reply_to":"da86d52c_65daa179","updated":"2015-02-20 22:28:14.000000000","message":"@Amogh: yes. This way, someone that have a different AZ setup could re-run the selenium test on their deployment. \n\nThis AZ value is default on devstack (I think)","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"9624fefd3e7be5aae73e8de5c7e4542825032988","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"class InstancesPage(basepage.BaseNavigationPage):"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    DEFAULT_AVAILABILITY_ZONE \u003d \u0027nova\u0027"},{"line_number":23,"context_line":"    DEFAULT_FLAVOR \u003d \u0027m1.tiny\u0027"},{"line_number":24,"context_line":"    DEFAULT_COUNT \u003d 1"},{"line_number":25,"context_line":"    DEFAULT_BOOT_SOURCE \u003d \u0027Boot from image\u0027"}],"source_content_type":"text/x-python","patch_set":20,"id":"da86d52c_65daa179","line":22,"in_reply_to":"fa81d914_5a39fad5","updated":"2015-02-17 22:19:41.000000000","message":"@Lin: do you mean, it is good to define \"Zone\" and \"Instance_Source\" in horizon.conf file?","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"7b779063973050819ad9c2a2fb17e0081879f07a","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    DEFAULT_FLAVOR \u003d \u0027m1.tiny\u0027"},{"line_number":24,"context_line":"    DEFAULT_COUNT \u003d 1"},{"line_number":25,"context_line":"    DEFAULT_BOOT_SOURCE \u003d \u0027Boot from image\u0027"},{"line_number":26,"context_line":"    DEFAULT_SOURCE_NAME \u003d \u0027cirros-0.3.2-x86_64-uec (24.0 MB)\u0027"},{"line_number":27,"context_line":"    DEFAULT_DELETE_ON_TERMINATE \u003d False"},{"line_number":28,"context_line":"    DEFAULT_SECURITY_GROUP \u003d True"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"fa81d914_9a18d276","line":26,"updated":"2015-01-30 07:17:59.000000000","message":"This probably needs to be configurable, so it can be run on other deployment that may have different set of images","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"25bad695d4be7e7330589a9bbf45a85dc0652f81","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    DEFAULT_FLAVOR \u003d \u0027m1.tiny\u0027"},{"line_number":24,"context_line":"    DEFAULT_COUNT \u003d 1"},{"line_number":25,"context_line":"    DEFAULT_BOOT_SOURCE \u003d \u0027Boot from image\u0027"},{"line_number":26,"context_line":"    DEFAULT_SOURCE_NAME \u003d \u0027cirros-0.3.2-x86_64-uec (24.0 MB)\u0027"},{"line_number":27,"context_line":"    DEFAULT_DELETE_ON_TERMINATE \u003d False"},{"line_number":28,"context_line":"    DEFAULT_SECURITY_GROUP \u003d True"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":20,"id":"ba7be1f8_d099a56f","line":26,"in_reply_to":"fa81d914_9a18d276","updated":"2015-02-20 22:28:14.000000000","message":"same comment about moving this to conf file\n\nthis image is specific to devstack setup, it may be different for other env","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"7b779063973050819ad9c2a2fb17e0081879f07a","unresolved":false,"context_lines":[{"line_number":107,"context_line":"            instance.delete_on_terminate.mark()"},{"line_number":108,"context_line":"        instance.submit.click()"},{"line_number":109,"context_line":"        wait.WebDriverWait(self.driver, self.explicit_wait).until("},{"line_number":110,"context_line":"            lambda x: self.is_instance_present(instance_name))"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def terminate_instance(self, instance_name):"},{"line_number":113,"context_line":"        row \u003d self._get_row_with_instance_name(instance_name)"}],"source_content_type":"text/x-python","patch_set":20,"id":"fa81d914_ba9d96be","line":110,"updated":"2015-01-30 07:17:59.000000000","message":"is it possible to re-use the new wait method you added in the base class here?","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"9624fefd3e7be5aae73e8de5c7e4542825032988","unresolved":false,"context_lines":[{"line_number":107,"context_line":"            instance.delete_on_terminate.mark()"},{"line_number":108,"context_line":"        instance.submit.click()"},{"line_number":109,"context_line":"        wait.WebDriverWait(self.driver, self.explicit_wait).until("},{"line_number":110,"context_line":"            lambda x: self.is_instance_present(instance_name))"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def terminate_instance(self, instance_name):"},{"line_number":113,"context_line":"        row \u003d self._get_row_with_instance_name(instance_name)"}],"source_content_type":"text/x-python","patch_set":20,"id":"da86d52c_e53cd195","line":110,"in_reply_to":"fa81d914_ba9d96be","updated":"2015-02-17 22:19:41.000000000","message":"@Lin: Yes, I can modify this.","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"7b779063973050819ad9c2a2fb17e0081879f07a","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        self.instances_table.terminate_instances.click()"},{"line_number":116,"context_line":"        self.confirm_delete_instances_form.submit.click()"},{"line_number":117,"context_line":"        wait.WebDriverWait(self.driver, self.explicit_wait).until_not("},{"line_number":118,"context_line":"            lambda x: self.is_instance_present(instance_name))"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"    def is_instance_active(self, instance_name):"},{"line_number":121,"context_line":"        row \u003d self._get_row_with_instance_name(instance_name)"}],"source_content_type":"text/x-python","patch_set":20,"id":"fa81d914_faa38efd","line":118,"updated":"2015-01-30 07:17:59.000000000","message":"same question here","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    _instances_table_locator \u003d (by.By.CSS_SELECTOR, \u0027table#instances\u0027)"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    INSTANCES_TABLE_ACTIONS \u003d (\"launch_instance\", \"terminate_instances\","},{"line_number":30,"context_line":"                               (\"soft_reboot_instances\"))"},{"line_number":31,"context_line":"    INSTANCES_TABLE_NAME_COLUMN_INDEX \u003d 0"},{"line_number":32,"context_line":"    INSTANCES_TABLE_STATUS_COLUMN_INDEX \u003d 5"}],"source_content_type":"text/x-python","patch_set":22,"id":"9a80dd14_e3d5f743","line":29,"updated":"2015-03-05 11:30:55.000000000","message":"there are two more table actions: start_instances, shut_off_instances","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        if delete_on_terminate:"},{"line_number":108,"context_line":"            instance.delete_on_terminate.mark()"},{"line_number":109,"context_line":"        instance.submit.click()"},{"line_number":110,"context_line":"        instance_table_elem \u003d self._get_element(*self._instances_table_locator)"},{"line_number":111,"context_line":"        self._wait_till_text_present_in_element("},{"line_number":112,"context_line":"            instance_table_elem, instance_name)"},{"line_number":113,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"9a80dd14_0f35cdd9","line":110,"updated":"2015-03-05 11:30:55.000000000","message":"PEP 8: line too long (79 \u003e 78 characters)","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"438df65efdbb15125fcc2c3ebeff84592fa02e71","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    _instances_table_locator \u003d (by.By.CSS_SELECTOR, \u0027table#instances\u0027)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    INSTANCES_TABLE_ACTIONS \u003d (\"launch_instance\", \"terminate_instances\","},{"line_number":34,"context_line":"                               (\u0027start_instances\u0027,"},{"line_number":35,"context_line":"                                \u0027shut_off_instances\u0027,"},{"line_number":36,"context_line":"                                \"soft_reboot_instances\"))"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_caa0a692","line":33,"updated":"2015-09-07 16:06:06.000000000","message":"When LAUNCH_INSTANCE_NG is set to True, there will be 2 \u0027Launch Instance\u0027 buttons. That is not true with current devstack, but once it\u0027ll be set up, this test will break.\n\nThis patch https://review.openstack.org/#/c/218301/ may help to fix this in advance - by tying to specific button id, and not relying on its relative order within other action buttons.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"caa68b19da8221a65e32ffe2d11ddba94586b368","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    _instances_table_locator \u003d (by.By.CSS_SELECTOR, \u0027table#instances\u0027)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    INSTANCES_TABLE_ACTIONS \u003d (\"launch_instance\", \"terminate_instances\","},{"line_number":34,"context_line":"                               (\u0027start_instances\u0027,"},{"line_number":35,"context_line":"                                \u0027shut_off_instances\u0027,"},{"line_number":36,"context_line":"                                \"soft_reboot_instances\"))"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_64bd0ab0","line":33,"in_reply_to":"da20952f_caa0a692","updated":"2015-09-07 21:38:50.000000000","message":"Sure, Thx @Timur. Changes will be made in the next patch.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"438df65efdbb15125fcc2c3ebeff84592fa02e71","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        if delete_on_terminate:"},{"line_number":116,"context_line":"            instance.delete_on_terminate.mark()"},{"line_number":117,"context_line":"        instance.submit.click()"},{"line_number":118,"context_line":"        instance_table_elem \u003d self._get_element("},{"line_number":119,"context_line":"            *self._instances_table_locator)"},{"line_number":120,"context_line":"        try:"},{"line_number":121,"context_line":"            self._wait_till_text_present_in_element("}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_aa2772c8","line":118,"updated":"2015-09-07 16:06:06.000000000","message":"I suggest to use the same pattern as for images: wait till spinner disappears, then exit here and check for table entry existence in the main test body.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"caa68b19da8221a65e32ffe2d11ddba94586b368","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        if delete_on_terminate:"},{"line_number":116,"context_line":"            instance.delete_on_terminate.mark()"},{"line_number":117,"context_line":"        instance.submit.click()"},{"line_number":118,"context_line":"        instance_table_elem \u003d self._get_element("},{"line_number":119,"context_line":"            *self._instances_table_locator)"},{"line_number":120,"context_line":"        try:"},{"line_number":121,"context_line":"            self._wait_till_text_present_in_element("}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_a4c7a243","line":118,"in_reply_to":"da20952f_aa2772c8","updated":"2015-09-07 21:38:50.000000000","message":"I agree with you, Changes will be made in the next patch.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"438df65efdbb15125fcc2c3ebeff84592fa02e71","unresolved":false,"context_lines":[{"line_number":134,"context_line":"        self.confirm_delete_instances_form.submit.click()"},{"line_number":135,"context_line":"        try:"},{"line_number":136,"context_line":"            self._wait_till_spinner_disappears()"},{"line_number":137,"context_line":"            self._wait_till_element_disappears(_instance)"},{"line_number":138,"context_line":"        except exceptions.TimeoutException:"},{"line_number":139,"context_line":"            return False"},{"line_number":140,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_e5791d83","line":137,"updated":"2015-09-07 16:06:06.000000000","message":"What do you think of explicitly testing terminated instance for non-existence in main test body? I understand that it may take more time than the similar case for image deleting,  just wanted to know your opinion.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"bc6cc0286889dbc92064921aa561732d8313766b","unresolved":false,"context_lines":[{"line_number":134,"context_line":"        self.confirm_delete_instances_form.submit.click()"},{"line_number":135,"context_line":"        try:"},{"line_number":136,"context_line":"            self._wait_till_spinner_disappears()"},{"line_number":137,"context_line":"            self._wait_till_element_disappears(_instance)"},{"line_number":138,"context_line":"        except exceptions.TimeoutException:"},{"line_number":139,"context_line":"            return False"},{"line_number":140,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_169f8d66","line":137,"in_reply_to":"da20952f_e4991a6e","updated":"2015-09-08 13:47:31.000000000","message":"+1 for moving this check out to a new is_instance_terminated() method. This will make terminate_instance() method much simpler.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"caa68b19da8221a65e32ffe2d11ddba94586b368","unresolved":false,"context_lines":[{"line_number":134,"context_line":"        self.confirm_delete_instances_form.submit.click()"},{"line_number":135,"context_line":"        try:"},{"line_number":136,"context_line":"            self._wait_till_spinner_disappears()"},{"line_number":137,"context_line":"            self._wait_till_element_disappears(_instance)"},{"line_number":138,"context_line":"        except exceptions.TimeoutException:"},{"line_number":139,"context_line":"            return False"},{"line_number":140,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_e4991a6e","line":137,"in_reply_to":"da20952f_e5791d83","updated":"2015-09-07 21:38:50.000000000","message":"If we try to terminate the instance and \"assertFalse\" then we may hit \"True is not False Error\". \n\nRather we can split the existing method into \n1. Terminate_instance()\n2. is_instance_terminated():  is_instance_present does not really help here as you mentioned, we may have to wait for some time for instance delete.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"438df65efdbb15125fcc2c3ebeff84592fa02e71","unresolved":false,"context_lines":[{"line_number":146,"context_line":"        try:"},{"line_number":147,"context_line":"            instance_index \u003d self.INSTANCES_TABLE_STATUS_COLUMN_INDEX"},{"line_number":148,"context_line":"            self._wait_till_text_present_in_element("},{"line_number":149,"context_line":"                row.cells[instance_index], \u0027Active\u0027)"},{"line_number":150,"context_line":"        except exceptions.TimeoutException:"},{"line_number":151,"context_line":"            return False"},{"line_number":152,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_aa045249","line":149,"updated":"2015-09-07 16:06:06.000000000","message":"AFAIU, this query is susceptible to the same issue that is being circumvented here: https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py#L111 Whether this issue is encountered or not seems to depend on some selenium machinery I wasn\u0027t able to fully comprehend (so I wouldn\u0027t bet it won\u0027t happen).\n\nI suggest using the same bulletproof query as in imagespage (perhaps, we should abstract this pattern away for reusing at every test).","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"caa68b19da8221a65e32ffe2d11ddba94586b368","unresolved":false,"context_lines":[{"line_number":146,"context_line":"        try:"},{"line_number":147,"context_line":"            instance_index \u003d self.INSTANCES_TABLE_STATUS_COLUMN_INDEX"},{"line_number":148,"context_line":"            self._wait_till_text_present_in_element("},{"line_number":149,"context_line":"                row.cells[instance_index], \u0027Active\u0027)"},{"line_number":150,"context_line":"        except exceptions.TimeoutException:"},{"line_number":151,"context_line":"            return False"},{"line_number":152,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_e40cba94","line":149,"in_reply_to":"da20952f_aa045249","updated":"2015-09-07 21:38:50.000000000","message":"Sure, We can abstract this. I can make a separate patch for the similar methods.\n\n1. is_active(name, row)\n2. is_present(name, row)\n3.  is_terminated(name, row)\n\nHowever for now, I\u0027m using the same bulletproof query as in imagespage. Changes will be available in new patch.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"bc6cc0286889dbc92064921aa561732d8313766b","unresolved":false,"context_lines":[{"line_number":146,"context_line":"        try:"},{"line_number":147,"context_line":"            instance_index \u003d self.INSTANCES_TABLE_STATUS_COLUMN_INDEX"},{"line_number":148,"context_line":"            self._wait_till_text_present_in_element("},{"line_number":149,"context_line":"                row.cells[instance_index], \u0027Active\u0027)"},{"line_number":150,"context_line":"        except exceptions.TimeoutException:"},{"line_number":151,"context_line":"            return False"},{"line_number":152,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_d63ef58a","line":149,"in_reply_to":"da20952f_e40cba94","updated":"2015-09-08 13:47:31.000000000","message":"Agreed.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"438df65efdbb15125fcc2c3ebeff84592fa02e71","unresolved":false,"context_lines":[{"line_number":154,"context_line":"    def _get_source_name(self, instance, boot_source,"},{"line_number":155,"context_line":"                         conf):"},{"line_number":156,"context_line":"        if \u0027image\u0027 in boot_source:"},{"line_number":157,"context_line":"            return instance.image_id, conf.image_name"},{"line_number":158,"context_line":"        elif boot_source \u003d\u003d \u0027Boot from volume\u0027:"},{"line_number":159,"context_line":"            return instance.volume_id, self.DEFAULT_VOLUME_NAME"},{"line_number":160,"context_line":"        elif boot_source \u003d\u003d \u0027Boot from snapshot\u0027:"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_ea0c8aed","line":157,"updated":"2015-09-07 16:06:06.000000000","message":"I understand that conf.image_name is meant to exist in the system already. Nevertheless it wouldn\u0027t hurt to make a check if the required value exists in the dropdown list and fail with a meaningful message otherwise. I ran the tests against our own lab (which doesn\u0027t have such image), and it hanged silently (trying to select non-existent value), until failing due a timeout. If anything like this happens on gate, it would be not easy to find out what caused the timeout.\n\nAgain, I understand that it works as of now, but adding this feature would ease the pain of debugging broken tests.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"bc6cc0286889dbc92064921aa561732d8313766b","unresolved":false,"context_lines":[{"line_number":154,"context_line":"    def _get_source_name(self, instance, boot_source,"},{"line_number":155,"context_line":"                         conf):"},{"line_number":156,"context_line":"        if \u0027image\u0027 in boot_source:"},{"line_number":157,"context_line":"            return instance.image_id, conf.image_name"},{"line_number":158,"context_line":"        elif boot_source \u003d\u003d \u0027Boot from volume\u0027:"},{"line_number":159,"context_line":"            return instance.volume_id, self.DEFAULT_VOLUME_NAME"},{"line_number":160,"context_line":"        elif boot_source \u003d\u003d \u0027Boot from snapshot\u0027:"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_96c2bd85","line":157,"in_reply_to":"da20952f_64fc2ab5","updated":"2015-09-08 13:47:31.000000000","message":"Agreed on that. Who is going to make this patch? I think it should be done in scope of bp integration-tests-hardening.","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"caa68b19da8221a65e32ffe2d11ddba94586b368","unresolved":false,"context_lines":[{"line_number":154,"context_line":"    def _get_source_name(self, instance, boot_source,"},{"line_number":155,"context_line":"                         conf):"},{"line_number":156,"context_line":"        if \u0027image\u0027 in boot_source:"},{"line_number":157,"context_line":"            return instance.image_id, conf.image_name"},{"line_number":158,"context_line":"        elif boot_source \u003d\u003d \u0027Boot from volume\u0027:"},{"line_number":159,"context_line":"            return instance.volume_id, self.DEFAULT_VOLUME_NAME"},{"line_number":160,"context_line":"        elif boot_source \u003d\u003d \u0027Boot from snapshot\u0027:"}],"source_content_type":"text/x-python","patch_set":34,"id":"da20952f_64fc2ab5","line":157,"in_reply_to":"da20952f_ea0c8aed","updated":"2015-09-07 21:38:50.000000000","message":"@Timur: Right now, if we do not specify the existing image in conf file, the current framework throws, selenium.common.exceptions.NoSuchElementException: Message: Could not locate element with visible text: cirros-0.3.3-x86_64-uec (24.0 MB).\n\nSince this is not specific to Instances scripts, can we have separate patch to modify forms page to check the existing \"drop down attributes\" first?","commit_id":"4450edf35b96cd5176db9e64565acb6aa6d501b2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b850d79c9225716dd705d752c679dcdde540d146","unresolved":false,"context_lines":[{"line_number":127,"context_line":"    def is_instance_terminated(self, name):"},{"line_number":128,"context_line":"        _instance_locator \u003d (by.By.LINK_TEXT, name)"},{"line_number":129,"context_line":"        try:"},{"line_number":130,"context_line":"            _instance \u003d self._get_element(*_instance_locator)"},{"line_number":131,"context_line":"            self._wait_till_element_disappears(_instance)"},{"line_number":132,"context_line":"        except exceptions.TimeoutException:"},{"line_number":133,"context_line":"            return False"}],"source_content_type":"text/x-python","patch_set":38,"id":"da20952f_f6973e38","line":130,"updated":"2015-09-09 16:44:40.000000000","message":"Please, note that fetching instance reference by its name inside the link is prone to the error (3) described and fixed at https://blueprints.launchpad.net/horizon/+spec/integration-tests-hardening - because it could be truncated (especially in case of long entity names created by integration tests).\n\nCould we fetch here the whole row with _get_row_with_instance_name(name)? It seems to fail/succeed on same conditions.","commit_id":"1a578ec60e608e1305c06742ce5ce021339f69cd"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"270faf828165c8d895629760583adb2b27c0a20c","unresolved":false,"context_lines":[{"line_number":127,"context_line":"    def is_instance_terminated(self, name):"},{"line_number":128,"context_line":"        _instance_locator \u003d (by.By.LINK_TEXT, name)"},{"line_number":129,"context_line":"        try:"},{"line_number":130,"context_line":"            _instance \u003d self._get_element(*_instance_locator)"},{"line_number":131,"context_line":"            self._wait_till_element_disappears(_instance)"},{"line_number":132,"context_line":"        except exceptions.TimeoutException:"},{"line_number":133,"context_line":"            return False"}],"source_content_type":"text/x-python","patch_set":38,"id":"da20952f_3e701f40","line":130,"in_reply_to":"da20952f_f6973e38","updated":"2015-09-09 23:07:43.000000000","message":"@Timur Agree, thx for explaining name truncation in above bp. Changes will be available in new patch.","commit_id":"1a578ec60e608e1305c06742ce5ce021339f69cd"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"7a5ab3d505823fe93892357e8fc28636df1421bc","unresolved":false,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"class InstancesPage(basepage.BaseNavigationPage):"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    DEFAULT_FLAVOR \u003d \u0027m1.tiny\u0027"},{"line_number":23,"context_line":"    DEFAULT_COUNT \u003d 1"},{"line_number":24,"context_line":"    DEFAULT_BOOT_SOURCE \u003d \u0027Boot from image\u0027"},{"line_number":25,"context_line":"    DEFAULT_VOLUME_NAME \u003d None"}],"source_content_type":"text/x-python","patch_set":40,"id":"ba15a1d1_b90f1738","line":22,"updated":"2015-09-17 04:03:20.000000000","message":"should this go to config too?","commit_id":"76f4c4b02339b1cdeaa8b3ac8373e91dcf0addd1"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"ba06a778ff449655047a920f824d7265ad7c095a","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        if delete_on_terminate:"},{"line_number":116,"context_line":"            instance.delete_on_terminate.mark()"},{"line_number":117,"context_line":"        instance.submit.click()"},{"line_number":118,"context_line":"        self._wait_till_spinner_disappears()"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"    def terminate_instance(self, name):"},{"line_number":121,"context_line":"        row \u003d self._get_row_with_instance_name(name)"}],"source_content_type":"text/x-python","patch_set":43,"id":"5a2ca52d_9b37864c","line":118,"updated":"2015-10-17 09:53:14.000000000","message":"This method no longer exists, please use wait_till_popups_disappear()","commit_id":"faa63242807e22586a47631784352d7c7d7efaf0"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"ba06a778ff449655047a920f824d7265ad7c095a","unresolved":false,"context_lines":[{"line_number":122,"context_line":"        row.mark()"},{"line_number":123,"context_line":"        self.instances_table.terminate.click()"},{"line_number":124,"context_line":"        self.confirm_delete_instances_form.submit.click()"},{"line_number":125,"context_line":"        self._wait_till_spinner_disappears()"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    def is_instance_terminated(self, name):"},{"line_number":128,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":43,"id":"5a2ca52d_7b34ea48","line":125,"updated":"2015-10-17 09:53:14.000000000","message":"Ditto.","commit_id":"faa63242807e22586a47631784352d7c7d7efaf0"}],"openstack_dashboard/test/integration_tests/pages/projectpage.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc8cadf9ebd1d2747e10f090078d49af40c765a6","unresolved":false,"context_lines":[{"line_number":35,"context_line":"        return accesssecuritypage.AccessSecurityPage("},{"line_number":36,"context_line":"            self.driver, self.conf)"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def go_to_instances_page(self):"},{"line_number":39,"context_line":"        self.navaccordion._click_on_instances()"},{"line_number":40,"context_line":"        return instancespage.InstancesPage(self.driver, self.conf)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_fa4244a9","line":38,"updated":"2014-09-06 05:33:09.000000000","message":"Might need the same logic above to navigate to project dashboard first if the current page is on a different dashboard. \n\nSame comment in https://review.openstack.org/#/c/119501/1/openstack_dashboard/test/integration_tests/pages/projectpage.py","commit_id":"656cb55782d405eb92c03099c96913838877120e"},{"author":{"_account_id":10684,"name":"Mohan Seri","email":"mohan.seri@hp.com","username":"serim"},"change_message_id":"7b3020e1faa6f094803a95a29af20fe2e3e8e536","unresolved":false,"context_lines":[{"line_number":40,"context_line":"        \"\"\""},{"line_number":41,"context_line":"        for arg in args:"},{"line_number":42,"context_line":"            _dashboard_group_locator \u003d self.navaccordion._dashboard_locator("},{"line_number":43,"context_line":"                arg)"},{"line_number":44,"context_line":"            dashboard_group_locator_flag \u003d self.is_element_present("},{"line_number":45,"context_line":"                *_dashboard_group_locator[0])"},{"line_number":46,"context_line":"            if not dashboard_group_locator_flag:"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_47b5de7c","line":43,"updated":"2014-09-18 22:01:24.000000000","message":"_dashboard_group_locator can be dashboard_locator","commit_id":"66519384623772fd1f4c55d21276520f5e3765b9"},{"author":{"_account_id":10684,"name":"Mohan Seri","email":"mohan.seri@hp.com","username":"serim"},"change_message_id":"7b3020e1faa6f094803a95a29af20fe2e3e8e536","unresolved":false,"context_lines":[{"line_number":42,"context_line":"            _dashboard_group_locator \u003d self.navaccordion._dashboard_locator("},{"line_number":43,"context_line":"                arg)"},{"line_number":44,"context_line":"            dashboard_group_locator_flag \u003d self.is_element_present("},{"line_number":45,"context_line":"                *_dashboard_group_locator[0])"},{"line_number":46,"context_line":"            if not dashboard_group_locator_flag:"},{"line_number":47,"context_line":"                self.get_element(*_dashboard_group_locator[1]).click()"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_47431e6c","line":45,"updated":"2014-09-18 22:01:24.000000000","message":"dashboard_group_locator_flag can be  dashboard_locator_flag","commit_id":"66519384623772fd1f4c55d21276520f5e3765b9"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":25,"context_line":"        self.topbar.settings_link.click()"},{"line_number":26,"context_line":"        return settingspage.SettingsPage(self.driver, self.conf)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    def go_to_dashboard(self, *args):"},{"line_number":29,"context_line":"        \"\"\"Navigate to dashboard elements like"},{"line_number":30,"context_line":"        * Project, Project-\u003eCompute, Project-\u003eObject Store etc..."},{"line_number":31,"context_line":"        * Admin, Admin-\u003eSystem"}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_ccea70ab","line":28,"updated":"2014-11-16 13:17:49.000000000","message":"I suggest using Tomáš Nová?ik\u0027s navigation patch (https://review.openstack.org/#/c/110425/38) for navigation between pages - it is more generic, modular and saves unnecessary code.","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"}],"openstack_dashboard/test/integration_tests/regions/forms.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"7b779063973050819ad9c2a2fb17e0081879f07a","unresolved":false,"context_lines":[{"line_number":76,"context_line":"    \"\"\"Checkbox field.\"\"\""},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    _element_locator \u003d (by.By.CSS_SELECTOR,"},{"line_number":79,"context_line":"                        \u0027label \u003e input[type\u003dcheckbox]\u0027)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    def is_marked(self):"},{"line_number":82,"context_line":"        return self.element.is_selected()"}],"source_content_type":"text/x-python","patch_set":20,"id":"fa81d914_5a957a85","line":79,"updated":"2015-01-30 07:17:59.000000000","message":"would removing this cause regression?","commit_id":"7bc43cc9618e91d559699c5a768885d3f5c32a50"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":291,"context_line":""},{"line_number":292,"context_line":"        def __call__(self, *args, **kwargs):"},{"line_number":293,"context_line":"            self.switch_to_tab(self.tab_index)"},{"line_number":294,"context_line":"            return [field for field in self.get_fields()]"},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"    @property"},{"line_number":297,"context_line":"    def tabs(self):"}],"source_content_type":"text/x-python","patch_set":22,"id":"9a80dd14_e3525712","line":294,"updated":"2015-03-05 11:30:55.000000000","message":"is there a reason why you removed \"if field.is_displayed()]\" ?","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"dd17bb624b2f6274886ffb8475de5047b5848ea0","unresolved":false,"context_lines":[{"line_number":291,"context_line":""},{"line_number":292,"context_line":"        def __call__(self, *args, **kwargs):"},{"line_number":293,"context_line":"            self.switch_to_tab(self.tab_index)"},{"line_number":294,"context_line":"            return [field for field in self.get_fields()]"},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"    @property"},{"line_number":297,"context_line":"    def tabs(self):"}],"source_content_type":"text/x-python","patch_set":22,"id":"9a80dd14_da198d7a","line":294,"in_reply_to":"9a80dd14_e3525712","updated":"2015-03-06 19:41:34.000000000","message":"@Daniel: There will be some hidden elements, which needs to be considered while creating the form. \n\ne.g. In Create_instance_form_fields: the fields: snapshot_name, volume_name or image_name will be displayed only once the corresponding instance_boot_source is specified.  if field.is_displayed(), these elements will not be appended to field list.\n\nCREATE_INSTANCE_FORM_FIELDS \u003d ((\n        \"availability_zone\", \"instance_name\", \"flavor\",\n        \"instance_count\", \"instance_boot_source\", \"snapshot_name\",\n        \"volume_name\", \"volume_snapshot\", \"image_name\", \"device_size\",\n        \"delete_on_terminate\"),\n        (\"key_pair\", \"security_groups\"),\n        (\"customization_script_source\", \"script_file\", \"script_data\"),\n        (\"disk_partition\", \"configuration_drive\")\n    )\n\nthis change is done after the Novak\u0027s comments:\nhttps://review.openstack.org/#/c/117091/18/openstack_dashboard/test/integration_tests/pages/project/compute/instancespage.py","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"a13003b0a0901822a05cba5998423a3d9395f559","unresolved":false,"context_lines":[{"line_number":76,"context_line":"    \"\"\"Checkbox field.\"\"\""},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"    _element_locator \u003d (by.By.CSS_SELECTOR,"},{"line_number":79,"context_line":"                        \u0027label \u003e input[type\u003dcheckbox]\u0027)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    def is_marked(self):"},{"line_number":82,"context_line":"        return self.element.is_selected()"}],"source_content_type":"text/x-python","patch_set":30,"id":"da20952f_2472fb11","line":79,"updated":"2015-08-30 19:05:28.000000000","message":"This seems very fragile.  Can we key on a class instead?","commit_id":"e4aeacc112da72829d9bf59da5b10d17a5b730e3"}],"openstack_dashboard/test/integration_tests/tests/test_instances.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc8cadf9ebd1d2747e10f090078d49af40c765a6","unresolved":false,"context_lines":[{"line_number":142,"context_line":"            *self.Instance_check_locator)"},{"line_number":143,"context_line":"        self.assertTrue(instance_status)"},{"line_number":144,"context_line":"        self.instance_power_status \u003d instances_page.soft_reboot_instance()"},{"line_number":145,"context_line":"        self.assertTrue(self.instance_power_status.text \u003d\u003d \u0027Active\u0027)"},{"line_number":146,"context_line":"        self.Instance_check_locator \u003d instances_page.terminate_instance()"},{"line_number":147,"context_line":"        instance_status \u003d instances_page.is_element_present("},{"line_number":148,"context_line":"            *self.Instance_check_locator)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_ba235c03","line":145,"updated":"2014-09-06 05:33:09.000000000","message":"should be using assertEqual instead here","commit_id":"656cb55782d405eb92c03099c96913838877120e"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc8cadf9ebd1d2747e10f090078d49af40c765a6","unresolved":false,"context_lines":[{"line_number":170,"context_line":"            *self.Instance_check_locator)"},{"line_number":171,"context_line":"        self.assertTrue(instance_status)"},{"line_number":172,"context_line":"        self.instance_power_status \u003d instances_page.hard_reboot_instance()"},{"line_number":173,"context_line":"        self.assertTrue(self.instance_power_status.text \u003d\u003d \u0027Active\u0027)"},{"line_number":174,"context_line":"        self.Instance_check_locator \u003d instances_page.terminate_instance()"},{"line_number":175,"context_line":"        instance_status \u003d instances_page.is_element_present("},{"line_number":176,"context_line":"            *self.Instance_check_locator)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_5a0b507c","line":173,"updated":"2014-09-06 05:33:09.000000000","message":"should be using assertEqual instead here","commit_id":"656cb55782d405eb92c03099c96913838877120e"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cc8cadf9ebd1d2747e10f090078d49af40c765a6","unresolved":false,"context_lines":[{"line_number":198,"context_line":"            *self.Instance_check_locator)"},{"line_number":199,"context_line":"        self.assertTrue(instance_status)"},{"line_number":200,"context_line":"        self.instance_power_status \u003d instances_page.rebuild_instance()"},{"line_number":201,"context_line":"        self.assertTrue(self.instance_power_status.text \u003d\u003d"},{"line_number":202,"context_line":"                        \u0027Fedora-x86_64-20-20140618-sda\u0027)"},{"line_number":203,"context_line":"        self.Instance_check_locator \u003d instances_page.terminate_instance()"},{"line_number":204,"context_line":"        instance_status \u003d instances_page.is_element_present("}],"source_content_type":"text/x-python","patch_set":2,"id":"fa98f980_3a184cd2","line":201,"updated":"2014-09-06 05:33:09.000000000","message":"should be using assertEqual instead here","commit_id":"656cb55782d405eb92c03099c96913838877120e"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"fd4f54045b795f8f0dfcf5586da27a480299f501","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        * Terminates and verifies Instance"},{"line_number":42,"context_line":"        * Terminates keypair"},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":"        accesssecurity_page \u003d self.home_pg.go_to_accesssecurity_page()"},{"line_number":45,"context_line":"        keypair_page \u003d accesssecurity_page.go_to_keypair_page()"},{"line_number":46,"context_line":"        keypair_page.create_keypair(keypair_name)"},{"line_number":47,"context_line":"        instances_page \u003d self.home_pg.go_to_instances_page()"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa98f980_0a769306","line":44,"updated":"2014-09-18 09:37:20.000000000","message":"I think we should be add accesssecurity_page \u003d self.home_pg.go_to_accesssecurity_page() to def setUp(self)\nhttps://review.openstack.org/#/c/110919/22/openstack_dashboard/test/integration_tests/tests/test_projects.py","commit_id":"52933cecf08b88ddcb151fabbc01659a7b49fc03"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"fd4f54045b795f8f0dfcf5586da27a480299f501","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        * Terminates keypair"},{"line_number":43,"context_line":"        \"\"\""},{"line_number":44,"context_line":"        accesssecurity_page \u003d self.home_pg.go_to_accesssecurity_page()"},{"line_number":45,"context_line":"        keypair_page \u003d accesssecurity_page.go_to_keypair_page()"},{"line_number":46,"context_line":"        keypair_page.create_keypair(keypair_name)"},{"line_number":47,"context_line":"        instances_page \u003d self.home_pg.go_to_instances_page()"},{"line_number":48,"context_line":"        self.Instance_check_locator \u003d instances_page.create_instance("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa98f980_6a62bf3e","line":45,"updated":"2014-09-18 09:37:20.000000000","message":"all code which repeats --\u003e  def setUp(self)","commit_id":"52933cecf08b88ddcb151fabbc01659a7b49fc03"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"fd4f54045b795f8f0dfcf5586da27a480299f501","unresolved":false,"context_lines":[{"line_number":56,"context_line":"        self.assertFalse(instance_status)"},{"line_number":57,"context_line":"        accesssecurity_page \u003d self.home_pg.go_to_accesssecurity_page()"},{"line_number":58,"context_line":"        accesssecurity_page.go_to_keypair_page()"},{"line_number":59,"context_line":"        keypair_page.delete_keypair(keypair_name)"},{"line_number":60,"context_line":"        self.assertFalse(keypair_page.get_keypair_status(keypair_name))"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    def test_floating_ip_instance(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa98f980_cdc2e585","line":59,"updated":"2014-09-18 09:37:20.000000000","message":"57,58,59 -- if this line really need --\u003e def tearDown(self)","commit_id":"52933cecf08b88ddcb151fabbc01659a7b49fc03"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"fd4f54045b795f8f0dfcf5586da27a480299f501","unresolved":false,"context_lines":[{"line_number":57,"context_line":"        accesssecurity_page \u003d self.home_pg.go_to_accesssecurity_page()"},{"line_number":58,"context_line":"        accesssecurity_page.go_to_keypair_page()"},{"line_number":59,"context_line":"        keypair_page.delete_keypair(keypair_name)"},{"line_number":60,"context_line":"        self.assertFalse(keypair_page.get_keypair_status(keypair_name))"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    def test_floating_ip_instance(self):"},{"line_number":63,"context_line":"        \"\"\"tests floating ip for instance:"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa98f980_0a9213f6","line":60,"updated":"2014-09-18 09:37:20.000000000","message":"not need do in each test","commit_id":"52933cecf08b88ddcb151fabbc01659a7b49fc03"},{"author":{"_account_id":10684,"name":"Mohan Seri","email":"mohan.seri@hp.com","username":"serim"},"change_message_id":"ba6b4e330d34c0a77dbe8d8a82f15b60b7aa587b","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    * Perform Actions on Instances e.g.: Edit Instance, Pause Instance etc..."},{"line_number":36,"context_line":"    \"\"\""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def setUp(self):"},{"line_number":39,"context_line":"        super(TestInstances, self).setUp()"},{"line_number":40,"context_line":"        self.accesssecurity_page \u003d self.home_pg.go_to_accesssecurity_page()"},{"line_number":41,"context_line":"        self.keypair_page \u003d self.accesssecurity_page.go_to_keypair_page()"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_a71f6ab7","line":38,"updated":"2014-09-18 21:53:33.000000000","message":"Include the the method purpose/usage","commit_id":"66519384623772fd1f4c55d21276520f5e3765b9"},{"author":{"_account_id":10684,"name":"Mohan Seri","email":"mohan.seri@hp.com","username":"serim"},"change_message_id":"ba6b4e330d34c0a77dbe8d8a82f15b60b7aa587b","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            *self.Instance_check_locator)"},{"line_number":86,"context_line":"        self.assertFalse(instance_status)"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    def eeeee_edit_instance(self):"},{"line_number":89,"context_line":"        \"\"\"tests edit instance:    98"},{"line_number":90,"context_line":"        * Creates keypair    99"},{"line_number":91,"context_line":"        * Creates and verifies Instance    100"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_071116af","line":88,"updated":"2014-09-18 21:53:33.000000000","message":"You may need to correct or remove this method name","commit_id":"66519384623772fd1f4c55d21276520f5e3765b9"},{"author":{"_account_id":10684,"name":"Mohan Seri","email":"mohan.seri@hp.com","username":"serim"},"change_message_id":"ba6b4e330d34c0a77dbe8d8a82f15b60b7aa587b","unresolved":false,"context_lines":[{"line_number":175,"context_line":"            *Instance_delete_locator)"},{"line_number":176,"context_line":"        self.assertTrue(instance_delete_status)"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    def tearDown(self):"},{"line_number":179,"context_line":"        self.accesssecurity_page \u003d self.home_pg.go_to_accesssecurity_page()"},{"line_number":180,"context_line":"        self.accesssecurity_page.go_to_keypair_page()"},{"line_number":181,"context_line":"        self.keypair_page.delete_keypair(keypair_name)"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_e71972d2","line":178,"updated":"2014-09-18 21:53:33.000000000","message":"Include the the method purpose/usage","commit_id":"66519384623772fd1f4c55d21276520f5e3765b9"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"424e7c97f7846f83de82c84a573b9f6ed396bccd","unresolved":false,"context_lines":[{"line_number":29,"context_line":"                        }"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"class TestInstances(helpers.TestCase):"},{"line_number":33,"context_line":"    \"\"\"This is a basic scenario to test:"},{"line_number":34,"context_line":"    * login as a regular user"},{"line_number":35,"context_line":"    * Perform Actions on Instances e.g.: Edit Instance, Pause Instance etc..."}],"source_content_type":"text/x-python","patch_set":5,"id":"fa98f980_6cdc7b75","line":32,"updated":"2014-09-19 09:23:42.000000000","message":"All of this tests -- crashed:\nNoSuchElementException: Message: \u0027Could not locate element with visible text: m1.micro\u0027\nI have \u0027m1.tiny\u0027 by default. Its means, we need choice first element from drop-down. But this too does not solve the problem:\nIf I deployed openstack by fuel --- m1.tiny use 512Mb RAM by default(and my compute have 1Gb by default)... I don\u0027t can create instance with my m1.tiny. As a solution to the problem --- I created my Flavor with 128Mb RAM and use it","commit_id":"94041a262e3ca5d04d681e9a42ded0866448e890"},{"author":{"_account_id":10684,"name":"Mohan Seri","email":"mohan.seri@hp.com","username":"serim"},"change_message_id":"aa3f1f57a28771536c6a8fae90cffbd285fb71de","unresolved":false,"context_lines":[{"line_number":29,"context_line":"                        }"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"class TestInstances(helpers.TestCase):"},{"line_number":33,"context_line":"    \"\"\"This is a basic scenario to test:"},{"line_number":34,"context_line":"    * login as a regular user"},{"line_number":35,"context_line":"    * Perform Actions on Instances e.g.: Edit Instance, Pause Instance etc..."}],"source_content_type":"text/x-python","patch_set":5,"id":"fa98f980_bc704a41","line":32,"in_reply_to":"fa98f980_611f190a","updated":"2014-09-19 16:39:04.000000000","message":"1. If we code to pick always first available flavor, then user might not have a choice to specify user\u0027s requirement (The requirement may be to pick from existing flavors OR can create his own flavor and pick).\n2. If you look at Line 18, there is choice for the user to specify the flavor according to the requirement.\n3. As of now , m1.micro has been selected which is top second from Falvor drop down by default in OpenStack DevStack based deployment.","commit_id":"94041a262e3ca5d04d681e9a42ded0866448e890"},{"author":{"_account_id":10684,"name":"Mohan Seri","email":"mohan.seri@hp.com","username":"serim"},"change_message_id":"e190fa4071fde4a70ac5832e1f65549089a38670","unresolved":false,"context_lines":[{"line_number":29,"context_line":"                        }"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"class TestInstances(helpers.TestCase):"},{"line_number":33,"context_line":"    \"\"\"This is a basic scenario to test:"},{"line_number":34,"context_line":"    * login as a regular user"},{"line_number":35,"context_line":"    * Perform Actions on Instances e.g.: Edit Instance, Pause Instance etc..."}],"source_content_type":"text/x-python","patch_set":5,"id":"fa98f980_e125c9ae","line":32,"in_reply_to":"fa98f980_6cdc7b75","updated":"2014-09-19 15:41:56.000000000","message":"At this point of time, we are only focusing on OpenStack DevStack based deployment/tests. All the elements are by default referred from the same UI.","commit_id":"94041a262e3ca5d04d681e9a42ded0866448e890"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"e7a2556179ac1e1ebe33f8ca9a17e578bdd6be27","unresolved":false,"context_lines":[{"line_number":29,"context_line":"                        }"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"class TestInstances(helpers.TestCase):"},{"line_number":33,"context_line":"    \"\"\"This is a basic scenario to test:"},{"line_number":34,"context_line":"    * login as a regular user"},{"line_number":35,"context_line":"    * Perform Actions on Instances e.g.: Edit Instance, Pause Instance etc..."}],"source_content_type":"text/x-python","patch_set":5,"id":"fa98f980_611f190a","line":32,"in_reply_to":"fa98f980_e125c9ae","updated":"2014-09-19 15:50:47.000000000","message":"Ok. But, I insist --- we need choice first element from drop-down(m1.micro or m1.tiny   ---  they are on first position)","commit_id":"94041a262e3ca5d04d681e9a42ded0866448e890"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"424e7c97f7846f83de82c84a573b9f6ed396bccd","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def setUp(self):"},{"line_number":39,"context_line":"        \"\"\""},{"line_number":40,"context_line":"        * Create the keypair"},{"line_number":41,"context_line":"        * Create the driver handler for Instances Page "},{"line_number":42,"context_line":"        \"\"\""},{"line_number":43,"context_line":"        super(TestInstances, self).setUp()"},{"line_number":44,"context_line":"        self.accesssecurity_page \u003d self.home_pg.go_to_accesssecurity_page()"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa98f980_c6e1c62b","line":41,"updated":"2014-09-19 09:23:42.000000000","message":"Whitespace error (end of line 41)","commit_id":"94041a262e3ca5d04d681e9a42ded0866448e890"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"424e7c97f7846f83de82c84a573b9f6ed396bccd","unresolved":false,"context_lines":[{"line_number":75,"context_line":"            **instances_attributes)"},{"line_number":76,"context_line":"        instance_status \u003d self.instances_page.is_element_present("},{"line_number":77,"context_line":"            *self.Instance_check_locator)"},{"line_number":78,"context_line":"        self.assertTrue(instance_status)"},{"line_number":79,"context_line":"        self.Instance_ip_locator \u003d self.instances_page.associate_floatingip()"},{"line_number":80,"context_line":"        instance_ip_status \u003d self.instances_page.is_element_present("},{"line_number":81,"context_line":"            *self.Instance_ip_locator)"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa98f980_8cbefffe","line":78,"updated":"2014-09-19 09:23:42.000000000","message":"I think we not need test status in this test  --- need test only in test_create_instance","commit_id":"94041a262e3ca5d04d681e9a42ded0866448e890"},{"author":{"_account_id":10684,"name":"Mohan Seri","email":"mohan.seri@hp.com","username":"serim"},"change_message_id":"9cb64c10696d77c56141b276bc6562a931aac7fc","unresolved":false,"context_lines":[{"line_number":75,"context_line":"            **instances_attributes)"},{"line_number":76,"context_line":"        instance_status \u003d self.instances_page.is_element_present("},{"line_number":77,"context_line":"            *self.Instance_check_locator)"},{"line_number":78,"context_line":"        self.assertTrue(instance_status)"},{"line_number":79,"context_line":"        self.Instance_ip_locator \u003d self.instances_page.associate_floatingip()"},{"line_number":80,"context_line":"        instance_ip_status \u003d self.instances_page.is_element_present("},{"line_number":81,"context_line":"            *self.Instance_ip_locator)"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa98f980_816cfd9e","line":78,"in_reply_to":"fa98f980_8cbefffe","updated":"2014-09-19 15:48:41.000000000","message":"We really need to test the status of the instance. Just in case if it turns out to be an error, we cannot perform Floating IP test or any other operation.","commit_id":"94041a262e3ca5d04d681e9a42ded0866448e890"},{"author":{"_account_id":12355,"name":"Vlad Okhrimenko","email":"vokhrimenko@mirantis.com","username":"vokhrimenko"},"change_message_id":"d3153916bf02e98bf4e38c8b93fa78b9f62a5da4","unresolved":false,"context_lines":[{"line_number":15,"context_line":"from openstack_dashboard.test.integration_tests import helpers"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"instances_availability_zone \u003d \u0027nova\u0027"},{"line_number":18,"context_line":"instances_flavor \u003d \u0027m1.micro\u0027"},{"line_number":19,"context_line":"instances_boot_source \u003d \u0027Boot from image\u0027"},{"line_number":20,"context_line":"instances_image_name \u003d \u0027cirros-0.3.2-x86_64-uec (24.0 MB)\u0027"},{"line_number":21,"context_line":"keypair_name \u003d \u0027Keypair_\u0027 + str(datetime.datetime.now()."}],"source_content_type":"text/x-python","patch_set":6,"id":"da9df570_74d57042","line":18,"updated":"2014-09-22 08:03:24.000000000","message":"all name, of global variables, must consist from capital letters:\nINSTANCES_FLAVOR \u003d  \u0027m1.micro\u0027\nif you idea  consist in change \"INSTANCES_FLAVOR\" , if necessary --- please move INSTANCES_FLAVOR in horizon.conf\n(and, maybe, for another variable)","commit_id":"d14fc00907a7640f5c739ec6ccf0e60c4b77005a"},{"author":{"_account_id":581,"name":"Wu Hong Guang","email":"flankw@qq.com","username":"whg"},"change_message_id":"e9f910b2e3a200196d2c93ac36810a59c501e66a","unresolved":false,"context_lines":[{"line_number":15,"context_line":"from openstack_dashboard.test.integration_tests import helpers"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"instances_availability_zone \u003d \u0027nova\u0027"},{"line_number":18,"context_line":"instances_flavor \u003d \u0027m1.micro\u0027"},{"line_number":19,"context_line":"instances_boot_source \u003d \u0027Boot from image\u0027"},{"line_number":20,"context_line":"instances_image_name \u003d \u0027cirros-0.3.2-x86_64-uec (24.0 MB)\u0027"},{"line_number":21,"context_line":"keypair_name \u003d \u0027Keypair_\u0027 + str(datetime.datetime.now()."}],"source_content_type":"text/x-python","patch_set":6,"id":"9aa7fdbe_cd20254c","line":18,"in_reply_to":"da9df570_74d57042","updated":"2014-10-21 14:31:21.000000000","message":"how about put these data  into a file named such as integration_test.py under horizon\\openstack_dashboard\\test\\test_data","commit_id":"d14fc00907a7640f5c739ec6ccf0e60c4b77005a"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"class TestInstances(helpers.TestCase):"},{"line_number":33,"context_line":"    \"\"\"This is a basic scenario to test:"},{"line_number":34,"context_line":"    * login as a regular user"},{"line_number":35,"context_line":"    * Perform Actions on Instances e.g.: Edit Instance, Pause Instance etc..."},{"line_number":36,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_0c6c7834","line":33,"updated":"2014-11-16 13:17:49.000000000","message":"IMO \"scenario\" isn\u0027t the right term for this combination of tests.\nit also doesn\u0027t follow the Tempest terminology we try to follow.","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    \"\"\""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def setUp(self):"},{"line_number":39,"context_line":"        \"\"\"* Create the keypair"},{"line_number":40,"context_line":"        * Create the driver handler for Instances Page"},{"line_number":41,"context_line":"        \"\"\""},{"line_number":42,"context_line":"        super(TestInstances, self).setUp()"}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_8c8068c1","line":39,"updated":"2014-11-16 13:17:49.000000000","message":"why are you creating a keypair if you\u0027re not testing the ssh option in your tests?\nif you hold the \"create all resource needed for your test\" approach than you also need to create an image (in that case you can use my patch: https://review.openstack.org/#/c/121506/)","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"36583d9dc3f84fbd372276e4f2dc0da7696c5089","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    def test_create_instance(self):"},{"line_number":49,"context_line":"        \"\"\"tests create instance:"},{"line_number":50,"context_line":"        * Creates keypair"},{"line_number":51,"context_line":"        * Creates and verifies Instance"},{"line_number":52,"context_line":"        * Terminates and verifies Instance"},{"line_number":53,"context_line":"        * Terminates keypair"}],"source_content_type":"text/x-python","patch_set":8,"id":"5a890539_4c1be0c9","line":50,"updated":"2014-11-16 13:17:49.000000000","message":"IMO If you\u0027re stating that you create a keypair in the setUp docstring it is needless to mention it again in every test","commit_id":"5bd30b7fdf28b34488b06417aa17a8a99f3eba94"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"9cf4afa58572737b46fe1a8595860e09af83b20f","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from openstack_dashboard.test.integration_tests import helpers"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"INSTANCES_AVAILABILITY_ZONE \u003d \u0027nova\u0027"},{"line_number":18,"context_line":"INSTANCES_FLAVOR \u003d \u0027m1.micro\u0027"},{"line_number":19,"context_line":"INSTANCE_COUNT \u003d 1"},{"line_number":20,"context_line":"INSTANCES_BOOT_SOURCE \u003d \u0027Boot from image\u0027"}],"source_content_type":"text/x-python","patch_set":11,"id":"3a961159_17a2a14a","line":17,"updated":"2014-12-13 20:51:13.000000000","message":"i suppose that this kind of arguments should be available through horizon.conf (special section should be created as is tempest)","commit_id":"7eff6e2ce0410b06f24b48ae98cba695e099d7c4"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"5405beabf06076a1db7fbfb23b6b21db46804e4e","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"from openstack_dashboard.test.integration_tests import helpers"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"KEYPAIR_NAME \u003d \u0027Keypair_\u0027 + str(datetime.datetime.now()."},{"line_number":17,"context_line":"                                strftime(\"%Y%m%d%H%M%S\")[2:])"},{"line_number":18,"context_line":"INSTANCES_NAME \u003d \u0027Instance_\u0027 + str(datetime.datetime.now()."},{"line_number":19,"context_line":"                                   strftime(\"%Y%m%d%H%M%S\")[2:])"}],"source_content_type":"text/x-python","patch_set":18,"id":"1a930d6b_7b607001","line":16,"updated":"2015-01-26 08:58:50.000000000","message":"this does not seem to be necessary","commit_id":"fecfdd29b667584bc7f96ebe177b5b23fccbec57"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"5405beabf06076a1db7fbfb23b6b21db46804e4e","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"KEYPAIR_NAME \u003d \u0027Keypair_\u0027 + str(datetime.datetime.now()."},{"line_number":17,"context_line":"                                strftime(\"%Y%m%d%H%M%S\")[2:])"},{"line_number":18,"context_line":"INSTANCES_NAME \u003d \u0027Instance_\u0027 + str(datetime.datetime.now()."},{"line_number":19,"context_line":"                                   strftime(\"%Y%m%d%H%M%S\")[2:])"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"1a930d6b_7b2790ca","line":18,"updated":"2015-01-26 08:58:50.000000000","message":"There might be more instance tests in the future that might be executed in parallel - uuid should be used probably.","commit_id":"fecfdd29b667584bc7f96ebe177b5b23fccbec57"},{"author":{"_account_id":12954,"name":"Tomáš Nová?ik","email":"tnovacik@gmail.com","username":"chance"},"change_message_id":"82119bb0a5dcf6eef4c96af97880b9d6f3e75b25","unresolved":false,"context_lines":[{"line_number":19,"context_line":"class TestInstances(helpers.TestCase):"},{"line_number":20,"context_line":"    \"\"\"This is a basic scenario to test:"},{"line_number":21,"context_line":"    * login as a regular user"},{"line_number":22,"context_line":"    * Perform Actions on Instances e.g.: Edit Instance, Pause Instance etc..."},{"line_number":23,"context_line":"    \"\"\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def test_create_terminate_instance(self):"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_e0524912","line":22,"updated":"2015-01-28 20:45:11.000000000","message":"does not seem to be the case yet :)","commit_id":"bb6df70c5ad9e2e956c47b9c93f9d04f277746b2"},{"author":{"_account_id":12721,"name":"Amogh","email":"amogh-r.mavinagidad@hp.com","username":"mavinagi"},"change_message_id":"4b85e41effbc2d01dfdcfcac98afd750f4d9cbad","unresolved":false,"context_lines":[{"line_number":19,"context_line":"class TestInstances(helpers.TestCase):"},{"line_number":20,"context_line":"    \"\"\"This is a basic scenario to test:"},{"line_number":21,"context_line":"    * login as a regular user"},{"line_number":22,"context_line":"    * Perform Actions on Instances e.g.: Edit Instance, Pause Instance etc..."},{"line_number":23,"context_line":"    \"\"\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def test_create_terminate_instance(self):"}],"source_content_type":"text/x-python","patch_set":19,"id":"fa81d914_98aca5a2","line":22,"in_reply_to":"fa81d914_e0524912","updated":"2015-01-28 21:44:49.000000000","message":"Tomáš Nová?ik\t: thats right, needs update. :)","commit_id":"bb6df70c5ad9e2e956c47b9c93f9d04f277746b2"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"from openstack_dashboard.test.integration_tests import helpers"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"INSTANCES_NAME \u003d \u0027Instance_\u0027 + str(uuid.uuid4())"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"class TestInstances(helpers.TestCase):"}],"source_content_type":"text/x-python","patch_set":22,"id":"9a80dd14_c82650ba","line":16,"updated":"2015-03-05 11:30:55.000000000","message":"please use:\nhelpers.gen_random_resource_name(\"instance\")","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"class TestInstances(helpers.TestCase):"},{"line_number":20,"context_line":"    \"\"\"This is a basic scenario to test:"},{"line_number":21,"context_line":"    * login as a regular user"},{"line_number":22,"context_line":"    * Create Instance and Terminate Instance"},{"line_number":23,"context_line":"    \"\"\""},{"line_number":24,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"9a80dd14_28d0cc4f","line":21,"updated":"2015-03-05 11:30:55.000000000","message":"IMHO stating that the test is executed as a regular user is unnecessary and wasn\u0027t mentioned in previous tests","commit_id":"5691a1657e6759b23be440d9994761818c292113"},{"author":{"_account_id":8577,"name":"Daniel Korn","email":"dkorn@redhat.com","username":"dkorn"},"change_message_id":"6bf107f20cf03bc04f85de2a5e92671327e62219","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    \"\"\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def test_create_terminate_instance(self):"},{"line_number":26,"context_line":"        instance_page \u003d self.home_pg.go_to_compute_instancespage()"},{"line_number":27,"context_line":"        instance_page.create_instance(INSTANCES_NAME)"},{"line_number":28,"context_line":"        self.assertTrue(instance_page.is_instance_active(INSTANCES_NAME))"},{"line_number":29,"context_line":"        instance_page.terminate_instance(INSTANCES_NAME)"}],"source_content_type":"text/x-python","patch_set":22,"id":"9a80dd14_285d2c22","line":26,"updated":"2015-03-05 11:30:55.000000000","message":"please change instance_page to instances_page, to maintain consistency","commit_id":"5691a1657e6759b23be440d9994761818c292113"}]}
