Skip to content

Prevent AePageObjects::Collection#size from waiting#207

Merged
spjsschl merged 1 commit intomasterfrom
fixCollectionSizeWait
Sep 27, 2018
Merged

Prevent AePageObjects::Collection#size from waiting#207
spjsschl merged 1 commit intomasterfrom
fixCollectionSizeWait

Conversation

@tlconnor
Copy link
Copy Markdown

@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