Skip to content

Commit e85b3bd

Browse files
authored
Merge branch 'main' into fix_multi_auth
2 parents accf223 + 41dbc46 commit e85b3bd

34 files changed

+1736
-401
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node-version: [18.x]
22+
node-version: [20.x]
2323
mongodb-version: [4.4]
2424

2525
steps:

.github/workflows/experimental-inventory-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node-version: [18.x]
22+
node-version: [20.x]
2323
mongodb-version: [4.4]
2424

2525
steps:

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Code Cleanliness
22

33
on: [pull_request]
44

5-
env: # environment variables (available in any part of the action)
6-
NODE_VERSION: 18
5+
env:
6+
NODE_VERSION: 20
77

88
permissions:
99
contents: read

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# - uses: actions/checkout@8459bc0 # v4
5353
# - uses: actions/setup-node@c2ac33f # v4, Setup .npmrc file to publish to npm
5454
# with:
55-
# node-version: '18.x'
55+
# node-version: '20.x'
5656
# registry-url: 'https://registry.npmjs.org'
5757
# - run: npm ci
5858
# - run: npm publish --access=public

cypress/e2e/login.cy.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ describe('Login page', () => {
3131
cy.url().should('include', '/dashboard/repo');
3232
})
3333

34+
it('should show an error snackbar on invalid login', () => {
35+
cy.get('[data-test="username"]').type('wronguser');
36+
cy.get('[data-test="password"]').type('wrongpass');
37+
cy.get('[data-test="login"]').click();
38+
39+
cy.get('.MuiSnackbarContent-message')
40+
.should('be.visible')
41+
.and('contain', 'You entered an invalid username or password...');
42+
});
43+
3444
describe('OIDC login button', () => {
3545
it('should exist', () => {
3646
cy.get('[data-test="oidc-login"]').should('exist');

0 commit comments

Comments
 (0)