Skip to content

Commit

Permalink
Merge pull request #251 from pateljannat/remove-scroll-animation
Browse files Browse the repository at this point in the history
fix: cache, animation and menu
  • Loading branch information
pateljannat authored Jun 19, 2024
2 parents 5976585 + 8bacc34 commit ec653be
Show file tree
Hide file tree
Showing 15 changed files with 1,446 additions and 174 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/wiki.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ context("Wiki", () => {
});

it("creates a new wiki page", () => {
cy.get(".wiki-options .dropdown-toggle").click();
cy.get(".dropdown-toggle.wiki-options").click();
cy.get(".edit-wiki-btn").click();

cy.get(".doc-sidebar .sidebar-group:first-child .add-sidebar-page").click();
Expand All @@ -25,7 +25,7 @@ context("Wiki", () => {
it("edits a wiki page", () => {
cy.get(".doc-sidebar").contains("Test Wiki Page").click();

cy.get(".wiki-options .dropdown-toggle").click();
cy.get(".dropdown-toggle.wiki-options").click();
cy.get(".edit-wiki-btn").click();

cy.get(".wiki-editor .ProseMirror")
Expand All @@ -44,7 +44,7 @@ context("Wiki", () => {
it("deletes a wiki page", () => {
cy.get(".doc-sidebar").contains("Old Wiki Page").click();

cy.get(".wiki-options .dropdown-toggle").click();
cy.get(".dropdown-toggle.wiki-options").click();
cy.get(".edit-wiki-btn").click();

cy.get(".doc-sidebar").contains("Old Wiki Page").parent().next().click();
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/wiki_sidebar.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ context("Wiki Sidebar", () => {
});

it("creates a new wiki sidebar group", () => {
cy.get(".wiki-options .dropdown-toggle").click();
cy.get(".dropdown-toggle.wiki-options").click();
cy.get(".edit-wiki-btn").click();

cy.get(".doc-sidebar").contains("Add Group").click();
Expand All @@ -26,7 +26,7 @@ context("Wiki Sidebar", () => {
});

it("deletes a wiki sidebar group when the group is empty", () => {
cy.get(".wiki-options .dropdown-toggle").click();
cy.get(".dropdown-toggle.wiki-options").click();
cy.get(".edit-wiki-btn").click();

cy.get(".doc-sidebar").contains("Test Wiki Page").parent().next().click();
Expand Down
Loading

0 comments on commit ec653be

Please sign in to comment.