Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change categories with tags #1587

Merged
merged 5 commits into from
Dec 11, 2024
Merged
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
145 changes: 0 additions & 145 deletions cypress/components/common/MultiSelectChipInput.cy.tsx

This file was deleted.

171 changes: 0 additions & 171 deletions cypress/e2e/item/publish/categories.cy.ts

This file was deleted.

8 changes: 4 additions & 4 deletions cypress/e2e/item/publish/coEditorSettings.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ import {
buildDataCyWrapper,
buildPublishButtonId,
} from '../../../../src/config/selectors';
import { ITEM_WITH_CATEGORIES_CONTEXT } from '../../../fixtures/categories';
import { MEMBERS, SIGNED_OUT_MEMBER } from '../../../fixtures/members';
import { ITEM_WITH_TAGS_CONTEXT } from '../../../fixtures/tags';
import { EDIT_TAG_REQUEST_TIMEOUT } from '../../../support/constants';

const openPublishItemTab = (id: string) => {
cy.get(`#${buildPublishButtonId(id)}`).click();
};
const visitItemPage = () => {
cy.setUpApi(ITEM_WITH_CATEGORIES_CONTEXT);
const item = ITEM_WITH_CATEGORIES_CONTEXT.items[0];
cy.setUpApi(ITEM_WITH_TAGS_CONTEXT);
const item = ITEM_WITH_TAGS_CONTEXT.items[0];
cy.visit(buildItemPath(item.id));
openPublishItemTab(item.id);
};
Expand All @@ -35,7 +35,7 @@ describe('Co-editor Setting', () => {

it('Change choice', () => {
visitItemPage();
const item = ITEM_WITH_CATEGORIES_CONTEXT.items[0];
const item = ITEM_WITH_TAGS_CONTEXT.items[0];
const newOptionValue = DISPLAY_CO_EDITORS_OPTIONS.NO.value;

cy.wait('@getPublicationStatus').then(() => {
Expand Down
Loading
Loading