Skip to content

Commit

Permalink
JPERF-1351: Prepare to stop waiting for dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
dagguh committed Sep 11, 2023
1 parent cda7ea9 commit f8e6374
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import com.atlassian.performance.tools.jiraactions.api.LOG_IN
import com.atlassian.performance.tools.jiraactions.api.WebJira
import com.atlassian.performance.tools.jiraactions.api.measure.ActionMeter
import com.atlassian.performance.tools.jiraactions.api.memories.UserMemory
import com.atlassian.performance.tools.jiraactions.api.page.NotificationPopUps

class LogInAction(
private val jira: WebJira,
Expand All @@ -14,14 +15,13 @@ class LogInAction(
val user = userMemory.recall()!!
meter.measure(LOG_IN) {
val dashboardPage = jira.goToLogin().logIn(user)
val dashboard = dashboardPage.waitForDashboard()
dashboard.getPopUps()
dashboardPage.waitForDashboard()
NotificationPopUps(jira.driver)
.dismissHealthCheckNotifications()
.disableNpsFeedback()
.dismissAuiFlags()
.dismissFindYourWorkFaster()
.waitUntilAuiFlagsAreGone()
dashboard
}
}
}

0 comments on commit f8e6374

Please sign in to comment.