waiting strategies
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- testing-qa
Research direction
The issue names no repository files or tests. Start with the linked Serenity BDD waiting-strategy documentation and compare its Target and action examples with ScreenPy's proposed Target and Click API. Define the supported waiting strategies, expected conditions, and acceptance criteria before implementation.
Written by the indexing model from the issue text.
Description
I have been reviewing the serenity BDD repos again and looking at their implementation of Targets; specifically how wait strategies are incorporated.
I'm pondering if we want to attempt incorporating a similar strategy in screenpy whereby Target actions have the ability to control waiting strategies which include expected conditions. They also allow actions to control waiting strategies as well.
Thier example:
dina.attemptsTo(Click.on(INVISIBLE_BUTTON.waitingForNoMoreThan(Duration.ofSeconds(3))));
dina.attemptsTo(Click.on("#some-button").afterWaitingUntilPresent());
I can envision being able to do the following.
actor.will(Click(INVISIBLE_BUTTON.after_enabled()).waiting_for(5).seconds())
- Dominant language
- Python
- Stars
- 7
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ScreenPyHQ/screenpy_selenium
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Clear vs ClearInput Open
Difficulty 5/5 Over a week Newbie friendliness 30/100
ScreenPyHQ/screenpy_selenium#66 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
ScreenPyHQ/screenpy_selenium#65 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
ScreenPyHQ/screenpy_selenium#63 · 1 comment ·
All issues in ScreenPyHQ/screenpy_selenium
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3276 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#759 ·