Skip to content

Commit

Permalink
DISPLAY-993: Adjusted tests to fit menu changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tuj committed Sep 24, 2023
1 parent 8ca0f69 commit 882c90e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

- [#220](https://github.com/os2display/display-admin-client/pull/220)
- Adds CRUD flows for external users and activation codes.
- Added login and activation flow for external users.
- [#217](https://github.com/os2display/display-admin-client/pull/217)
- Move tenant dropdown to sidebar.
- [#215](https://github.com/os2display/display-admin-client/pull/215)
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/topbar/top-bar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe("Nav items loads", () => {
cy.get("#topbar_signout").should("not.be.visible");
cy.get("#basic-navbar-nav-burger").click();
cy.get("#basic-navbar-nav").should("exist");
cy.get("#basic-navbar-nav").find(".nav-item").should("have.length", 12);
cy.get("#basic-navbar-nav").find(".nav-item").should("have.length", 13);
cy.get("#basic-navbar-nav").find(".nav-add-new").should("have.length", 4);
cy.get("#basic-navbar-nav").find("#topbar_signout").should("be.visible");
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/user/login.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ describe("Login works", () => {
cy.get("#login").click();
cy.wait(["@token"]);
cy.get(".name").should("have.text", "John Doe");
cy.get(".sidebar-nav").find(".nav-item").should("have.length", 11);
cy.get(".sidebar-nav").find(".nav-item").should("have.length", 12);
});
});

0 comments on commit 882c90e

Please sign in to comment.