Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"@emotion/react": "11.14.0",
"@emotion/server": "11.11.0",
"@emotion/styled": "11.14.1",
"@mui/base": "next",
"react-email": "6.6.3",
"@react-router/fs-routes": "7.18.0",
"@react-spring/web": "10.1.1",
Expand Down
1 change: 0 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@faker-js/faker": "^10.1.0",
"@mui/base": "next",
"@react-spring/web": "^10.1.1",
"@theme-ui/core": "^0.17.4",
"country-to-iso": "^1.6.1",
Expand Down
54 changes: 0 additions & 54 deletions packages/components/src/TabbedContent/TabbedContent.stories.tsx

This file was deleted.

34 changes: 0 additions & 34 deletions packages/components/src/TabbedContent/TabbedContent.test.tsx

This file was deleted.

62 changes: 0 additions & 62 deletions packages/components/src/TabbedContent/TabbedContent.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const UserStatistics = (props: UserStatisticsProps) => {

return (
<Card
data-cy="UserStatistics"
sx={{
backgroundColor: 'background',
border: 0,
padding: 1,
...props.sx,
Expand Down
1 change: 0 additions & 1 deletion packages/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export { ReturnPathLink } from './ReturnPathLink/ReturnPathLink';
export { SearchField } from './SearchField/SearchField';
export { Select } from './Select/Select';
export { SiteFooter } from './SiteFooter/SiteFooter';
export { Tab, TabPanel, Tabs, TabsList } from './TabbedContent/TabbedContent';
export { Tag } from './Tag/Tag';
export { TagList } from './TagList/TagList';
export { TextNotification } from './TextNotification/TextNotification';
Expand Down
4 changes: 2 additions & 2 deletions packages/cypress/src/integration/banUser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ describe('[Ban User]', () => {
cy.step('Go to own profile');
cy.visit(`/u/${admin.username}`);

cy.step('Ban button should be visible but disabled');
cy.get('[data-cy=BanUserButton]').should('be.visible').and('be.disabled');
cy.step('Ban button should not be shown on own profile');
cy.get('[data-cy=BanUserButton]').should('not.exist');

cy.step('Go to research creator profile');
cy.visit(`/u/${researchCreator.username}`);
Expand Down
1 change: 0 additions & 1 deletion packages/cypress/src/integration/library/read.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ describe('[Library]', () => {
cy.step('Project should appear on users profile');
cy.get('[data-cy=Username]').first().click();
cy.get('[data-testid=library-stat]').should('exist');
cy.get('[data-cy=ContribTab]').click();
cy.get('[data-testid="library-contributions"]').within(() => {
cy.contains(item.title);
});
Expand Down
3 changes: 1 addition & 2 deletions packages/cypress/src/integration/library/write.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ describe('[Library]', () => {
cy.step("Drafted project should not appear on user's profile");
cy.visit('/u/' + creator.displayName);
cy.get('[data-testid=library-stat]').should('not.exist');
cy.get('[data-cy=ContribTab]').should('not.exist');
cy.get('[data-testid="library-contributions"]').should('not.exist');

cy.step('Back to completing the project');
cy.visit(firstSlug);
Expand Down Expand Up @@ -267,7 +267,6 @@ describe('[Library]', () => {
// cy.step('Published project should appear on users profile')
// cy.visit('/u/' + creator.displayName)
// cy.get('[data-testid=library-stat]').contains('1')
// cy.get('[data-cy=ContribTab]').click()
// cy.get('[data-cy="library-contributions"]').should('be.visible')
});

Expand Down
Loading
Loading