mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 16:27:22 +00:00
parent
df76f2b992
commit
149aed9e34
@ -39,10 +39,11 @@
|
|||||||
|
|
||||||
.spinner-container .inner {
|
.spinner-container .inner {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
opacity: 0.5;
|
opacity: 0;
|
||||||
animation-name: makeVisible;
|
animation-name: makeVisible;
|
||||||
animation-duration: 0.25s;
|
animation-duration: 0.25s;
|
||||||
animation-delay: 0.1s;
|
animation-delay: 0.1s;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -169,7 +169,7 @@
|
|||||||
let isNavigate: boolean = false
|
let isNavigate: boolean = false
|
||||||
$: isNavigate = !!navigatorModel
|
$: isNavigate = !!navigatorModel
|
||||||
|
|
||||||
function navigateApp (app: Application) {
|
function navigateApp (app: Application): void {
|
||||||
if (currentApp === app._id) {
|
if (currentApp === app._id) {
|
||||||
// Nothing to do.
|
// Nothing to do.
|
||||||
return
|
return
|
||||||
@ -179,6 +179,7 @@
|
|||||||
navigatorModel = currentApplication?.navigatorModel
|
navigatorModel = currentApplication?.navigatorModel
|
||||||
|
|
||||||
currentSpace = undefined
|
currentSpace = undefined
|
||||||
|
specialComponent = undefined
|
||||||
currentSpecial = undefined
|
currentSpecial = undefined
|
||||||
currentView = undefined
|
currentView = undefined
|
||||||
createItemDialog = undefined
|
createItemDialog = undefined
|
||||||
|
@ -28,11 +28,11 @@ test.describe('contact tests', () => {
|
|||||||
|
|
||||||
await page.locator('[id="app-contact\\:string\\:Contacts"]').click()
|
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)
|
expect(await page.locator('.tr-body').count()).toBeGreaterThan(5)
|
||||||
|
|
||||||
const searchBox = page.locator('[placeholder="Search"]')
|
const searchBox = page.locator('[placeholder="Search"]')
|
||||||
await searchBox.fill('Elton')
|
await searchBox.fill('Marina')
|
||||||
await searchBox.press('Enter')
|
await searchBox.press('Enter')
|
||||||
|
|
||||||
await expect(page.locator('.tr-body')).toHaveCount(1)
|
await expect(page.locator('.tr-body')).toHaveCount(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user