Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Datahub] Fix : add missing tooltip #752

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@
let first = first;
let last = last
"
[title]="link.name"
[link]="link"
[currentLink]="selectedApiLink"
class="w-80"
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@
let first = first;
let last = last
"
[title]="link.name"
[link]="link"
class="w-80"
[ngClass]="{

Unchanged files with check annotations Beta

} = require('cypress-browser-permissions')
module.exports = (on, config) => {
on('before:browser:launch', (browser = {}, launchOptions) => {

Check warning on line 6 in apps/datahub-e2e/src/plugins/index.js

GitHub Actions / Format check, lint, unit tests

'browser' is assigned a value but never used
// if (browser.name === 'chrome') {
launchOptions.args.push('--lang=en')
return launchOptions
describe('isAuthenticated$', () => {
describe('user is authenticated', () => {
beforeEach(() => {
;(platform as any)._isAnonymous$.next(false)

Check warning on line 143 in apps/datahub/src/app/home/home-header/home-header.component.spec.ts

GitHub Actions / Format check, lint, unit tests

Unexpected any. Specify a different type
})
it('displays favoriteBadge when authenticated', async () => {
const isAuthenticated = await firstValueFrom(
})
describe('user is NOT authenticated', () => {
beforeEach(() => {
;(platform as any)._isAnonymous$.next(true)

Check warning on line 154 in apps/datahub/src/app/home/home-header/home-header.component.spec.ts

GitHub Actions / Format check, lint, unit tests

Unexpected any. Specify a different type
})
it('does NOT display favoriteBadge when NOT authenticated', async () => {
const isAuthenticated = await firstValueFrom(
describe('sort badges', () => {
describe('navigate to search route', () => {
beforeEach(() => {
;(routerFacade.currentRoute$ as any).next({

Check warning on line 176 in apps/datahub/src/app/home/home-header/home-header.component.spec.ts

GitHub Actions / Format check, lint, unit tests

Unexpected any. Specify a different type
url: [{ path: ROUTER_ROUTE_SEARCH }],
})
})
})
describe('navigate to news route', () => {
beforeEach(() => {
;(routerFacade.currentRoute$ as any).next({

Check warning on line 189 in apps/datahub/src/app/home/home-header/home-header.component.spec.ts

GitHub Actions / Format check, lint, unit tests

Unexpected any. Specify a different type
url: [{ path: ROUTER_ROUTE_NEWS }],
})
})
import { FormsModule } from '@angular/forms'
import { FieldFilters } from '@geonetwork-ui/common/domain/model/search'
import { USER_FIXTURE } from '@geonetwork-ui/common/fixtures'
import { AuthService } from '@geonetwork-ui/api/repository/gn4'

Check warning on line 24 in apps/datahub/src/app/home/search/search-filters/search-filters.component.spec.ts

GitHub Actions / Format check, lint, unit tests

'AuthService' is defined but never used
import { PlatformServiceInterface } from '@geonetwork-ui/common/domain/platform.service.interface'
jest.mock('@geonetwork-ui/util/app-config', () => ({
unobserve = jest.fn()
}
;(window as any).ResizeObserver = ResizeObserverMock

Check warning on line 9 in apps/datahub/src/test-setup.ts

GitHub Actions / Format check, lint, unit tests

Unexpected any. Specify a different type