Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent AePageObjects::Collection#size from waiting #207

Merged
merged 1 commit into from
Sep 27, 2018

Conversation

tlconnor
Copy link
Contributor

@tlconnor tlconnor commented Sep 26, 2018

An issue has been found where AePageObjects::Collection#size waits for up to Capybara.default_wait_time. If #size is used within an AePageObjects#wait_until block it is possible for the block to fail after only 1 iteration.

The solution is to prevent Capybara from waiting within #size calls.

@tlconnor tlconnor changed the title Prevent AePageObjects::Collection.size from waiting Prevent AePageObjects::Collection#size from waiting Sep 26, 2018
@tlconnor tlconnor force-pushed the fixCollectionSizeWait branch from e1f728b to 96eb3b6 Compare September 27, 2018 04:31
@spjsschl spjsschl merged commit 077b4ea into master Sep 27, 2018
@spjsschl spjsschl deleted the fixCollectionSizeWait branch September 27, 2018 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants