Automattic / wp-e2e-tests

Automated end-to-end tests for WordPress.com

Home Page:https://github.com/Automattic/wp-calypso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix TypeError: Cannot read property 'then' of undefined' in Signup spec

brbrr opened this issue · comments

There is a TypeError in after hook in "Sign up for a domain only purchase coming in from wordpress.com/domains in EUR currency" test (https://github.com/Automattic/wp-e2e-tests/blob/master/specs/wp-signup-spec.js#L603)

It looks like it comes from async / await changes, and exactly from SidebarComponent#selectSettings method, which isn't return thanble for success.

@Stojdza would you mind taking a look at this?

This should be fine now.