const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
const isMP = platformInfo.startsWith('mp')
const isHarmony = platformInfo.startsWith('harmony')
describe('component-native-sticky-section', () => {
if (isMP) {
it('skip mp', () => {
expect(1).toBe(1)
})
return
}
it('check_issues-16118', async () => {
let page = await program.reLaunch('/pages/component/sticky-section/issues-16118')
await page.waitFor('view')
await page.waitFor(500)
await page.callMethod('switchDisplay')
await page.waitFor(1500)
await page.callMethod('switchDisplay')
await page.waitFor(1500)
await page.callMethod('switchDisplay')
await page.waitFor(500)
const image = await program.screenshot({fullPage: true});
expect(image).toSaveImageSnapshot();
})
})