Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
2789102d
Commit
2789102d
authored
May 02, 2024
by
Timothy J. Baek
Browse files
Update chat.cy.ts
parent
c1f88eb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cypress/e2e/chat.cy.ts
cypress/e2e/chat.cy.ts
+2
-2
No files found.
cypress/e2e/chat.cy.ts
View file @
2789102d
...
@@ -21,14 +21,14 @@ describe('Settings', () => {
...
@@ -21,14 +21,14 @@ describe('Settings', () => {
// Click on the model selector
// Click on the model selector
cy
.
get
(
'
button[aria-label="Select a model"]
'
).
click
();
cy
.
get
(
'
button[aria-label="Select a model"]
'
).
click
();
// Select the first model
// Select the first model
cy
.
get
(
'
div[role="menuitem"]
[data-value]
'
).
first
().
click
();
cy
.
get
(
'
div[role="menuitem"]
'
).
first
().
click
();
});
});
it
(
'
user can perform text chat
'
,
()
=>
{
it
(
'
user can perform text chat
'
,
()
=>
{
// Click on the model selector
// Click on the model selector
cy
.
get
(
'
button[aria-label="Select a model"]
'
).
click
();
cy
.
get
(
'
button[aria-label="Select a model"]
'
).
click
();
// Select the first model
// Select the first model
cy
.
get
(
'
div[role="menuitem"]
[data-value]
'
).
first
().
click
();
cy
.
get
(
'
div[role="menuitem"]
'
).
first
().
click
();
// Type a message
// Type a message
cy
.
get
(
'
#chat-textarea
'
).
type
(
'
Hi, what can you do? A single sentence only please.
'
,
{
cy
.
get
(
'
#chat-textarea
'
).
type
(
'
Hi, what can you do? A single sentence only please.
'
,
{
force
:
true
force
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment