<commit_before>/* global forge, module, asyncTest, ok, start, askQuestion, equal */

module("forge.tabs");

asyncTest("Open tab with website", 1, function() {<commit_msg>:white_check_mark: Added interactive test case for downloads<commit_after>/* global forge, module, asyncTest, ok, start, askQuestion, equal */

module("forge.tabs");

asyncTest("Open tab with downloads", 1, function() {
    forge.tabs.open("https://req-playground-ahghagcnmb.now.sh/downloads", function () {
        askQuestion("Have you been able to open the files listed on the download page?", {
            Yes: function () {
                ok(true, "Success");
                start();
            },
            No: function () {
                ok(false, "User claims failure");
                start();
            }
        });
    }, function (e) {
        ok(false, "API call failure: "+e.message);
        start();
    });
});

asyncTest("Open tab with website", 1, function() {
{'fraction_non_alphanumeric': 0.14776274713839752, 'fraction_numerical': 0.003121748178980229, 'mean_word_length': 2.510948905109489, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3598050', 'n_tokens_mistral': 276, 'n_tokens_neox': 261, 'n_words': 79}