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

mozilla / blurts-server / #12632

pending completion
#12632

push

circleci

web-flow
Merge pull request #2854 from mozilla/MNTOR-741

MNTOR-741

282 of 1416 branches covered (19.92%)

Branch coverage included in aggregate %.

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

959 of 3912 relevant lines covered (24.51%)

2.04 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
    ])
33
  }
34

35
  async goToSignIn () {
36
    this.signInButton.click()
×
37
  }
38

39
  async openFirefoxAppsServices () {
40
    await this.firefoxAppsServices.click()
×
41
  }
42

43
  async clickFirefoxLogo () {
44
    await this.firefoxLogo.click()
×
45
  }
46
}
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