Skip to content
Merged
2 changes: 1 addition & 1 deletion __tests__/home/home.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ describe('Home Page', () => {
await taskRequestsButton.click();
await page.waitForNetworkIdle();
const newUrl = page.url();
expect(newUrl).toContain('/taskRequests');
expect(newUrl).toContain('/task-requests');
});
it('should call the right api endpoint when Sync External Accounts button is clicked', async () => {
let isRightUrlCalled = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('Task Requests', () => {
request.continue();
}
});
await page.goto(`${SITE_URL}/taskRequests`);
await page.goto(`${SITE_URL}/task-requests`);
await page.waitForNetworkIdle();
});

Expand Down Expand Up @@ -227,7 +227,7 @@ describe('createCustomElement', () => {

page = await browser.newPage();

await page.goto(`${SITE_URL}/taskRequests`);
await page.goto(`${SITE_URL}/task-requests`);
await page.waitForNetworkIdle();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('Task request details page', () => {
}
});
await page.goto(
'http://localhost:8000/taskRequests/details/?id=dM5wwD9QsiTzi7eG7Oq5',
'http://localhost:8000/task-requests/details/?id=dM5wwD9QsiTzi7eG7Oq5',
);
});

Expand Down Expand Up @@ -123,7 +123,7 @@ describe('Task request details page with status creation', () => {
}
});
await page.goto(
'http://localhost:8000/taskRequests/details/?id=uC0IUpkFMx393XjnKx4w',
'http://localhost:8000/task-requests/details/?id=uC0IUpkFMx393XjnKx4w',
);
});

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<a
id="task-requests-link"
class="action-button element-display-remove"
href="taskRequests"
href="task-requests"
>
Task Requests
</a>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;400;700;800&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="/taskRequests/details/style.css" />
<link rel="stylesheet" href="/task-requests/details/style.css" />

<title>Task Requests | Real Dev Squad</title>
<script src="/helpers/loadENV.js"></script>
<script src="/taskRequests/util.js"></script>
<script src="/taskRequests/constants.js"></script>
<script src="/task-requests/util.js"></script>
<script src="/task-requests/constants.js"></script>
<script src="/utils/time/index.js"></script>
<script src="/taskRequests/details/script.js" defer></script>
<script src="/task-requests/details/script.js" defer></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js"
integrity="sha512-LhccdVNGe2QMEfI3x4DVV3ckMRe36TfydKss6mJpdHjNFiV07dFpS2xzeZedptKZrwxfICJpez09iNioiSZ3hA=="
Expand All @@ -30,7 +30,7 @@
<div class="header">
<div class="header__contents">
<img
src="/taskRequests/assets/RDSLogo.png"
src="/task-requests/assets/RDSLogo.png"
alt="RDS logo"
height="48"
width="48"
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions taskRequests/index.html → task-requests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
/>

<title>Task Requests | Real Dev Squad</title>
<link rel="stylesheet" href="/taskRequests/style.css" />
<link rel="stylesheet" href="/task-requests/style.css" />
<script src="/helpers/loadENV.js"></script>
<script src="/taskRequests/constants.js"></script>
<script src="/taskRequests/util.js"></script>
<script src="/task-requests/constants.js"></script>
<script src="/task-requests/util.js"></script>
<script src="/utils.js"></script>
<script src="/taskRequests/script.js" defer></script>
<script src="/task-requests/script.js" defer></script>
</head>

<body>
<div class="header">
<div class="header__contents">
<img
src="/taskRequests/assets/RDSLogo.png"
src="/task-requests/assets/RDSLogo.png"
alt="RDS logo"
height="48"
width="48"
Expand All @@ -38,7 +38,7 @@
<button class="sort-button">
<img
id="asc-sort-icon"
src="/taskRequests/assets/sort-menu.svg"
src="/task-requests/assets/sort-menu.svg"
alt="sort-icon"
/>
</button>
Expand All @@ -60,7 +60,7 @@ <h3 id="sort-dialog-label">Sort By</h3>

<img
class="funnel-icon"
src="/taskRequests/assets/funnel.svg"
src="/task-requests/assets/funnel.svg"
alt="funnel icon"
/>
</button>
Expand Down
2 changes: 1 addition & 1 deletion taskRequests/script.js → task-requests/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function getRemainingCount(requestors) {
}
}
function openTaskDetails(id) {
const url = new URL(`/taskRequests/details`, window.location.href);
const url = new URL(`/task-requests/details`, window.location.href);

url.searchParams.append('id', id);
window.location.href = url;
Expand Down
File renamed without changes.
File renamed without changes.