Skip to content

Commit f0b714a

Browse files
committed
fix: change apps/job tab to run
1 parent daff7f7 commit f0b714a

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

src/layouts/navigation/navigationConstants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface NavLinkData {
1414
export const NAV_LINKS: NavLinkData[] = [
1515
{ title: "Datasets", path: "/datasets", text: "Datasets" },
1616
{ title: "Project", path: "/project", text: "Project Data" },
17-
{ title: "Run", path: "/run", text: "Apps/Jobs" },
17+
{ title: "Run", path: "/run", text: "Run" },
1818
{ title: "Results", path: "/results", text: "Results" },
1919
];
2020

src/pages/run.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,13 @@ const Run = () => {
180180
return (
181181
<>
182182
<Head>
183-
<title>Squonk | Apps/Jobs</title>
183+
<title>Squonk | Run</title>
184184
</Head>
185185
<RoleRequired roles={DM_ROLES}>
186186
<RoleRequired roles={AS_ROLES}>
187187
<Layout>
188188
<Container maxWidth="xl">
189189
<Grid container spacing={2} sx={{ mb: 2 }}>
190-
{/* Filter by apps/jobs */}
191190
<Grid size={{ md: 4, sm: 6, xs: 12 }}>
192191
<TextField
193192
fullWidth

tests/navigation.browser.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@ test("do login via datasets page", async ({ page, baseURL }) => {
3737
await page.getByRole("heading", { name: "Datasets" }).waitFor();
3838
});
3939

40-
test("do login via apps/jobs page", async ({ page, baseURL }) => {
40+
test("do login via run page", async ({ page, baseURL }) => {
4141
await page.goto(baseURL as string);
42-
await page
43-
.getByRole("navigation", { name: "Main" })
44-
.getByRole("link", { name: "Apps/Jobs" })
45-
.click();
42+
await page.getByRole("navigation", { name: "Main" }).getByRole("link", { name: "Run" }).click();
4643

4744
// We aren't logged in so ensure we redirect to Keycloak
4845
await login(page);

0 commit comments

Comments
 (0)