Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Merge branch 'main' into fix-url-no-protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia authored Dec 12, 2024
2 parents 5bf260a + 4bbdda8 commit c5aae9d
Show file tree
Hide file tree
Showing 27 changed files with 546 additions and 1,328 deletions.
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

0 comments on commit c5aae9d

Please sign in to comment.