Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
adding code coverage, fix failed test, excluse english test from Klar (
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Jun Park authored Jun 1, 2017
1 parent 80d0321 commit 757d1bc
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
buildConfiguration = "FocusEnterprise"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -42,6 +43,16 @@
referenceType = "1">
</LocationScenarioReference>
</TestableReference>
<TestableReference
skipped = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E44A34661E0A18C100BFD777"
BuildableName = "SnapshotTests.xctest"
BlueprintName = "SnapshotTests"
ReferencedContainer = "container:Blockzilla.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
buildConfiguration = "KlarEnterprise"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -37,6 +38,11 @@
BlueprintName = "XCUITest"
ReferencedContainer = "container:Blockzilla.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "SettingAppearanceTest">
</Test>
</SkippedTests>
</TestableReference>
</Testables>
<MacroExpansion>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![codecov](https://codecov.io/gh/mozilla-mobile/focus/branch/master/graph/badge.svg)](https://codecov.io/gh/mozilla-mobile/focus)

# Firefox Focus for iOS

_Browse like no one’s watching. The new Firefox Focus automatically blocks a wide range of online trackers — from the moment you launch it to the second you leave it. Easily erase your history, passwords and cookies, so you won’t get followed by things like unwanted ads._
Expand Down
2 changes: 1 addition & 1 deletion XCUITest/SettingAppearanceTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SettingAppearanceTest: BaseTestCase {

// Check Help page, wait until the webpage is shown
tablesQuery.staticTexts["Help"].tap()
waitforExistence(element: app.staticTexts["What is Firefox Focus for iOS?"])
waitforExistence(element: app.staticTexts["What is Firefox Focus?"])
let firefoxFocusAboutcontentviewNavigationBar = app.navigationBars["Firefox_Focus.AboutContentView"]
firefoxFocusAboutcontentviewNavigationBar.buttons["About"].tap()

Expand Down
3 changes: 3 additions & 0 deletions buddybuild_postbuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

#!/usr/bin/env bash
bash <(curl -s https://codecov.io/bash)
7 changes: 7 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
codecov:
max_report_age: off

ignore:
- "./Shared"

comment: false

0 comments on commit 757d1bc

Please sign in to comment.