From 5e9085e1b58778a2bd53428154b26369dd9b0bc6 Mon Sep 17 00:00:00 2001 From: Taush Sampley Date: Sun, 8 Sep 2024 10:47:13 -0500 Subject: [PATCH] Fix dialog closed assertion before selecting disability --- .../src/commonTest/kotlin/ride/RiderProfileCreationUiTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-shared/src/commonTest/kotlin/ride/RiderProfileCreationUiTest.kt b/app-shared/src/commonTest/kotlin/ride/RiderProfileCreationUiTest.kt index 33e605a7..6b5a05af 100644 --- a/app-shared/src/commonTest/kotlin/ride/RiderProfileCreationUiTest.kt +++ b/app-shared/src/commonTest/kotlin/ride/RiderProfileCreationUiTest.kt @@ -168,11 +168,11 @@ class RiderProfileCreationUiTest { Then: - Dialog is closed and Mobility is added to list of disabilities */ - onNodeWithText("Disability Picker") - .assertDoesNotExist() onNodeWithText("Mobility") .assertExists() .performClick() + onNodeWithText("Disability Picker") + .assertDoesNotExist() /* When: