Skip to content

Commit

Permalink
Updated test to accomodate new url
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-R-Haugland committed May 23, 2024
1 parent 6ae2907 commit 0e14736
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/brukere/users.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {wait} from "@testing-library/user-event/dist/utils";

describe('Check the user page with no backend', () => {
describe('Check the user page', () => {
const searchText = 'TEST';
const userType = 'STUDENT';

Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function goToHome() {
Cypress.Commands.add("goToHome", goToHome)

export function goToUser() {
return cy.visit('http://localhost:3000/beta/fintlabs-no/users/442');
return cy.visit('http://localhost:3000/beta/fintlabs-no/users/442/orgunit/194');
}
Cypress.Commands.add('goToInfo', goToUser)

Expand Down

0 comments on commit 0e14736

Please sign in to comment.