зеркало из https://github.com/mozilla/fxa.git
fix(tests): wait for 123done page after successful subscription
This patch changes what the `subscribeToTestProduct` functional test helper wait for after submitting the payment form. Previously it waited for the subscription ready successful message. However, that produced intermittent failures in CI. Now it waits for the final redirect to the product page. Fixes #2031
This commit is contained in:
Родитель
a58d349d47
Коммит
571bf3061c
|
@ -2392,7 +2392,7 @@ const subscribeToTestProduct = thenify(function() {
|
|||
.then(type('input[name=zip]', '12345'))
|
||||
.then(click('input[type=checkbox]'))
|
||||
.then(click('button[name=submit]'))
|
||||
.then(testElementExists('.subscription-ready'));
|
||||
.then(testElementTextEquals('#splash header h1', '123done'));
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче