Skip to content

Commit

Permalink
Test failure fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pezmc committed Mar 7, 2023
1 parent 3a89da9 commit 16e5a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion forge/monitor/metrics/004-platform.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = async (app) => {
let sharedLibraryEntries = 0
if (app.license.active()) {
sharedLibraryEntries = await app.db.models.StorageSharedLibrary.count()
sharedLibraryEntries = await app.db.models.StorageSharedLibrary?.count()
}
const licenseType = () => {
if (app.license.active()) {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/frontend/cypress/tests/projects/overview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('FlowForge - Project - Overview', () => {
it('shows a placeholder message when no devices have been added to the project', () => {
navigateToProject('BTeam', 'project2')

cy.get('[data-el="devices-section"]').contains('You have not added any devices to this project yet.')
cy.get('[data-el="devices-section"]').contains('You have not added any devices to this application yet.')
})

it('provides functionality to assign a snapshot', () => {
Expand Down

0 comments on commit 16e5a27

Please sign in to comment.