specter-desktop/utils/cypress_basics.py
yogendra sankhla a3ce7d3186
Feature: Rescan button for empty wallet (#1779)
* Prompting rescan hint within tx-table when no transactions appear
* Animation of rescan part after being forwarded
* Basics option added in test-cypress for faster development on cypress tests on slower machines
* addWallet command added in Cypress
* Page limit in addresses view fixed

Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
2022-07-19 09:49:32 +02:00

26 lines
662 B
Python
Executable file

#!/usr/bin/env python3
"""
Returns a string of a list of basic test files (such as configuring the nodes) on which other more specialised tests depend on.
This string is picked up by a subprocess in test-cypress.sh
"""
import json
import click
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
@click.command()
def execute():
with open("cypress_basics.json") as json_file:
data = json.load(json_file)
spec_run_list = []
for file in data["testFiles"]:
spec_run_list.append("./cypress/integration/" + file)
click.echo(",".join(spec_run_list))
if __name__ == "__main__":
execute()