Skip to content

Commit

Permalink
move doc demo to vn folder
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-burel committed Jan 31, 2022
1 parent 5244223 commit a9135e0
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 894 deletions.
15 changes: 8 additions & 7 deletions cypress/integration/integration/doc.spec.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
/**
* Here we test nested markdown files with src/content/docs/features/not-yet-implemented-features.md file
* Here we test nested markdown files
*/
const docsRoot = "/vn/docs";
describe("doc", () => {
it("navigate through folders", () => {
cy.visit("/docs");
cy.visit(docsRoot + "/");
cy.findByText(/Features/i).click();
cy.url().should("include", "/docs/features");
});
it("access to the nested markdown file", () => {
cy.visit("/docs/features");
cy.visit(docsRoot + "/features");
cy.findByText(/Not Yet Implemented Features/i).click();
cy.url().should("include", "/docs/features/not-yet-implemented-features");
cy.findByText(/NOT YET IMPLEMENTED:/i).should("exist");
});
it("files and folders contains indexLink", () => {
cy.visit("/docs/features");
cy.visit(docsRoot + "/features");
cy.findAllByText(/Back to documentation index/i).should("exist");
cy.visit("/docs/features/not-yet-implemented-features");
cy.visit(docsRoot + "/features/not-yet-implemented-features");
cy.findAllByText(/Back to documentation index/i)
.first()
.click();
Expand All @@ -26,9 +27,9 @@ describe("doc", () => {
);
});
it("previousPageLink is where it should", () => {
cy.visit("/docs/features");
cy.visit(docsRoot + "/features");
cy.findByText(/Previous page/i).should("not.exist");
cy.visit("/docs/features/not-yet-implemented-features");
cy.visit(docsRoot + "/features/not-yet-implemented-features");
cy.findAllByText(/Previous page/i)
.first()
.click();
Expand Down
49 changes: 0 additions & 49 deletions src/content/docs/contributing.md

This file was deleted.

31 changes: 0 additions & 31 deletions src/content/docs/deploy.md

This file was deleted.

157 changes: 0 additions & 157 deletions src/content/docs/features/architecture-and-others.md

This file was deleted.

52 changes: 0 additions & 52 deletions src/content/docs/features/authentication.md

This file was deleted.

37 changes: 0 additions & 37 deletions src/content/docs/features/graphql-client.md

This file was deleted.

Loading

0 comments on commit a9135e0

Please sign in to comment.