mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-04 19:21:51 +00:00
feat(ui): update Lighthouse chat tagline
This commit is contained in:
@@ -67,7 +67,7 @@ export function ChatEmptyState({
|
||||
</h1>
|
||||
<p className="text-text-neutral-secondary text-base italic">
|
||||
<DecryptedText
|
||||
text="Understand and secure your cloud."
|
||||
text="Find and remediate which actually matters."
|
||||
animateOn="view"
|
||||
sequential
|
||||
speed={40}
|
||||
|
||||
@@ -183,6 +183,19 @@ describe("LighthouseV2ChatPage", () => {
|
||||
).toHaveAttribute("href", "/lighthouse/settings");
|
||||
});
|
||||
|
||||
it("renders the updated empty-state subtitle", () => {
|
||||
// Given / When
|
||||
renderPage();
|
||||
|
||||
// Then
|
||||
expect(
|
||||
screen.getByText("Find and remediate which actually matters."),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.queryByText("Understand and secure your cloud."),
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("shows the current OpenAI model without a selector when OpenAI is the only connected provider", () => {
|
||||
// Given / When
|
||||
renderPage({
|
||||
|
||||
Reference in New Issue
Block a user