Skip to content

Added case for invalid username during registration. #29

Added case for invalid username during registration.

Added case for invalid username during registration. #29

Triggered via push October 22, 2024 01:27
Status Failure
Total duration 32s
Billable time 3m
Artifacts

node.js.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 errors
src/components/__tests__/Login.spec.js > Login.vue > calls the signIn method on form submission: src/components/__tests__/Login.spec.js#L57
AssertionError: expected "wrap" to be called with arguments: [ 'http://localhost:8080/login', …(1) ] Received: 1st wrap call: Array [ - "http://localhost:8080/login", + "http://localhost:8080/auth/login", Object { "password": "password123", "username": "testuser", }, ] Number of calls: 1 ❯ src/components/__tests__/Login.spec.js:57:24
src/components/__tests__/Login.spec.js > Login.vue > shows an error message when login fails: src/components/__tests__/Login.spec.js#L87
AssertionError: expected "wrap" to be called with arguments: [ 'http://localhost:8080/login', …(1) ] Received: 1st wrap call: Array [ - "http://localhost:8080/login", + "http://localhost:8080/auth/login", Object { "password": "wrongpassword", "username": "invaliduser", }, ] Number of calls: 1 ❯ src/components/__tests__/Login.spec.js:87:24
src/components/__tests__/Navbar.spec.js > navComponent.vue > calls signIn function on form submission: src/components/__tests__/Navbar.spec.js#L71
AssertionError: expected "wrap" to be called with arguments: [ 'http://localhost:8080/login', …(1) ] Received: 1st wrap call: Array [ - "http://localhost:8080/login", + "http://localhost:8080/auth/login", Object { "password": "password123", "username": "testuser", }, ] Number of calls: 1 ❯ src/components/__tests__/Navbar.spec.js:71:24
build (20.x)
Process completed with exit code 1.
build (18.x)
The job was canceled because "_20_x" failed.
src/components/__tests__/Login.spec.js > Login.vue > calls the signIn method on form submission: src/components/__tests__/Login.spec.js#L57
AssertionError: expected "wrap" to be called with arguments: [ 'http://localhost:8080/login', …(1) ] Received: 1st wrap call: Array [ - "http://localhost:8080/login", + "http://localhost:8080/auth/login", Object { "password": "password123", "username": "testuser", }, ] Number of calls: 1 ❯ src/components/__tests__/Login.spec.js:57:24
src/components/__tests__/Login.spec.js > Login.vue > shows an error message when login fails: src/components/__tests__/Login.spec.js#L87
AssertionError: expected "wrap" to be called with arguments: [ 'http://localhost:8080/login', …(1) ] Received: 1st wrap call: Array [ - "http://localhost:8080/login", + "http://localhost:8080/auth/login", Object { "password": "wrongpassword", "username": "invaliduser", }, ] Number of calls: 1 ❯ src/components/__tests__/Login.spec.js:87:24
src/components/__tests__/Navbar.spec.js > navComponent.vue > calls signIn function on form submission: src/components/__tests__/Navbar.spec.js#L71
AssertionError: expected "wrap" to be called with arguments: [ 'http://localhost:8080/login', …(1) ] Received: 1st wrap call: Array [ - "http://localhost:8080/login", + "http://localhost:8080/auth/login", Object { "password": "password123", "username": "testuser", }, ] Number of calls: 1 ❯ src/components/__tests__/Navbar.spec.js:71:24
build (18.x)
The operation was canceled.
build (22.x)
The job was canceled because "_20_x" failed.
build (22.x)
The operation was canceled.