Skip to content

Commit

Permalink
add required sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
burak-58 committed Dec 12, 2024
1 parent b99fcda commit 6678efc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/test_join_leave.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,19 +274,25 @@ 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)


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)

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 6678efc

Please sign in to comment.