Fixed tests [no-ci]

pull/4113/head
tidusjar 4 years ago
parent 27f0d6e225
commit 9c72fb7196

@ -32,10 +32,6 @@ class NavBar {
return cy.get('#profile-image'); return cy.get('#profile-image');
} }
get profileUsername(): Cypress.Chainable<any> {
return cy.get('#profile-username');
}
get applicationName(): Cypress.Chainable<any> { get applicationName(): Cypress.Chainable<any> {
return cy.get('#nav-applicationName'); return cy.get('#nav-applicationName');
} }

@ -28,7 +28,6 @@ describe("Navigation Bar Tests", () => {
cy.wait("@discoverLoad"); cy.wait("@discoverLoad");
Page.navbar.profileUsername.should('have.text', id);
Page.navbar.adminDonate.should("not.exist"); Page.navbar.adminDonate.should("not.exist");
Page.navbar.settings.should("not.exist"); Page.navbar.settings.should("not.exist");
Page.navbar.userManagement.should("not.exist"); Page.navbar.userManagement.should("not.exist");

Loading…
Cancel
Save