Skip to content

Commit

Permalink
feat(v2-1767-tree-page): update v2 tree page route to /tree/:id and c…
Browse files Browse the repository at this point in the history
…ypress test
  • Loading branch information
ha0min committed Jun 27, 2024
1 parent 07a92fd commit 68c2812
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 1,079 deletions.
4 changes: 2 additions & 2 deletions cypress/tests/integration/v2/trees/[treeid].cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ beforeEach(() => {
prepareNocks(stubs);
});

cy.visit(`/v2/trees/${tree.id}`, {
cy.visit(`/trees/${tree.id}`, {
failOnStatusCode: false,
});
});

describe('V2 Tree Page', () => {
it('renders with tree data', () => {
cy.url().should('include', `/v2/trees/${tree.id}`);
cy.url().should('include', `/trees/${tree.id}`);

// check if the tree caputrues data correct

Expand Down
Loading

0 comments on commit 68c2812

Please sign in to comment.