Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 3b72fef

Browse files
committed
Updated cypress spec
1 parent 0a1bd15 commit 3b72fef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cypress/integration/filesystem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe("The filesystem page", () => {
77
});
88

99
it("changes the url when you click on a file", () => {
10-
cy.get("div").contains("dummyFile.txt").click();
11-
cy.url().should("include", "#dummyFile.txt");
10+
cy.get("div").contains("user1").click();
11+
cy.url().should("include", "/user1");
1212
});
1313
});

cypress/integration/login_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ describe('The Home Page', () => {
66

77
it('sets auth cookie when logging in via form submission', function () {
88
// destructuring assignment of the this.currentUser object
9-
const username = 'admin';
10-
const password = 'admin';
9+
const username = 'user1';
10+
const password = '12345';
1111

1212
//cy.visit('/login')
1313

0 commit comments

Comments
 (0)