Problem: Submit used fixed `wait_for_timeout` delays throughout, and the
practice fallback check only matched one dialog variant, causing "contest
not available for submission" to be silently swallowed as success.
Solution: Replace the initial 2s page-load sleep with
`wait_for_selector('[aria-haspopup="listbox"]')`, drop unnecessary sleeps
around the Ace editor click and submit button, and wait for the result
dialog with `wait_for_selector` instead of a fixed 3s sleep. Extend the
fallback check to also match "not available for submission".
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| atcoder.py | ||
| base.py | ||
| codechef.py | ||
| codeforces.py | ||
| cses.py | ||
| kattis.py | ||
| language_ids.py | ||
| models.py | ||
| timeouts.py | ||
| usaco.py | ||