diff --git a/src/App.module.css b/src/App.module.css
index 89ef9f2f..9f2d6f68 100644
--- a/src/App.module.css
+++ b/src/App.module.css
@@ -1,11 +1,11 @@
-.App {
+.app {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 13px;
height: calc(100vh);
}
-.AppBody {
+.appBody {
color: white;
padding: 15px;
}
diff --git a/src/App.tsx b/src/App.tsx
index a9ad394d..4d54e81b 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -44,9 +44,9 @@ function App(): JSX.Element {
}
return (
-
+
)
diff --git a/src/api/eventManager.ts b/src/api/eventManager.ts
index fba62a03..60493997 100644
--- a/src/api/eventManager.ts
+++ b/src/api/eventManager.ts
@@ -40,7 +40,7 @@ export class EventManager {
this.sendEvent({ type: WebviewSendEventType.JumpToCode, data: data } as SendJumpToCodeEvent)
}
- public Login(data: ISendLoginEventData): void {
+ public login(data: ISendLoginEventData): void {
this.sendEvent({ type: WebviewSendEventType.Login, data: data } as SendLoginEvent)
}
}
diff --git a/src/api/index.ts b/src/api/index.ts
index 31a6691b..20bdc98b 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -14,7 +14,7 @@ export type WebviewSendEvent = SendJumpToCodeEvent | SendLoginEvent
// Receive events from the IDEs.
export enum WebviewReceiveEventType {
SetEmitter = 'SET_EMITTER',
- ShowPage = 'SHOW_DATA'
+ ShowPage = 'SHOW_PAGE'
}
export type WebviewReceiveEvent = ReceiveShowPageEvent | ReceiveSetEmitterEvent
diff --git a/src/components/Page/Login/AccessToken.test.tsx b/src/components/Page/Login/AccessToken.test.tsx
index 056ce693..2f0d334c 100644
--- a/src/components/Page/Login/AccessToken.test.tsx
+++ b/src/components/Page/Login/AccessToken.test.tsx
@@ -27,7 +27,7 @@ describe('AccessToken component', () => {
test('calls handlePasswordSwitch on button click', () => {
const { getByText } = render(
)
- const buttonElement = getByText('Have Password?')
+ const buttonElement = getByText('Using Password')
fireEvent.click(buttonElement)
diff --git a/src/components/Page/Login/AccessToken.tsx b/src/components/Page/Login/AccessToken.tsx
index 63c9259a..eb03dcc6 100644
--- a/src/components/Page/Login/AccessToken.tsx
+++ b/src/components/Page/Login/AccessToken.tsx
@@ -15,7 +15,7 @@ export function AccessToken(props: Props): JSX.Element {
Access Token
{
test('renders the default footer when type is not SSO', () => {
const { getByText } = render()
- expect(getByText('Sign in')).toBeInTheDocument()
+ expect(getByText('Sign In')).toBeInTheDocument()
expect(getByText('Continue With SSO')).toBeInTheDocument()
})
test('renders the SSO footer when type is SSO', () => {
const { getByText } = render()
- expect(getByText('Sign in with SSO')).toBeInTheDocument()
+ expect(getByText('Sign In With SSO')).toBeInTheDocument()
expect(getByText('Use Basic-Auth')).toBeInTheDocument()
})
- test('calls handleSighIn when "Sign in" button is clicked', () => {
+ test('calls handleSighIn when "Sign In" button is clicked', () => {
const { getByText } = render()
- const signInButton = getByText('Sign in')
+ const signInButton = getByText('Sign In')
fireEvent.click(signInButton)
diff --git a/src/components/Page/Login/Footer.tsx b/src/components/Page/Login/Footer.tsx
index 1f9c385f..3c8be9f3 100644
--- a/src/components/Page/Login/Footer.tsx
+++ b/src/components/Page/Login/Footer.tsx
@@ -21,7 +21,7 @@ function SsoFooter(props: HandlersProps): JSX.Element {
return (
<>
@@ -42,7 +42,7 @@ function DefaultFooter(props: HandlersProps): JSX.Element {
return (
<>
diff --git a/src/components/Page/Login/Sso.test.tsx b/src/components/Page/Login/Sso.test.tsx
index 42351cf6..7531696b 100644
--- a/src/components/Page/Login/Sso.test.tsx
+++ b/src/components/Page/Login/Sso.test.tsx
@@ -14,7 +14,7 @@ describe('Sso', () => {
})
test('renders the required Artifactory version paragraph', () => {
- const versionElement = screen.getByText('Requires Artifactory version 7.57 or higher')
+ const versionElement = screen.getByText('Requires Artifactory version 7.63.1 or higher')
expect(versionElement).toBeInTheDocument()
})
diff --git a/src/components/Page/Login/Sso.tsx b/src/components/Page/Login/Sso.tsx
index b2c5b863..27159e02 100644
--- a/src/components/Page/Login/Sso.tsx
+++ b/src/components/Page/Login/Sso.tsx
@@ -7,7 +7,7 @@ export function Sso(): JSX.Element {
To proceed with authentication, you will be redirected to the SSO login page.
- Requires Artifactory version 7.57 or higher*
+ Requires Artifactory version 7.63.1 or higher*
)
diff --git a/src/components/UI/Icons/JfrogIcon.tsx b/src/components/UI/Icons/JfrogIcon.tsx
index 86c558d1..1a44e1c6 100644
--- a/src/components/UI/Icons/JfrogIcon.tsx
+++ b/src/components/UI/Icons/JfrogIcon.tsx
@@ -1,4 +1,4 @@
-export function JfrogIcon(): JSX.Element {
+export function JFrogIcon(): JSX.Element {
return (