Skip to content

Commit

Permalink
Debugging different failed test #3315
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Sep 1, 2024
1 parent f403d0b commit c4b8aa7
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package au.org.ala.fieldcapture

import groovy.util.logging.Slf4j
import pages.Organisation
import spock.lang.Stepwise

@Stepwise
@Slf4j
class OrganisationDocumentsSpec extends StubbedCasSpec {
def setup() {
useDataSet('dataset_crossSite')
Expand Down Expand Up @@ -38,6 +40,11 @@ class OrganisationDocumentsSpec extends StubbedCasSpec {
//dialog.saveButton.displayed
dialog.saveEnabled()
}
def logEntries = driver.manage().logs().get("browser").getAll()
logEntries.each {
println it
log.error(it.toJson().toString())
}

dialog.save()
waitFor 30, {
Expand Down

0 comments on commit c4b8aa7

Please sign in to comment.