Skip to content

Commit

Permalink
fix(baselineprofile): change scenario to generate prof files.
Browse files Browse the repository at this point in the history
  • Loading branch information
GerardPaligot committed Nov 11, 2024
1 parent cbce2b6 commit 8b56a74
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import com.paligot.confily.baselineprofile.waitForObject

class AgendaPOM(private val device: UiDevice) {
fun waitDataFetched() {
device.waitForObject(DevfestScenario.Partners.tabName, 20.seconds)
device.waitForObject(DevfestScenario.Partners.tabName, 40.seconds)
}

fun open() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ object DevfestScenario {
val back = By.desc("Back")
object Event {
val pastEvents = By.text("Past events")
val name = By.text("Devfest Lille 2023")
val name = By.text("Droidcon London")
}
object Agenda {
val tabName = By.desc("Agenda")
val filterAction = By.desc("Open filter screen")
val first = By.desc("Keynote d'ouverture in Grand Théâtre room during 50 minutes in category Discovery for level Beginner")
val first = By.desc("Project Sparkles: how Compose is changing Android Studio with Sebastiano Poggi, Chris Sinco as speaker in Hangouts room during 45 minutes in category Jetpack Compose for level Beginner")
val list = By.res(SchedulesSemantics.list)
}
object Speakers {
val tabName = By.desc("Speakers")
val first = By.text("Thanh Lan DOUBLIER")
val first = By.text("Alex Vanyo")
val list = By.res(SpeakersSemantics.list)
}
object Networking {
val tabName = By.desc("Networking")
}
object Partners {
val tabName = By.desc("Partners")
val first = By.desc("SFEIR")
val first = By.desc("appdome")
val detailTitle = By.text("Partner detail")
val list = By.res(PartnersSemantics.list)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
package com.paligot.confily.core.partners

import com.paligot.confily.models.ui.ActivityUi
import com.paligot.confily.models.ui.PartnerGroupUi
import com.paligot.confily.models.ui.PartnerGroupsUi
import com.paligot.confily.models.ui.PartnerItemUi
import kotlinx.collections.immutable.ImmutableList
import kotlinx.collections.immutable.ImmutableMap
import kotlinx.collections.immutable.toImmutableList
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.combine
Expand Down Expand Up @@ -46,4 +49,15 @@ class PartnerDaoSettings(
)
}
)

override fun fetchActivitiesByDay(eventId: String): Flow<ImmutableMap<String, ImmutableList<ActivityUi>>> {
TODO("Not yet implemented")
}

override fun fetchActivitiesByPartner(
eventId: String,
partnerId: String
): Flow<ImmutableList<ActivityUi>> {
TODO("Not yet implemented")
}
}

0 comments on commit 8b56a74

Please sign in to comment.