Skip to content

Commit

Permalink
Merge pull request #801 from dolthub/taylor/users
Browse files Browse the repository at this point in the history
Fix public user profile
  • Loading branch information
tbantle22 authored Apr 11, 2024
2 parents 7b2d4cb + c97e707 commit c8c8ebd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,21 @@ const pageName = "Organization page with no repos";
const orgName = "no-repos-org";
const currentPage = `/organizations/${orgName}`;

const commonDataCy = [
"profile-card",
"profile-card-pic",
"profile-card-bio",
"no-repos-msg",
];
const commonDataCy = ["profile-card", "profile-card-pic", "no-repos-msg"];

const commonNotExist = [
"profile-card-bio",
"org-member-list",
"org-settings",
"billing-info",
"payment-history",
"repository-list-for-owner",
];

const desktopDataCy = ["profile-summary", "org-profile-databases-tab"];
const desktopDataCy = ["org-profile-databases-tab"];

const desktopNotExist = [
"profile-summary",
"org-profile-people-tab",
"org-profile-settings-tab",
"org-profile-billing-tab",
Expand Down
11 changes: 4 additions & 7 deletions cypress/e2e/dolthub/publicPaths/render/users/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,13 @@ const username = "cypresstesting";
const currentPage = `/users/cypresstesting`;
const skip = false;

const commonDataCy = [
"profile-card",
"profile-card-pic",
"profile-card-bio",
"no-repos-msg",
];
const commonDataCy = ["profile-card", "profile-card-pic", "no-repos-msg"];

const desktopDataCy = ["user-profile-databases-tab", "profile-summary"];
const desktopDataCy = ["user-profile-databases-tab"];

const desktopNotExist = [
"profile-summary",
"profile-card-bio",
"add-website-link",
"add-location-link",
"user-profile-organizations-tab",
Expand Down

0 comments on commit c8c8ebd

Please sign in to comment.