mirror of https://github.com/zulip/zulip.git
test: Ensure input field is visible before attempting to click on it.
There is an case of flakiness in the test where we attempt to click on an input field before it's even visible. Make sure the input field is visible before attempting to click on it.
This commit is contained in:
parent
f1da8a9151
commit
4ab519214a
|
@ -45,6 +45,7 @@ async function close_settings_and_date_picker(page: Page): Promise<void> {
|
|||
}
|
||||
|
||||
async function test_change_full_name(page: Page): Promise<void> {
|
||||
await page.waitForSelector("#full_name", {visible: true});
|
||||
await page.click("#full_name");
|
||||
|
||||
const full_name_input_selector = 'input[name="full_name"]';
|
||||
|
|
Loading…
Reference in New Issue