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

mozilla / blurts-server / 8f1d960f-a1b2-42b3-89d4-5e0b2b4f8e83

pending completion
8f1d960f-a1b2-42b3-89d4-5e0b2b4f8e83

Pull #2854

circleci

Joey Zhou
run tests
Pull Request #2854: MNTOR-741

282 of 1394 branches covered (20.23%)

Branch coverage included in aggregate %.

91 of 91 new or added lines in 7 files covered. (100.0%)

959 of 3823 relevant lines covered (25.09%)

4.08 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
  }
12

13
  async open () {
14
    await this.page.goto(process.env.E2E_TEST_BASE_URL)
×
15
  }
16

17
  async goHome () {
18
    await Promise.all([
×
19
      this.page.waitForNavigation(),
20
      this.homeButton.click()
21
    ])
22
  }
23

24
  async goToSignUp () {
25
    await Promise.all([
×
26
      this.page.waitForNavigation(),
27
      this.signUpButton.click()
28
    ])
29
  }
30

31
  async goToSignIn () {
32
    await Promise.all([
×
33
      this.page.waitForNavigation(),
34
      this.signInButton.click()
35
    ])
36
  }
37

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

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