"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const puppeteer_selector_mapping_1 = require("./puppeteer-selector-mapping");
const assert_1 = require("assert");
describe('Selector extraction from puppeteer', () => {
    it('extracts selectors from click', () => {
        assert_1.strictEqual(puppeteer_selector_mapping_1.extractPuppeteerSelector('click', ['foo']), 'foo');
    });
    it('extracts selectors from tap', () => {
        assert_1.strictEqual(puppeteer_selector_mapping_1.extractPuppeteerSelector('tap', ['foo']), 'foo');
    });
    it('does not extract selectors from goto', () => {
        assert_1.strictEqual(puppeteer_selector_mapping_1.extractPuppeteerSelector('goto', ['foo']), undefined);
    });
});
