diff --git a/test/test_join_leave.py b/test/test_join_leave.py index 7d21456d..f0303d5f 100644 --- a/test/test_join_leave.py +++ b/test/test_join_leave.py @@ -274,6 +274,8 @@ def test_camera_mic_setting_in_waiting_room(self): camera_select = self.chrome.get_element_with_retry(By.ID, "setting-dialog-camera-select") self.chrome.mouse_click_on(camera_select) + time.sleep(1) + camera = self.chrome.get_element_with_retry(By.XPATH, "//li[contains(text(), 'fake_device_0')]") self.chrome.mouse_click_on(camera) @@ -281,12 +283,16 @@ def test_camera_mic_setting_in_waiting_room(self): resolution_select = self.chrome.get_element_with_retry(By.ID, "setting-dialog-resolution-select") self.chrome.mouse_click_on(resolution_select) + time.sleep(1) + resolution = self.chrome.get_element_with_retry(By.XPATH, "//li[contains(text(), 'Low definition (180p)')]") self.chrome.mouse_click_on(resolution) mic_select = self.chrome.get_element_with_retry(By.ID, "setting-dialog-mic-select") self.chrome.mouse_click_on(mic_select) + time.sleep(1) + mic = self.chrome.get_element_with_retry(By.XPATH, "//li[contains(text(), 'Fake Audio Input 2')]") self.chrome.mouse_click_on(mic) @@ -1504,16 +1510,19 @@ def test_camera_mic_setting_in_meeting_room(self): camera = self.chrome.get_element_with_retry(By.XPATH, "//li[contains(text(), 'fake_device_0')]") self.chrome.mouse_click_on(camera) - resolution_select = self.chrome.get_element_with_retry(By.ID, "setting-dialog-resolution-select") self.chrome.mouse_click_on(resolution_select) + time.sleep(1) + resolution = self.chrome.get_element_with_retry(By.XPATH, "//li[contains(text(), 'Low definition (180p)')]") self.chrome.mouse_click_on(resolution) mic_select = self.chrome.get_element_with_retry(By.ID, "setting-dialog-mic-select") self.chrome.mouse_click_on(mic_select) + time.sleep(1) + mic = self.chrome.get_element_with_retry(By.XPATH, "//li[contains(text(), 'Fake Audio Input 2')]") self.chrome.mouse_click_on(mic)