Few fixes (#976)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2022-02-08 23:54:57 +07:00 committed by GitHub
parent df76f2b992
commit 149aed9e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View File

@ -39,10 +39,11 @@
.spinner-container .inner {
margin: auto;
opacity: 0.5;
opacity: 0;
animation-name: makeVisible;
animation-duration: 0.25s;
animation-delay: 0.1s;
animation-fill-mode: forwards;
}
</style>

View File

@ -169,7 +169,7 @@
let isNavigate: boolean = false
$: isNavigate = !!navigatorModel
function navigateApp (app: Application) {
function navigateApp (app: Application): void {
if (currentApp === app._id) {
// Nothing to do.
return
@ -179,6 +179,7 @@
navigatorModel = currentApplication?.navigatorModel
currentSpace = undefined
specialComponent = undefined
currentSpecial = undefined
currentView = undefined
createItemDialog = undefined

View File

@ -28,11 +28,11 @@ test.describe('contact tests', () => {
await page.locator('[id="app-contact\\:string\\:Contacts"]').click()
await expect(page.locator('text=Elton John')).toBeVisible()
await expect(page.locator('text=Marina M.')).toBeVisible()
expect(await page.locator('.tr-body').count()).toBeGreaterThan(5)
const searchBox = page.locator('[placeholder="Search"]')
await searchBox.fill('Elton')
await searchBox.fill('Marina')
await searchBox.press('Enter')
await expect(page.locator('.tr-body')).toHaveCount(1)