<commit_before>//
//  CriticalMapsUITests.swift
//  CriticalMapsUITests
//
//  Created by <NAME> on 06.10.19.
//  Copyright © 2019 Pokus Labs. All rights reserved.
//

import XCTest

class CriticalMapsUITests: XCTestCase {

    override func setUp() {
        super.setUp()
        continueAfterFailure = false

        let app = XCUIApplication()
        setupSnapshot(app, waitForAnimations: false)
        app.launch()
    }

    func testScreenshots() {
        let app = XCUIApplication()
        snapshot("01_map")

        let closeButton = app.navigationBars.buttons.element(boundBy: 0).firstMatch
        let backButton = closeButton<commit_msg>Add InterruptionMonitor to allow Location Permissions<commit_after>//
//  CriticalMapsUITests.swift
//  CriticalMapsUITests
//
//  Created by <NAME> on 06.10.19.
//  Copyright © 2019 Pokus Labs. All rights reserved.
//

import XCTest

class CriticalMapsUITests: XCTestCase {

    override func setUp() {
        super.setUp()
        continueAfterFailure = false

        let app = XCUIApplication()
        setupSnapshot(app, waitForAnimations: false)
        app.launch()

        addUIInterruptionMonitor(withDescription: "Allow location permissions") { alert in
            alert.buttons["Allow While Using App"].tap()
            return true
        }
        app.tap()
    }

    func testScreenshots() {
        let app = XCUIApplication()
        snapshot("01_map")

        let closeButton = app.navigationBars.buttons.element(boundBy: 0).firstMatch
        let backButton = closeButton
{'fraction_non_alphanumeric': 0.09554551323434474, 'fraction_numerical': 0.016785022595222725, 'mean_word_length': 2.5632183908045976, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1075294', 'n_tokens_mistral': 493, 'n_tokens_neox': 441, 'n_words': 111}