Are compose UI tests supposed to work with wasm ta...
# compose-web
c
Are compose UI tests supposed to work with wasm targets? Is anything special needed to get them running? As soon as I introduce
runComposeUiTest
to a test case, I get an exception with `NotImplementedError: Implemented as intrinsic`for Kotlin 2.1.21 and Compose 1.8.1 with the WASM target, while the desktop target is fine.
Copy code
@Test
    fun composeTest() = runComposeUiTest { 
        // throws NotImplementedError: Implemented as intrinsic for WASM target
    }
v
@Carter I have same issue kotlin 2.1.21 , compose 1.8.1, coroutines 1.9.0. I have switched to 2.2.0-RC.
c
Switching to 2.2.0-RC moves me past that initial failure but then fails with the same error when my code calls
StateFlow.collectAsState()
or
collectAsStateWithLifecycle()