• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / blurts-server / #13199

pending completion
#13199

push

circleci

Vinnl
Allow scanning for exposures without logging in

Co-authored-by: Robert Helmer <rhelmer@mozilla.com>

282 of 1653 branches covered (17.06%)

Branch coverage included in aggregate %.

107 of 107 new or added lines in 9 files covered. (100.0%)

959 of 4482 relevant lines covered (21.4%)

1.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/e2e/pages/landingPage.js
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4

5
export class LandingPage {
6
  constructor (page) {
7
    this.page = page
×
8
    this.signUpButton = page.getByRole('link', { name: 'Get Started' })
×
9
    this.signInButton = page.getByRole('link', { name: 'Sign In' })
×
10
    this.firefoxLogo = page.locator('//img[starts-with(@class, "monitor-logo")]')
×
11
    this.whyUseMonitorSec = page.locator('.why-use-monitor')
×
12
    this.howItWorksSec = page.locator('.how-it-works')
×
13
    this.questionsAboutSec = page.locator('.top-questions-about-monitor')
×
14
    this.seeIfDataBreachSec = page.locator('.see-if-data-breach')
×
15
  }
16

17
  async open () {
18
    await this.page.goto(process.env.E2E_TEST_BASE_URL)
×
19
  }
20

21
  async goHome () {
22
    await Promise.all([
×
23
      this.page.waitForNavigation(),
24
      this.homeButton.click()
25
    ])
26
  }
27

28
  async goToSignUp () {
29
    await Promise.all([
×
30
      this.page.waitForNavigation(),
31
      this.signUpButton.click(),
32
      this.page.waitForURL('**/oauth/**')
33
    ])
34
  }
35

36
  async goToSignIn () {
37
    this.signInButton.click()
×
38
    await this.page.waitForURL('**/oauth/**')
×
39
  }
40

41
  async openFirefoxAppsServices () {
42
    await this.firefoxAppsServices.click()
×
43
  }
44

45
  async clickFirefoxLogo () {
46
    await this.firefoxLogo.click()
×
47
  }
48
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc