Skip to content

Commit

Permalink
Changed playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen5959 committed Nov 15, 2024
1 parent ab7d9e1 commit 6207b4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
env:
PORT: 3001
VITE_PARSEABLE_URL: 'https://demo.parseable.com'
VITE_BASIC_AUTH: true
VITE_USE_BASIC_AUTH: true
VITE_USERNAME: 'admin'
VITE_PASSWORD: 'admin'
steps:
Expand All @@ -28,7 +28,7 @@ jobs:
env:
PORT: 3001
VITE_PARSEABLE_URL: 'https://demo.parseable.com'
VITE_BASIC_AUTH: true
VITE_USE_BASIC_AUTH: true
VITE_USERNAME: 'admin'
VITE_PASSWORD: 'admin'
- name: Run Playwright tests
Expand Down
1 change: 1 addition & 0 deletions src/routes/PrivateRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Navigate, Outlet, useLocation } from 'react-router-dom';
import Cookies from 'js-cookie';

const PrivateRoute: FC = () => {
debugger;
const auth = Cookies.get('session');
const { pathname } = useLocation();

Expand Down

0 comments on commit 6207b4f

Please sign in to comment.