Skip to content

Cypress: Code App - Sidebar#4004

Open
geodem127 wants to merge 4 commits into
test/code-app-data-seedingfrom
test/code-app-sidebar
Open

Cypress: Code App - Sidebar#4004
geodem127 wants to merge 4 commits into
test/code-app-data-seedingfrom
test/code-app-sidebar

Conversation

@geodem127

@geodem127 geodem127 commented Feb 23, 2026

Copy link
Copy Markdown
Contributor
  • Displays documents/files correctly
  • show icon for unpublished files/documents
  • publish file/document when clicking the publish icon
  • add file/document using the create button per file types
  • add file/document using the create button from the sidebars header

NOTE: required - #3994

@geodem127 geodem127 self-assigned this Feb 23, 2026
@geodem127 geodem127 changed the base branch from dev to test/code-app-data-seeding February 23, 2026 22:10
before(() => {
cy.visit("/code");
cy.task("seed:code", "fixtures/code/sidebar.json").then((res) => {
console.debug("res: ", res);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove


it("Displays documents/files correctly", () => {
cy.get(
'[data-cy="html"] [id="html\\-\\/code\\/file\\/views\\/\\_\\_e2e\\_\\_"]'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really necessary to escape all of these?

expect(FILENAME).to.not.be.empty;

cy.get("@commitFolder")
.find(`[id="html\\-\\/code\\/file\\/views\\/${Cypress.env("fileZUID")}"]`)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, do these really need to be escaped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants