import pytest
from app.gui.model import Model
from app.rmbot.bot import FR_Operation
from app.rmbot import config


@pytest.fixture
def rmbot():
    return FR_Operation()


@pytest.fixture
def input_model():
    return Model()


def test_scrape_report(rmbot, input_model):
    rmbot.driver.get(config.FINAL_REPORT_OFFLINE2)
    report_params = rmbot.scrape_report()
    input_model.compile_report(report_params=report_params)
    print(input_model.report)
    assert False
