Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context browser symbols in not getting displayed in Serenity Reports v3.4.2 #2979

Closed
sandeepraina-lenze opened this issue Nov 25, 2022 · 1 comment

Comments

@sandeepraina-lenze
Copy link

Hello,

I am not able to see the Context browser symbols in Serenity Reports. The serenity version that I am using is v3.4.2 and below listed is my configuration

environments {
    chrome {
        webdriver {
          driver = "chrome"
          autodownload = true

          timeouts {
            script = 30000
            pageLoad = 300000
            implicit = 15000
          }

          capabilities {
            browserName = "chrome"
            acceptInsecureCerts = true

            "goog:chromeOptions" {
              args = ["start-maximized", "test-type", "no-sandbox", "ignore-certificate-errors", "disable-popup-blocking", "disable-default-apps", "disable-extensions-file-access-check", "incognito", "disable-infobars", "disable-gpu", "user-agent=Apache", "disable-dev-shm-usage", "window-size=1920,1080", "enable-features=NetworkService"]
            }
          }
        }
    }

    firefox {
        webdriver {
          driver = "firefox"
          autodownload = true

          timeouts {
            script = 30000
            pageLoad = 300000
            implicit = 15000
          }

          capabilities {
            browserName = "firefox"
            acceptInsecureCerts = true

            "moz:firefoxOptions" {
              args = ["-private"],
              prefs {
                "browser.tabs.documentchannel.ppdc": false
                "browser.tab.animated": false
                "browser.panorama.animate_zoom": false
                "network.dns.disablePrefetch": true
                "network.prefetch-next": false
                "network.http.speculative-parallel-limit": 0
                "webgl.disabled": true
                "network.http.pipelining": true
                "network.http.proxy.pipelining": true
                "network.http.pipelining.maxrequests": 8
                "network.http.max-connections": 96
                "network.http.max-connections-per-server": 32
                "network.dns.disableIPv6": false
                "plugin.expose_full_path": true
                "nglayout.initialpaint.delay": 0
              }
            }
          }
        }
    }
}

serenity {
  take.screenshots = FOR_EACH_ACTION
#   linked.tags = "issue"

  add.context.tag = true
  display.context = true

  project.name = "${reporttitle}"
  compress.filenames = false

#   screenshooter = shutterbug1x

  browser {
    maximized = true
  }

  report {
#     tagtypes="capability,feature"

    show.releases = true
    show.manual.tests = true
    hide.empty.requirements = true
    exclude.tags="startrecording,staging,reset,stoprecording,notdeployed,debug,singlebrowser"
  }

  reports.show.step.details = true
}

#
# Report config
#
environments {
  with_screenshots {
    serenity {
      take.screenshots = BEFORE_AND_AFTER_EACH_STEP
    }
  }
}

shutterbug {
    capturestrategy = FULL
    betweenScrollTimeout = 100
    useDevicePixelRatio = true
}

Please let me know am I missing anything as I tried every possible thing by referring the sample projects and configuration available at Serenity-BDD github

@sandeepraina-lenze
Copy link
Author

I can confirm that latest Serenity version 4.0.29 works perfectly fine and resolves the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant