Merge branch 'main' of github.com:appwrite/console into feat-credit-flow

This commit is contained in:
Arman
2024-05-31 16:03:44 +02:00
6 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
@@ -22,7 +22,8 @@
label="Entrypoint"
id="entrypoint"
placeholder="Entrypoint"
bind:value={$createFunction.entrypoint} />
bind:value={$createFunction.entrypoint}
required />
<Collapsible>
<CollapsibleItem>
<svelte:fragment slot="title">Build commands</svelte:fragment>
@@ -75,7 +75,8 @@
label="Entrypoint"
id="entrypoint"
placeholder="Entrypoint"
bind:value={entrypoint} />
bind:value={entrypoint}
required />
{#if $func.version !== 'v3'}
<Alert type="info">
<svelte:fragment slot="title">
@@ -33,4 +33,6 @@
</DropList>
{:else if deployment.type === 'manual'}
<span class="icon-code" aria-hidden="true" /> <span>Manual</span>
{:else if deployment.type === 'cli'}
<span class="icon-terminal" aria-hidden="true" /> <span>CLI</span>
{/if}
+1 -1
View File
@@ -10,7 +10,7 @@ test('upgrade - free tier', async ({ page }) => {
await page.getByRole('link', { name: 'upgrade' }).click();
await page.waitForURL('/console/organization-**/change-plan');
await page.locator('input[value="tier-1"]').click();
await page.getByRole('button', { name: ' Add', exact: true }).click();
await page.getByRole('button', { name: 'add' }).first().click();
await enterCreditCard(page);
// skip members
await page.getByRole('button', { name: 'change plan' }).click();
+1 -1
View File
@@ -24,7 +24,7 @@ export async function createProProject(page: Page): Promise<Metadata> {
await page.locator('id=plan').selectOption('tier-1');
await page.getByRole('button', { name: 'get started' }).click();
await page.waitForURL('/console/create-organization**');
await page.getByRole('button', { name: 'Add', exact: true }).click();
await page.getByRole('button', { name: 'Add' }).first().click();
await enterCreditCard(page);
// skip members
await page.getByRole('button', { name: 'create organization' }).click();