mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Fix ModelSelector test
This commit is contained in:
1 file changed
+2
-2
@@ -384,7 +384,7 @@ describe('ModelSelector', () => {
|
|||||||
|
|
||||||
// Wait for tooltip to appear
|
// Wait for tooltip to appear
|
||||||
await waitFor(() => {
|
await waitFor(() => {
|
||||||
expect(screen.getAllByText('You are using a free model. For better results, switch to a premium model.').length).toBeGreaterThan(0);
|
expect(screen.getAllByText('You are using a free model. For better results, switch to a paid model.').length).toBeGreaterThan(0);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -424,7 +424,7 @@ describe('ModelSelector', () => {
|
|||||||
|
|
||||||
// Tooltip should appear
|
// Tooltip should appear
|
||||||
await waitFor(() => {
|
await waitFor(() => {
|
||||||
expect(screen.getAllByText('You are using a free model. For better results, switch to a premium model.').length).toBeGreaterThan(0);
|
expect(screen.getAllByText('You are using a free model. For better results, switch to a paid model.').length).toBeGreaterThan(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
// The button should still be clickable (no errors)
|
// The button should still be clickable (no errors)
|
||||||
|
|||||||
Reference in new issue
Block a user