Fixed href's to go to the right place (#7377)
This commit is contained in:
1 parent
abce20824f
commit
5f7d904349
4 files changed
+4
-4
No files matched your search
@@ -10,7 +10,7 @@ import NavTabs from "./NavTabs";
|
||||
const tabs = [
|
||||
{
|
||||
name: "profile",
|
||||
href: "/settings/profile",
|
||||
href: "/settings/my-account/profile",
|
||||
icon: FiUser,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ test("Can delete user account", async ({ page, users }) => {
|
||||
|
||||
await page.waitForSelector("[data-testid=dashboard-shell]");
|
||||
|
||||
await page.goto(`/settings/profile`);
|
||||
await page.goto(`/settings/my-account/profile`);
|
||||
await page.click("[data-testid=delete-account]");
|
||||
if (!user.username) throw Error(`Test user doesn't have a username`);
|
||||
|
||||
|
||||
Reference in new issue
Block a user