mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed Playwright tests for new Stripe connect flow
no issue
This commit is contained in:
parent
8e66edee2b
commit
aea127b17f
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<header class="modal-header" data-test-modal="webhook-form" {{will-destroy this.reset}}>
|
||||
<h1 data-test-text="title">Connect with Stripe</h1>
|
||||
</header>
|
||||
<button class="close" href title="Close" type="button" {{on "click" this.closeModal}} {{on "mouseDown" (optional this.noop)}}>
|
||||
<button class="close" href title="Close" type="button" {{on "click" this.closeModal}} {{on "mouseDown" (optional this.noop)}} data-test-button="close-stripe-connect">
|
||||
{{svg-jar "close"}}
|
||||
</button>
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ const setupStripe = async (page, stripConnectIntegrationToken) => {
|
|||
}
|
||||
await page.getByPlaceholder('Paste your secure key here').first().fill(stripConnectIntegrationToken);
|
||||
await page.getByRole('button', {name: 'Save Stripe settings'}).click();
|
||||
await page.getByRole('button', {name: 'OK'}).click();
|
||||
await page.locator('[data-test-button="close-stripe-connect"]').click();
|
||||
};
|
||||
|
||||
// Setup Mailgun with fake data, for Ghost Admin to allow bulk sending
|
||||
|
|
Loading…
Add table
Reference in a new issue