Skip to content

Commit 5b58080

Browse files
committed
mv tests/conftest.py crystal_toolkit/apps/examples/tests/typing.py
1 parent f5fe9b2 commit 5b58080

File tree

2 files changed

+41
-21
lines changed

2 files changed

+41
-21
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
from __future__ import annotations
2+
3+
from typing import Protocol
4+
5+
import dash
6+
7+
8+
class DashDuo(Protocol):
9+
"The dash_duo pytest fixture lives in dash.testing.plugin.dash_duo."
10+
11+
def start_server(self, start_server) -> None:
12+
...
13+
14+
def find_element(self, selector: str) -> dash.development.base_component.Component:
15+
...
16+
17+
def wait_for_text_to_equal(
18+
self, selector: str, text: str, timeout: int = None
19+
) -> None:
20+
...
21+
22+
def get_logs(self) -> list[str]:
23+
...
24+
25+
def clear_storage(self) -> None:
26+
...
27+
28+
def percy_snapshot(self, name: str, wait_for_callbacks: bool = False) -> None:
29+
...
30+
31+
def multiple_click(self, selector: str, clicks: int) -> None:
32+
...
33+
34+
def wait_for_element(self, selector: str, timeout: int = None) -> None:
35+
...
36+
37+
def take_snapshot(self, name: str) -> None:
38+
...
39+
40+
def wait_for_page(self, url: str = None, timeout: int = 10) -> None:
41+
...

tests/conftest.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)