mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
* 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>
26 lines
662 B
Python
Executable file
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()
|