open-webui: increase test timeouts
This commit is contained in:
parent
24ad14db96
commit
a66ae6e4c9
1 changed files with 6 additions and 6 deletions
|
|
@ -91,7 +91,7 @@ let
|
||||||
username = "alice";
|
username = "alice";
|
||||||
password = "NotAlicePassword";
|
password = "NotAlicePassword";
|
||||||
nextPageExpect = [
|
nextPageExpect = [
|
||||||
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).to_be_visible()"
|
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).to_be_visible(timeout=20000)"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
@ -101,14 +101,14 @@ let
|
||||||
"page.get_by_role('button', name=re.compile('Accept')).click()"
|
"page.get_by_role('button', name=re.compile('Accept')).click()"
|
||||||
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).not_to_be_visible()"
|
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).not_to_be_visible()"
|
||||||
"expect(page.get_by_role('button', name=re.compile('Sign In'))).not_to_be_visible()"
|
"expect(page.get_by_role('button', name=re.compile('Sign In'))).not_to_be_visible()"
|
||||||
"expect(page.get_by_text('logged in')).to_be_visible()"
|
"expect(page.get_by_text('logged in')).to_be_visible(timeout=20000)"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
username = "bob";
|
username = "bob";
|
||||||
password = "NotBobPassword";
|
password = "NotBobPassword";
|
||||||
nextPageExpect = [
|
nextPageExpect = [
|
||||||
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).to_be_visible()"
|
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).to_be_visible(timeout=20000)"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
@ -118,14 +118,14 @@ let
|
||||||
"page.get_by_role('button', name=re.compile('Accept')).click()"
|
"page.get_by_role('button', name=re.compile('Accept')).click()"
|
||||||
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).not_to_be_visible()"
|
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).not_to_be_visible()"
|
||||||
"expect(page.get_by_role('button', name=re.compile('Sign In'))).not_to_be_visible()"
|
"expect(page.get_by_role('button', name=re.compile('Sign In'))).not_to_be_visible()"
|
||||||
"expect(page.get_by_text('logged in')).to_be_visible()"
|
"expect(page.get_by_text('logged in')).to_be_visible(timeout=20000)"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
username = "charlie";
|
username = "charlie";
|
||||||
password = "NotCharliePassword";
|
password = "NotCharliePassword";
|
||||||
nextPageExpect = [
|
nextPageExpect = [
|
||||||
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).to_be_visible()"
|
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).to_be_visible(timeout=20000)"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
@ -133,7 +133,7 @@ let
|
||||||
password = "CharliePassword";
|
password = "CharliePassword";
|
||||||
nextPageExpect = [
|
nextPageExpect = [
|
||||||
"page.get_by_role('button', name=re.compile('Accept')).click()"
|
"page.get_by_role('button', name=re.compile('Accept')).click()"
|
||||||
"expect(page.get_by_text('do not have permission')).to_be_visible()"
|
"expect(page.get_by_text('do not have permission')).to_be_visible(timeout=20000)"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue