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

Attempt to stabilize amp-list integration tests #20063

Merged
merged 3 commits into from Dec 26, 2018

Conversation

cathyxz
Copy link
Contributor

@cathyxz cathyxz commented Dec 22, 2018

  1. Add a waitForElementLayout call before clicking buttons to change amp-list layout to CONTAINER.
  2. Use waitForElementLayout instead of waiting for children to equal 3.

So most of these tests have been finishing on my laptop within 0.1 seconds for Chrome, Safari, and FF. I'm not sure I understand why the timeouts have to be so high...

@@ -30,15 +31,30 @@ describe('amp-list (integration)', function() {
'</amp-list>`;

const basicTests = env => {

let browser, win, doc;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one let per line

@cathyxz cathyxz merged commit 6a3e54b into ampproject:master Dec 26, 2018
@cathyxz cathyxz deleted the test/list branch December 26, 2018 19:13
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
* use waitForLayout before clicking things

* Add build test

* One let per line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants