<commit_before>/*globals should:true */

"use strict";
var env = require('../../../helpers/env')
  , setup = require("../../common/setup-base")
  , webviewHelper = require("../../../helpers/webview")
  , loadWebView = webviewHelper.loadWebView
  , spinTitle = webviewHelper.spinTitle;

describe("safari - windows-frame -", function () {

  describe('windows and frames (' + env.DEVICE + ')', function () {
    var driver;
    setup(this, {browserName: 'safari'}).then(function (d) { driver = d; });

    it('getting current context should work initially', function (done) {
      driver
        .currentContext().should.eventually.be.fulfilled
        .nodeify(done);
    });
    describe('within webview', function () {
      beforeEach(function (done) {
        loadWebView("safari", driver).nodeify(done);<commit_msg>window tests need nativeWebTap<commit_after>"use strict";
var env = require('../../../helpers/env')
  , setup = require("../../common/setup-base")
  , webviewHelper = require("../../../helpers/webview")
  , loadWebView = webviewHelper.loadWebView
  , spinTitle = webviewHelper.spinTitle;

describe("safari - windows-frame -", function () {

  describe('windows and frames (' + env.DEVICE + ')', function () {
    var driver;
    var desired = {
      browserName: 'safari',
      nativeWebTap: true
    };
    setup(this, desired).then(function (d) { driver = d; });

    it('getting current context should work initially', function (done) {
      driver
        .currentContext().should.eventually.be.fulfilled
        .nodeify(done);
    });
    describe('within webview', function () {
      beforeEach(function (done) {
        loadWebView("safari", driver).nodeify(done);
{'fraction_non_alphanumeric': 0.17275943396226415, 'fraction_numerical': 0.0, 'mean_word_length': 3.1798029556650245, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4620547', 'n_tokens_mistral': 506, 'n_tokens_neox': 499, 'n_words': 103}